util-linux/sys-utils
Ruediger Meier e230ae7b68 lib/path: fix crash, pathbuf overflow
Before:

$ lscpu -s "$(tr '\0' 'x' < /dev/zero | head -c 10000)"
Segmentation fault (core dumped)

After:

$ lscpu -s "$(tr '\0' 'x' < /dev/zero | head -c 10000)"
lscpu: invalid argument to --sysroot: File name too long

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2017-06-27 21:39:35 +02:00
..
.gitignore build-sys: support ./configure ADJTIME_PATH= 2014-06-19 10:30:56 +02:00
Makemodule.am build-sys: make chown usage more robust 2017-06-21 11:12:04 +02:00
blkdiscard.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
blkdiscard.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
blkzone.8 blkzone: add count option to bash-completion 2017-02-24 12:05:13 +01:00
blkzone.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
chcpu.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
chcpu.c misc: consolidate all --help option descriptions 2017-06-27 12:28:36 +02:00
chmem.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
chmem.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
ctrlaltdel.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ctrlaltdel.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
dmesg.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
dmesg.c misc: consolidate all --help option descriptions 2017-06-27 12:28:36 +02:00
eject.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
eject.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
fallocate.1 fallocate: Added posix_fallocate() support. 2017-01-31 12:51:28 +01:00
fallocate.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
flock.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
flock.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
fsfreeze.8 fsfreeze: move filesystem support info to manual page 2016-12-22 12:18:45 +01:00
fsfreeze.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
fstab.5 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
fstrim.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
fstrim.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
fstrim.service.in fstrim: add -v to the systemd service 2016-10-18 12:09:53 +02:00
fstrim.timer fstrim: systemd timer units should be WantedBy=timers.target 2016-01-12 10:30:36 +01:00
hwclock-cmos.c hwclock: remove dead cmos code 2017-03-31 10:04:53 -04:00
hwclock-rtc.c hwclock: fix whitespace in hwclock-rtc.c 2017-04-10 14:50:32 -04:00
hwclock.8.in hwclock: add --update-drift check 2017-06-20 19:56:39 -04:00
hwclock.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
hwclock.h hwclock: fix warning [-Winvalid-noreturn] 2017-06-14 11:48:22 +02:00
ipcmk.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ipcmk.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
ipcrm.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ipcrm.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
ipcs.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ipcs.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
ipcutils.c misc: Fix various typos 2016-05-31 23:40:21 +02:00
ipcutils.h ipcs: ulong -> unsigned long 2016-02-11 12:31:03 +01:00
ldattach.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ldattach.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
losetup.8 misc: POSIX usage dd, regarding unit suffixes 2017-06-14 11:48:22 +02:00
losetup.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
lp.h
lscpu-dmi.c lscpu: cleanup DMI detection return codes 2017-06-13 12:15:11 +02:00
lscpu.1 lscpu: add --json 2017-03-14 15:32:53 +01:00
lscpu.c lib/path: fix crash, pathbuf overflow 2017-06-27 21:39:35 +02:00
lscpu.h lscpu: Detect Windows Subsystem for Linux 2017-01-31 12:28:32 +01:00
lsipc.1 lsipc: fix options parsing and sync with man page 2017-05-02 23:22:04 +01:00
lsipc.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
lsmem.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
lsmem.c lib/path: fix crash, pathbuf overflow 2017-06-27 21:39:35 +02:00
lsns.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
lsns.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
mount.8 libmount: ignore "bind" from fstab on command line "remount" 2017-06-20 12:46:02 +02:00
mount.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
mountpoint.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
mountpoint.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
nsenter.1 nsenter: fix usage() and improve man page 2017-01-09 12:50:09 +01:00
nsenter.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
pivot_root.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
pivot_root.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
prlimit.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
prlimit.c misc: consolidate all --help option descriptions 2017-06-27 12:28:36 +02:00
readprofile.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
readprofile.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
renice.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
renice.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
rtcwake.8.in docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
rtcwake.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
setarch.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
setarch.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
setpriv.1 setpriv: support modifying the set of ambient capabilities 2017-06-27 14:59:19 +02:00
setpriv.c setpriv: add --ambient-caps to usage() 2017-06-27 15:10:09 +02:00
setsid.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
setsid.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
swapoff.8
swapoff.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
swapon-common.c mount, umount, swapon, fsck, lsblk, findmnt: harmonize six error messages 2016-03-16 10:39:38 +01:00
swapon-common.h swapon: split swapon-common.c 2014-09-22 13:16:25 +02:00
swapon.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
swapon.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
switch_root.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
switch_root.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
tunelp.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
tunelp.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
umount.8 umount: add note about NFS and -c to umount.8 2017-06-06 12:05:21 +02:00
umount.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
unshare.1 unshare: add note about persisten PID namespaces 2017-03-27 13:25:31 +02:00
unshare.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
wdctl.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
wdctl.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
zramctl.8 zramctl: be more specific about default output 2017-04-04 12:08:05 +02:00
zramctl.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00