Menu

#5 Access to freed variable

Unstable_(example)
closed
None
5
2014-02-01
2014-01-24
No

When I pull out the spacemouse, the read function tries to access the next device with dev->next but dev was freed before. Solution is to remember the pointer to the next device before trying to read data

1 Attachments

Discussion

  • John Tsiombikas

    John Tsiombikas - 2014-02-01

    Indeed! Thanks for the patch. Applied, svn rev 175.

     
  • John Tsiombikas

    John Tsiombikas - 2014-02-01
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB