[PATCH 7/9] menu: fix memory corruption

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Aug 23 07:40:15 EDT 2010

On 08:24 Mon 23 Aug     , Sascha Hauer wrote:
> menu_free and menu_entry_free are called on not fully initialized
> entries, so we have to check for validity before freeing the
> members.
I disagree free is suposed to not fail evenif we pass a NULL pointer

Best Regards,

More information about the barebox mailing list