freebsd-skq/sbin/fsck_ffs
mckusick ae02668034 MFC of 263062:
Avoid segment fault when attempting to clean up cylinder group
buffer cache.

PR:             187221
Submitted by:   Petr Lampa <lampa@fit.vutbr.cz>
Obtained from:  Petr Lampa <lampa@fit.vutbr.cz>
MFC after:      1 week

MFC of 262488:

Arguments for malloc and calloc should be size_t, not int.
Use proper bounds check when trying to free cached memory.

Spotted by: Xin Li
Tested by:  Dmitry Sivachenko
MFC after:  2 weeks
2014-03-22 11:43:35 +00:00
..
dir.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
ea.c MFC r256448, r257029; 2013-12-11 19:25:17 +00:00
fsck_ffs.8 MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
fsck.h MFC of 263062: 2014-03-22 11:43:35 +00:00
fsutil.c MFC of 263062: 2014-03-22 11:43:35 +00:00
gjournal.c Fix fsck_ffs build with a 64-bit ino_t. 2012-09-27 23:30:58 +00:00
globs.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
inode.c Revert 248634 and 248643 (e.g., restoring 248625 and 248639). 2013-03-23 20:00:02 +00:00
main.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
Makefile MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
pass1.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
pass1b.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
pass2.c Fix fsck_ffs build with a 64-bit ino_t. 2012-09-27 23:30:58 +00:00
pass3.c
pass4.c Fix fsck_ffs build with a 64-bit ino_t. 2012-09-27 23:30:58 +00:00
pass5.c Style nit. 2013-04-29 20:14:11 +00:00
setup.c Revert 248634 and 248643 (e.g., restoring 248625 and 248639). 2013-03-23 20:00:02 +00:00
suj.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
utilities.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00