diff options
author | Pádraig Brady <P@draigBrady.com> | 2023-05-06 11:22:22 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2023-05-06 11:26:04 +0100 |
commit | fae65623a92a3f150fd35cfef58dcb3d8533f94c (patch) | |
tree | 5b07d7b17c2990a93b6258602277d167a4be6eb2 /po | |
parent | 300af7869161a3618e28cbae3daefc25c8267efe (diff) | |
download | coreutils-fae65623a92a3f150fd35cfef58dcb3d8533f94c.tar.gz |
pr: fix parsing of empty arguments
Before:
$ pr --expand-tabs=
pr: '-e' extra characters or invalid number in the argument:
‘SHELL=/bin/bash’: Value too large for defined data type
After:
$ pr --expand-tabs=
pr: '-e': Invalid argument: ‘’
* src/pr.c (getoptarg): Ensure we don't parse beyond the
end of an empty argument, thus outputting arbitrary stack
info in subsequent error messages.
Addresses https://bugs.debian.org/1035596
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions