]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r275645;
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 16 Dec 2014 18:45:31 +0000 (18:45 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 16 Dec 2014 18:45:31 +0000 (18:45 +0000)
commitabaa9beac8baa0804d0a91e43e88f05cd33bfa69
treee604c899ffc98dba8eb34506122541e04f3ae30b
parent91ee18a4fa73859827c1760a5f63bb109575b50d
MFC r275645;

ext2fs: Fix old out-of-bounds access.

Overrunning buffer pointed to by (caddr_t)&oip->i_db[0] of 48 bytes by
passing it to a function which accesses it at byte offset 59 using
argument 60UL.

The issue was inherited from an older FFS implementation and
fixed there with by merging UFS2 in r98542. We follow the
FFS fix.

CID: 1007665
Discussed with: bde

git-svn-id: svn://svn.freebsd.org/base/stable/10@275834 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/ext2fs/ext2_inode.c