#50 Fix a possible memory leak in e2initrd_helper.c:get_file().

open
nobody
None
5
2012-11-28
2010-04-23
No

In some cases, buf is allocated, but the pointer isn't copied into the ret_file structure. This patch frees buf unless it's actually used.

Discussion

  • Adam Buchbinder

    Adam Buchbinder - 2010-04-23

    I forgot to note--this bug was found with cppcheck.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks