diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2021-06-25 15:02:47 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2021-07-06 19:04:26 +0000 |
commit | 73886db6218e613bd6d4edf529f11e008a6c2fa6 (patch) | |
tree | 768cbb7f22eb8215be46b230fcc113ec1223358b /manual/examples/argp-ex1.c | |
parent | c49cbcdc321dd31026955f7f170d0018848b3d2f (diff) | |
download | glibc-73886db6218e613bd6d4edf529f11e008a6c2fa6.tar.gz glibc-73886db6218e613bd6d4edf529f11e008a6c2fa6.tar.xz glibc-73886db6218e613bd6d4edf529f11e008a6c2fa6.zip |
wordexp: handle overflow in positional parameter number (bug 28011)
Use strtoul instead of atoi so that overflow can be detected. (cherry picked from commit 5adda61f62b77384718b4c0d8336ade8f2b4b35c)
Diffstat (limited to 'manual/examples/argp-ex1.c')
0 files changed, 0 insertions, 0 deletions