]> 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)
committerFangrui Song <i@maskray.me>
Sat, 28 Aug 2021 00:26:08 +0000 (17:26 -0700)
commit6056776143dbc9cb0b62fc3c0f1ce5f44bbb3a71
tree3313c3ca32af053b3f3bf290c0447e4c7f4b3fe4
parent359a244dc60094ced02138ab9840a908d5f9410a
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