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 [chr...@rtems.org]
Sent: Thursday, August 22, 2013 8:43 PM
To: Rempel, Cynthia
Cc: rtems-devel@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@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.hu...@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@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to