]> Savannah Git Hosting - gnulib.git/commit
strto*l: Don't pass invalid arguments to isspace, isalnum, toupper.
authorBruno Haible <bruno@clisp.org>
Fri, 2 Apr 2021 17:47:53 +0000 (19:47 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 2 Apr 2021 17:47:53 +0000 (19:47 +0200)
commit71958eb7080485d7291b8b622b09e6b198f0d920
treed454aac3c35e119a32f0dfd1f66a06bc7710eda3
parent38d0749a3077b03fda46567510b1217fb5e4e170
strto*l: Don't pass invalid arguments to isspace, isalnum, toupper.

* lib/strtol.c (ISSPACE, ISALPHA, TOUPPER): Cast argument to
'unsigned char' before passing it to the functions isspace(), isalpha(),
toupper().
ChangeLog
lib/strtol.c