[PATCH] 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)
committerAdrian Bunk <bunk@debian.org>
Tue, 23 Apr 2024 16:23:00 +0000 (19:23 +0300)
commita8913780ccaae88bf7df7d19303a57cb12e5935d
tree563941b18ddb4b8f332ca70848ca8dd891ca8fc0
parent9b1d755283adaca34d760d46ea6f6d56673c4409
[PATCH] wordexp: handle overflow in positional parameter number (bug 28011)

Use strtoul instead of atoi so that overflow can be detected.

Gbp-Pq: Topic all
Gbp-Pq: Name git-CVE-2021-35942-wordexp-handle-overflow-in-positional-parameter-numb.diff
posix/wordexp-test.c
posix/wordexp.c