about summary refs log tree commit diff
path: root/manual/examples/argp-ex1.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2021-06-25 15:02:47 +0200
committerDmitry V. Levin <ldv@altlinux.org>2021-07-06 19:04:26 +0000
commit73886db6218e613bd6d4edf529f11e008a6c2fa6 (patch)
tree768cbb7f22eb8215be46b230fcc113ec1223358b /manual/examples/argp-ex1.c
parentc49cbcdc321dd31026955f7f170d0018848b3d2f (diff)
downloadglibc-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