diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2022-03-31 18:43:09 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-04-05 23:33:16 +0200 |
commit | d18e365b17d1c247cffcc1686d66c88b74d3446c (patch) | |
tree | c9526749ab5a14cd8c479ce00fcbc0829ee674f6 /include/shell.sh | |
parent | 9d2b26d5a70583c0cc0bcb94d7e0fb6ac498069a (diff) | |
download | upstream-d18e365b17d1c247cffcc1686d66c88b74d3446c.tar.gz upstream-d18e365b17d1c247cffcc1686d66c88b74d3446c.tar.bz2 upstream-d18e365b17d1c247cffcc1686d66c88b74d3446c.zip |
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)
Diffstat (limited to 'include/shell.sh')
0 files changed, 0 insertions, 0 deletions