Hauke Mehrtens d18e365b17 busybox: Fix snprintf arguments in lock
The first argument for snprintf is the buffer and the 2. one is the
size. Fix the order. This broke the lock application.

Fixes: 9d2b26d5a705 ("busybox: fix busybox lock applet pidstr buffer overflow")
Reported-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit d80336e1a970b088c235dcf2773052537e6f5d72)
2022-04-05 23:33:16 +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