1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Make sure that only ascii is passed to isfoo functions.

This commit is contained in:
Werner Koch 2003-06-07 20:06:32 +00:00
parent a72b1e0a57
commit 6a00a17bd1
15 changed files with 66 additions and 31 deletions

View file

@ -1032,7 +1032,7 @@ check_special_filename ( const char *fname )
int i;
fname += 2;
for (i=0; isdigit (fname[i]); i++ )
for (i=0; digitp (fname+i); i++ )
;
if ( !fname[i] )
return atoi (fname);