openwrt/package/utils/busybox/patches
Qichao Zhang 9d2b26d5a7 busybox: fix busybox lock applet pidstr buffer overflow
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>
(cherry picked from commit 34567750db)
2022-04-05 00:20:24 +02:00
..
120-lto-jobserver.patch busybox: update to 1.33 2021-02-14 15:15:32 +01:00
200-udhcpc_reduce_msgs.patch busybox: update to version 1.34.0 2021-09-04 21:05:26 +02:00
201-udhcpc_changed_ifindex.patch busybox: update to version 1.34.0 2021-09-04 21:05:26 +02:00
210-add_netmsg_util.patch busybox: convert netmsg and lock applet to "new style" applet definition 2017-01-29 14:09:36 +01:00
220-add_lock_util.patch busybox: fix busybox lock applet pidstr buffer overflow 2022-04-05 00:20:24 +02:00
270-libbb_make_unicode_printable.patch busybox: update to 1.30.0 2019-01-01 14:10:47 +01:00
301-ip-link-fix-netlink-msg-size.patch busybox: update to 1.35.0 2022-01-08 00:49:59 +01:00
500-move-traceroute-applets-to-bin.patch busybox: update to 1.33 2021-02-14 15:15:32 +01:00
510-move-passwd-applet-to-bin.patch busybox: update to 1.28.2 2018-04-03 23:26:45 +02:00
520-loginutils-handle-crypt-failures.patch busybox: update to 1.33 2021-02-14 15:15:32 +01:00