Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
267ff15
)
libext2fs: fix potential resource leak in ext2fs_file_write
author
Theodore Ts'o
<tytso@mit.edu>
Sat, 23 Jun 2018 01:57:40 +0000
(21:57 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sat, 23 Jun 2018 01:57:40 +0000
(21:57 -0400)
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>
No differences found