diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-11-21 01:49:18 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-11-21 01:49:18 +0000 |
commit | 1785eefc0e123397ec0468858110d9ed6ff815db (patch) | |
tree | 7b9a123fdcc9ee6e42b5955f41bf3f0a4325eafd /manpath.c | |
parent | d6723f74a684ee974e1b51a37f806d2af1fcaaa7 (diff) | |
download | mandoc-1785eefc0e123397ec0468858110d9ed6ff815db.tar.gz |
My audit of mandoc revealed one missing (unsigned char) cast
in an isspace() argument containing arbitrary char data.
Thanks to deraadt@ for triggering the audit.
Diffstat (limited to 'manpath.c')
-rw-r--r-- | manpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -209,7 +209,7 @@ manpath_manconf(struct manpaths *dirs, const char *file) if (strncmp(MAN_CONF_KEY, p, keysz)) continue; p += keysz; - while (isspace(*p)) + while (isspace((unsigned char)*p)) p++; if ('\0' == *p) continue; |