aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2011-05-27 12:37:32 -0700
committerPaul Eggert2011-05-27 12:37:32 -0700
commit0f6990a78ae5016d8ae73253cdb4739adf0197e7 (patch)
tree78c7860e14d7cf6bc73526174493a02e606dfc13 /src/alloc.c
parentfb1ac845caea7da6ba98b93c3d67fa67c651b8ef (diff)
parentb57f7e0a357aacf98ec5be826f7227f37e9806b8 (diff)
downloademacs-0f6990a78ae5016d8ae73253cdb4739adf0197e7.tar.gz
emacs-0f6990a78ae5016d8ae73253cdb4739adf0197e7.zip
Merge: Integer overflow fixes.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 71ab54bcab5..3f7bed571c7 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -3244,7 +3244,7 @@ make_event_array (register int nargs, Lisp_Object *args)
3244 are characters that are in 0...127, 3244 are characters that are in 0...127,
3245 after discarding the meta bit and all the bits above it. */ 3245 after discarding the meta bit and all the bits above it. */
3246 if (!INTEGERP (args[i]) 3246 if (!INTEGERP (args[i])
3247 || (XUINT (args[i]) & ~(-CHAR_META)) >= 0200) 3247 || (XINT (args[i]) & ~(-CHAR_META)) >= 0200)
3248 return Fvector (nargs, args); 3248 return Fvector (nargs, args);
3249 3249
3250 /* Since the loop exited, we know that all the things in it are 3250 /* Since the loop exited, we know that all the things in it are