Use after free v2

Rempel, Cynthia cynt6007 at vandals.uidaho.edu
Fri Aug 23 14:28:55 UTC 2013


Thanks!

________________________________________
From: rtems-devel-bounces at rtems.org [rtems-devel-bounces at rtems.org] on behalf of Sebastian Huber [sebastian.huber at embedded-brains.de]
Sent: Friday, August 23, 2013 1:09 AM
To: rtems-devel at rtems.org
Subject: Re: Use after free v2

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.
_______________________________________________
rtems-devel mailing list
rtems-devel at rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel




More information about the devel mailing list