[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16033: 24.3.50; window--reseize-this-window, args-out-of-range
From: |
Eli Zaretskii |
Subject: |
bug#16033: 24.3.50; window--reseize-this-window, args-out-of-range |
Date: |
Tue, 03 Dec 2013 09:34:34 +0200 |
> From: Yagnesh Raghava Yakkala <hi@yagnesh.org>
> Date: Tue, 03 Dec 2013 15:26:51 +0900
>
>
> Latest build from emacs
> trunk(yamaoka@jpl.org-20131203045417-2co55ww8uqmoh5cb) I get the
> following backtrace.
>
> --8<---------------cut here---------------start------------->8---
> Debugger entered--Lisp error: (args-out-of-range -19 0 2147483001)
> set-window-new-pixel(#<window 3 on *scratch*> -19 t)
> window--resize-this-window(#<window 3 on *scratch*> -19 nil nil t before
> 646)
Paul, it's because of your commit:
revno: 115359
committer: Paul Eggert <eggert@cs.ucla.edu>
branch nick: trunk
timestamp: Tue 2013-12-03 02:27:10 +0000
message:
Minor integer overflow fixes.
* window.c (Fset_window_new_pixel, grow_mini_window):
* xdisp.c (Fwindow_text_pixel_size):
Avoid undefined behavior on signed integer overflow.
* xfns.c (x_set_mouse_color):
Check that drag shape fits in 'unsigned', since that's what X wants.
The modified test at the beginning of Fset_window_new_pixel doesn't
DTRT when SIZE is negative (which it legitimately can be when ADD is
non-nil).