]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r275645;
authorpfg <pfg@FreeBSD.org>
Tue, 16 Dec 2014 18:45:31 +0000 (18:45 +0000)
committerpfg <pfg@FreeBSD.org>
Tue, 16 Dec 2014 18:45:31 +0000 (18:45 +0000)
commit3933e2285af0f145c0ecd8d5dc73cc8cdb3f085a
treee604c899ffc98dba8eb34506122541e04f3ae30b
parent3e533b737944236ce879650c2623e342604193e0
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
sys/fs/ext2fs/ext2_inode.c