projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2236ee4
)
Fix mis-parsing of certain malformed XBM files
author
Po Lu
<luangruo@yahoo.com>
Fri, 18 Feb 2022 01:37:36 +0000
(09:37 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Fri, 18 Feb 2022 01:37:36 +0000
(09:37 +0800)
* src/image.c (xbm_scan): Return error on a character literal
that doesn't start with "\x".
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index d012fcea6a787e1cba3b5bca8dc2c330d78e7c62..e2ba744e0a3a48d0853fc3b619828e8245a61376 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-3719,9
+3719,9
@@
xbm_scan (char **s, char *end, char *sval, int *ival)
overflow |= INT_MULTIPLY_WRAPV (value, 16, &value);
value += digit;
}
-
- return 0;
}
+
+ return 0;
}
else if (c_isalpha (c) || c == '_')
{