Tag: d3533d72e7478a61a3e1936956fc825289a2acf4

ext4: Eliminate potential double free on error path

Author: Julia Lawall <julia@diku.dk> b_entry_name and buffer are initially NULL, are initialized within a loop to the result of calling kmalloc, and are freed at the bottom of this loop. The loop contains gotos to cleanup, which also frees b_entry_name and buffer. Some of these gotos are before the reinitializations of b_entry_name and buffer. To …

Continue reading