DoS window manager with extremely long button

Bug #793280 reported by Emanuel Bronshtein
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gxmessage (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gxmessage

displaying extremely long button causes the window manager to crash.

test case :
emanuel@emanuel-desktop:~$ gxmessage text -buttons `python -c "print 'A'*115000"`

(gxmessage:8096): Gdk-WARNING **: Native Windows wider or taller than 65535 pixels are not supported
The program 'gxmessage' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
  (Details: serial 316 error_code 158 request_code 148 minor_code 23)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Revision history for this message
Timothy Musson (trmusson) wrote :

Hi - gxmessage 2.20.4 (for GTK2) and gxmessage 3.4.3 (for GTK3) both include fixes for this bug :)

http://ftp.gnu.org/gnu/gxmessage/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.