Qichao Zhang 34567750db 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>
2022-03-30 18:33:38 +02:00
..
2019-12-23 00:22:07 +01:00
2019-10-19 12:49:11 +02:00
2022-01-03 10:34:31 +01:00
2022-01-03 10:34:31 +01:00
2022-01-16 20:51:14 +01:00
2020-08-30 22:18:35 +02:00
2021-12-13 13:48:08 +01:00
2020-08-31 10:19:31 +01:00
2021-10-31 13:02:49 +00:00
2022-02-12 20:51:22 +01:00
2022-03-05 21:05:45 +01:00