Skip to content
Commit e9f63b51 authored by Bruno Haible's avatar Bruno Haible Committed by Adhemerval Zanella
Browse files

argp: Don't pass invalid arguments to isspace, isalnum, isalpha, isdigit.



* lib/argp-help.c (SKIPWS): Cast character to 'unsigned char' before passing it
to isspace().
(fill_in_uparams): Likewise for isalpha(), isalnum(), isdigit().
(canon_doc_option): Likewise for isspace(), isalnum().

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent 1b3fc33f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment