Use after free v2

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Aug 23 08:09:46 UTC 2013


Hello Cynthia,

I checked in a slightly different version since the call to free() was superfluous.

http://git.rtems.org/rtems/commit/?id=f4804efa50671ca5d9f141f99ca724ae04681269

On 2013-08-23 06:13, Rempel, Cynthia wrote:
>> ________________________________________
>> 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
>>
>>
>> _______________________________________________
>> rtems-devel mailing list
>> rtems-devel at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-devel


-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list