]> Savannah Git Hosting - gnulib.git/commit
xstrtol: Strengthen sanity check.
authorAlejandro Colomar <alx@kernel.org>
Thu, 18 Jul 2024 17:58:55 +0000 (19:58 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 18 Jul 2024 17:58:55 +0000 (19:58 +0200)
commite9d3a876113e61330f341ddac84f67227ef61872
tree6ab2e580d72e7b32bf191f46f296e931bfe71f79
parentfe50479c32909987fa75e50ceb7446160aceae79
xstrtol: Strengthen sanity check.

* lib/xstrtol.c (__xstrtol): Don't allow strtol_base to be 1.

Copyright-paperwork-exempt: Yes
ChangeLog
lib/xstrtol.c