aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-10-22 09:15:18 +0100
committerRon Yorston <rmy@pobox.com>2024-10-22 09:15:18 +0100
commitb2ad30bab23920704a34dc39b16db6fd5d91ea1e (patch)
treebbcf8eaabd995478f8e1eb3f66a43d22dc25320d /libbb
parentf0dea66749bb599f65762991f4fded229c3df5a3 (diff)
downloadbusybox-w32-b2ad30bab23920704a34dc39b16db6fd5d91ea1e.tar.gz
busybox-w32-b2ad30bab23920704a34dc39b16db6fd5d91ea1e.tar.bz2
busybox-w32-b2ad30bab23920704a34dc39b16db6fd5d91ea1e.zip
cut: detect error when bounds are reversed
The command 'cut -b 3-2' failed to detect that the bounds were incorrectly ordered, though the check worked when the difference between the bounds was larger. The comparison was made after the lower bound has been decremented but before the upper bound had. Adds 0-16 bytes. (GitHub issue #467)
Diffstat (limited to 'libbb')
0 files changed, 0 insertions, 0 deletions