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> |
||
---|---|---|
.. | ||
120-lto-jobserver.patch | ||
200-udhcpc_reduce_msgs.patch | ||
201-udhcpc_changed_ifindex.patch | ||
210-add_netmsg_util.patch | ||
220-add_lock_util.patch | ||
270-libbb_make_unicode_printable.patch | ||
301-ip-link-fix-netlink-msg-size.patch | ||
500-move-traceroute-applets-to-bin.patch | ||
510-move-passwd-applet-to-bin.patch | ||
520-loginutils-handle-crypt-failures.patch |