]> git.ipfire.org Git - thirdparty/glibc.git/commit
wordexp: handle overflow in positional parameter number (bug 28011)
authorAndreas Schwab <schwab@linux-m68k.org>
Fri, 25 Jun 2021 13:02:47 +0000 (15:02 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sun, 27 Jun 2021 17:35:42 +0000 (19:35 +0200)
commit5adda61f62b77384718b4c0d8336ade8f2b4b35c
tree5d3e0191705475d565e66b35415f864b14e8825d
parent3213ed770cbc5821920d16caa93c85e92dd7b9f6
wordexp: handle overflow in positional parameter number (bug 28011)

Use strtoul instead of atoi so that overflow can be detected.
posix/wordexp-test.c
posix/wordexp.c