lede/package/utils/busybox
Beginner e9c3781bb9
busybox: fix busybox lock applet pidstr buffer overflow (#9163)
Kernel setting `/proc/sys/kernel/pid_max` can be set up to 4194304 (7
digits) which will cause buffer overflow in busbox lock patch, this
often happens when running in a rootfs container environment.
This commit enlarges `pidstr` to 12 bytes to ensure a sufficient buffer
for pid number and an additional char '\n'.

Signed-off-by: Qichao Zhang <njuzhangqichao@gmail.com>

Co-authored-by: Qichao Zhang <njuzhangqichao@gmail.com>
2022-03-31 16:48:06 +08:00
..
config busybox: update to 1.35.0 (#8389) 2022-01-14 12:15:24 +08:00
files busybox: update to 1.35.0 (#8389) 2022-01-14 12:15:24 +08:00
patches busybox: fix busybox lock applet pidstr buffer overflow (#9163) 2022-03-31 16:48:06 +08:00
Config-defaults.in busybox: update to 1.35.0 (#8389) 2022-01-14 12:15:24 +08:00
Config.in add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
convert_defaults.pl update source 2017-09-06 19:19:45 +08:00
convert_menuconfig.pl update source 2017-09-06 19:19:45 +08:00
Makefile busybox: update to 1.35.0 (#8389) 2022-01-14 12:15:24 +08:00
selinux.config add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00