diff options
| author | Paul Eggert | 2011-05-27 12:37:32 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-05-27 12:37:32 -0700 |
| commit | 0f6990a78ae5016d8ae73253cdb4739adf0197e7 (patch) | |
| tree | 78c7860e14d7cf6bc73526174493a02e606dfc13 /src/alloc.c | |
| parent | fb1ac845caea7da6ba98b93c3d67fa67c651b8ef (diff) | |
| parent | b57f7e0a357aacf98ec5be826f7227f37e9806b8 (diff) | |
| download | emacs-0f6990a78ae5016d8ae73253cdb4739adf0197e7.tar.gz emacs-0f6990a78ae5016d8ae73253cdb4739adf0197e7.zip | |
Merge: Integer overflow fixes.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 2 |
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 |