e2fsprogs/misc
Dmitry V. Levin d9039ae0ff Check fgets(3) return value
When fgets() function fails, contents of the buffer is undefined.  That
is, fgets() return value needs to be checked, to avoid undefined behavior.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2007-10-29 10:59:01 -04:00
..
Makefile.in Merge branch 'maint' 2007-08-03 23:21:34 -04:00
badblocks.8.in Document the -X flag in the badblocks man page 2007-04-02 18:42:59 -04:00
badblocks.c badblocks: Factor out calls to strtoul to a helper function 2007-10-22 18:05:32 -04:00
base_device.c Minor bug fixes in the blkid library. 2003-03-01 19:29:01 -05:00
base_device.tst ChangeLog, Makefile.in, base_device.c, base_device.tst, fsck.c, fsck.h: 2000-12-03 06:33:56 +00:00
blkid.8.in Add -g option to the blkid program to garbage collect the blkid.tab file 2007-05-18 00:16:02 -04:00
blkid.c Add -g option to the blkid program to garbage collect the blkid.tab file 2007-05-18 00:16:02 -04:00
chattr.1.in chattr: provide an exit code in case of failure and add -f flag 2007-10-22 08:52:40 -04:00
chattr.c chattr: provide an exit code in case of failure and add -f flag 2007-10-22 08:52:40 -04:00
dumpe2fs.8.in Fix spelling mistakes in man pages. (Addresses Debian Bugs: #304591, 2005-04-16 14:05:09 -04:00
dumpe2fs.c Clean up applications to not use EXT2FS_ENABLE_SWAPFS or EXT2_FLAG_SWAP_BYTES 2007-08-11 02:57:31 -04:00
e2image.8.in Fix minor typos in tune2fs's man page pointed out by Benno Schulenberg. 2005-06-26 22:16:21 -04:00
e2image.c e2image: Fix potential off-by-one fs_device_name buffer overflow 2007-10-29 10:59:01 -04:00
e2initrd_helper.c Use the newer add/remove_error_table com_err interfaces 2006-12-26 03:38:07 -05:00
e2label.8.in Adjust description line so that apropos "ext2" or "ext3" will 2003-08-24 17:56:41 -04:00
e2label.c Many files: 2000-04-03 16:22:35 +00:00
filefrag.8.in Initial checkin of the filefrag program, which reports on how 2003-12-17 10:13:41 -05:00
filefrag.c Fix gcc -Wall warnings, especially on 64-bit systems 2007-05-25 11:18:11 -04:00
findfs.8.in Update version string for WIP release. 2002-08-18 03:38:15 -04:00
findsuper.c Make the findsuper program more powerful 2006-08-06 00:56:37 -04:00
fsck.8.in Add missing fsck.* programs to SEE ALSO section of fsck's man page. 2005-11-12 23:41:08 -05:00
fsck.c fsck: Ignore /etc/fstab entries for bind mounts 2007-09-20 15:06:35 -04:00
fsck.h Fix gcc -Wall nitpicks 2003-12-07 01:28:50 -05:00
jfs_user.h Move linux/jbd.h to ext2fs/kernel-jbd.h, to avoid using the 2001-12-23 19:33:51 -05:00
logsave.8.in * Add support for the -a and -s options to logsave. 2003-04-16 14:05:06 -04:00
logsave.c logsave.c (main): Use setsid() to avoid getting killed by init 2004-03-04 20:30:16 -05:00
lsattr.1.in chattr.1.in: Clarify man page. 2004-01-31 20:27:36 -05:00
lsattr.c Remove double "//" when listing attributes in the root directory or 2004-09-24 12:16:17 -04:00
mke2fs.8.in Require mke2fs -F -F for really dangerous operations 2006-08-05 19:05:53 -04:00
mke2fs.c Merge branch 'maint' into next 2007-10-15 16:24:56 -04:00
mke2fs.conf Create new filesystems with hash trees and on-line resizing as the default. 2006-05-22 22:15:18 -04:00
mke2fs.conf.5.in Allow default inode_size to be specified in mke2fs.conf and document mke2fs -I 2006-07-15 22:08:20 -04:00
mklost+found.8.in chattr.1.in: Clarify man page. 2004-01-31 20:27:36 -05:00
mklost+found.c mklost+found: Create full-sized a lost+found directory with 4k+ blocksizes 2006-03-23 22:37:02 -05:00
nls-enable.h Remove warning message about using NLS. 2003-12-07 12:17:27 -05:00
partinfo.c Fix e2fsprogs messages for grammar and consistency, based on suggestions 2005-06-20 08:35:27 -04:00
profile-to-c.awk Compile the default mke2fs.conf into mke2fs program 2007-07-04 14:27:30 -04:00
tune2fs.8.in Update tune2fs man page to include more discussion of reserved blocks 2007-07-11 23:20:17 -04:00
tune2fs.c Don't write changes to the backup superblocks by default 2007-06-18 18:26:50 -04:00
util.c Check fgets(3) return value 2007-10-29 10:59:01 -04:00
util.h Fix gcc -Wall warnings 2007-08-03 18:56:01 -04:00
uuidgen.1.in Fix typo and clarify the uuidgen man page 2007-08-20 21:46:19 -04:00
uuidgen.c Declare getopt() according to POSIX 2001 if getopt.h not found. 2006-05-30 16:27:45 +02:00