aboutsummaryrefslogtreecommitdiff
path: root/tools/mkimage.c
diff options
context:
space:
mode:
authorMikhail Ilin <ilin.mikhail.ol@gmail.com>2022-11-22 11:00:55 +0300
committerTom Rini <trini@konsulko.com>2022-12-08 09:28:31 -0500
commit04e6332ec0b139a0b7452551455ae96428c7d1ef (patch)
tree99cd69b9375cfe7bc35a06ed23c83102b8ff603d /tools/mkimage.c
parent2d1b2ac13fe5be6aa149e7a8ab5b059f0ad05476 (diff)
fs: ext4: Fix free(NULL)
The 'depth_dirname', 'ptr', 'parent_inode' and 'first_inode' pointers may be null. Thus, it is necessary to check them before using free() to avoid free(NULL) cases. Fixes: 934b14f2bb30 ("ext4: free allocations by parse_path()") Signed-off-by: Mikhail Ilin <ilin.mikhail.ol@gmail.com>
Diffstat (limited to 'tools/mkimage.c')
0 files changed, 0 insertions, 0 deletions