summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/check-declare.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-12-03 13:37:41 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2013-12-03 13:37:41 -0800
commit2654ac09ccc5da6e2fe99e60291d4c6013958c3e (patch)
tree68546ecbd8f180b14df3b85071a440397c6904a7 /lisp/emacs-lisp/check-declare.el
parent0b254a38fa0c852d1f7297e31b811f0d2962c81d (diff)
downloademacs-2654ac09ccc5da6e2fe99e60291d4c6013958c3e.tar.gz
emacs-2654ac09ccc5da6e2fe99e60291d4c6013958c3e.tar.bz2
emacs-2654ac09ccc5da6e2fe99e60291d4c6013958c3e.zip
Minor integer overflow fixes.
* window.c (Fset_window_new_pixel): Don't let new_pixel go negative. This improves on the previous fix to this function. (window_resize_check): When summing up pixel counts, don't rely on undefined behavior if the sum overflows. Fixes: debbugs:16033
Diffstat (limited to 'lisp/emacs-lisp/check-declare.el')
0 files changed, 0 insertions, 0 deletions