aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-08-24 12:43:20 +0100
committerRon Yorston <rmy@pobox.com>2020-08-24 12:43:20 +0100
commit35921142946225cc292e3954455f2abd4d55daeb (patch)
treeae2c83f5c9106f6061fe8370d0a28e727940757c /shell
parentdecdf3f58bfdb3fbd2a1dd73a252076373cd5098 (diff)
downloadbusybox-w32-35921142946225cc292e3954455f2abd4d55daeb.tar.gz
busybox-w32-35921142946225cc292e3954455f2abd4d55daeb.tar.bz2
busybox-w32-35921142946225cc292e3954455f2abd4d55daeb.zip
printf: prevent '\0' in format string from truncating outputFRP-3578-g359211429
Commit 4a2af48e6 (printf: emit more contiguous text to improve escape sequences) didn't treat an escaped null byte in the format string correctly. The output string was truncated at the null byte. Detect this case, output the partial string and the null byte and carry on.
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions