]> git.dujemihanovic.xyz Git - u-boot.git/commit
CVE-2019-13106: ext4: fix out-of-bounds memset
authorPaul Emge <paulemge@forallsecure.com>
Mon, 8 Jul 2019 23:37:07 +0000 (16:37 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jul 2019 15:31:29 +0000 (11:31 -0400)
commite205896c5383c938274262524adceb2775fb03ba
treedaaeb1cc7f40b50354816318a46735a0d6160fc4
parent084be43b751df7133c94c6bf556bc61bd6297406
CVE-2019-13106: ext4: fix out-of-bounds memset

In ext4fs_read_file in ext4fs.c, a memset can overwrite the bounds of
the destination memory region. This patch adds a check to disallow
this.

Signed-off-by: Paul Emge <paulemge@forallsecure.com>
fs/ext4/ext4fs.c