commit | 267ff15d446076b9274bc275cc1f61922bb5d198 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri Jun 22 21:57:40 2018 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Jun 22 21:57:40 2018 -0400 |
tree | d02c43bff475f63ecd587d3084c91c4df4bb1ec2 | |
parent | 32b8802aa5d867a0497cd6135c5f48039b0ba71c [diff] |
libext2fs: fix potential resource leak in ext2fs_file_write If EXT2_FLAG_SHARE_DUP is set, and ext2fs_bmap2() fails, it's possible that we will leak the allocated memory in new_block. Fixes-Coverity-Bug: 1437473 Signed-off-by: Theodore Ts'o <tytso@mit.edu>