Systemd/src/udev
Zbigniew Jędrzejewski-Szmek 099c77fd5f scsi_serial: replace some crazy strncpy() calls by strnlen()
gcc was warning about strncpy() leaving an unterminated string.
In this case, it was correct.

The code was doing strncpy()+strncat()+strlen() essentially to determine
if the strings have expected length. If the length was correct, a buffer
overread was performed (or at least some garbage bytes were used from the
uninitialized part of the buffer). Let's do the length check first and then
only copy stuff if everything agrees.

For some reason the function was called "prepend", when it obviously does
an "append".
2019-05-07 21:06:44 +02:00
..
ata_id tree-wide: replace explicit NULL checks with their shorter variants 2019-04-28 14:28:49 +02:00
cdrom_id udev/cdrom_id: drop unneeded parentheses 2019-05-01 11:46:42 +02:00
mtd_probe
net codespell: fix spelling errors 2019-04-29 16:47:18 +02:00
scsi_id scsi_serial: replace some crazy strncpy() calls by strnlen() 2019-05-07 21:06:44 +02:00
v4l_id tree-wide: replace explicit NULL checks with their shorter variants 2019-04-28 14:28:49 +02:00
.vimrc
generate-keyboard-keys-gperf.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
generate-keyboard-keys-list.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
meson.build meson: declare version.h as dep for various targets that include build.h 2019-02-25 10:41:41 +01:00
udev-builtin-blkid.c
udev-builtin-btrfs.c tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0 2019-04-11 19:00:37 +02:00
udev-builtin-hwdb.c
udev-builtin-input_id.c
udev-builtin-keyboard.c
udev-builtin-kmod.c
udev-builtin-net_id.c udev: net_id: introduce predictable names for netdevsim 2019-04-23 14:01:00 +02:00
udev-builtin-net_setup_link.c
udev-builtin-path_id.c
udev-builtin-uaccess.c
udev-builtin-usb_id.c tree-wide: replace explicit NULL checks with their shorter variants 2019-04-28 14:28:49 +02:00
udev-builtin.c tree-wide: constify a few static string tables 2019-03-25 14:04:34 +01:00
udev-builtin.h
udev-ctrl.c tree-wide: port users over to use new ERRNO_IS_ACCEPT_AGAIN() call 2019-04-10 22:11:18 +02:00
udev-ctrl.h udev-ctrl: split out logic of waiting for reply to udev_ctrl_wait() 2019-02-20 06:17:42 +09:00
udev-event.c udevd: use device_get_action() and device_get_seqnum() 2019-03-12 03:49:53 +09:00
udev-node.c udev: run programs in the specified order 2019-03-05 09:27:29 +01:00
udev-node.h udev: run programs in the specified order 2019-03-05 09:27:29 +01:00
udev-rules.c udev: whitespace fix 2019-04-18 15:18:12 +02:00
udev-watch.c
udev-watch.h
udev.conf
udev.h udev: run programs in the specified order 2019-03-05 09:27:29 +01:00
udev.pc.in
udevadm-control.c udev-ctrl: split out logic of waiting for reply to udev_ctrl_wait() 2019-02-20 06:17:42 +09:00
udevadm-hwdb.c
udevadm-info.c udevadm: drop unused option 2019-04-04 12:55:06 +09:00
udevadm-monitor.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
udevadm-settle.c systemd-udev-settle.service: emit deprecation notice 2019-04-10 15:58:14 +02:00
udevadm-test-builtin.c
udevadm-test.c udevadm-test: check action string earlier 2019-03-12 03:49:53 +09:00
udevadm-trigger.c udev: fix memleak in 'udevadm trigger --settle' 2019-03-12 09:15:02 +01:00
udevadm-util.c
udevadm-util.h
udevadm.c tree-wide: constify a few static string tables 2019-03-25 14:04:34 +01:00
udevadm.h
udevd.c udevd: notify when max number value of children is reached only once per batch of events 2019-04-26 09:58:12 +02:00