Use after free v2

Rempel, Cynthia cynt6007 at vandals.uidaho.edu
Fri Aug 23 04:13:54 UTC 2013


>________________________________________
>From: Chris Johns [chrisj at rtems.org]
>Sent: Thursday, August 22, 2013 8:43 PM
>To: Rempel, Cynthia
>Cc: rtems-devel at rtems.org
>Subject: Re: Use after free
>
>Rempel, Cynthia wrote:
>>
>> Just trying to submit a patch for an issue identified by coverity...
>>
>
>Great.
>
>Why not just set mt_entry to NULL after the free ?
Made the requested change...
Thanks for the review :)
>Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use_after_free.patch
Type: text/x-patch
Size: 670 bytes
Desc: use_after_free.patch
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130823/91a350f9/attachment.bin>


More information about the devel mailing list