Public bug reported:

Binary package hint: x11-utils

xmessage unable to handle long input and crash with X error .

test case :
1 ) 
emanuel@emanuel-desktop:/tmp$ /usr/bin/xmessage 'text' -buttons `python -c 
"print 'A'*100000"`
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  53 (X_CreatePixmap)
  Serial number of failed request:  171
  Current serial number in output stream:  190

2 ) the window opened and immediately closed with error .
emanuel@emanuel-desktop:/tmp$ echo `python -c "print 'A'*1000000"` > /tmp/Z
emanuel@emanuel-desktop:/tmp$ /usr/bin/xmessage -file /tmp/Z
X Error of failed request:  BadLength (poly request too large or internal Xlib 
length error)
  Major opcode of failed request:  74 (X_PolyText8)
  Serial number of failed request:  198
  Current serial number in output stream:  198

** Affects: x11-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/792268

Title:
  xmessage X errors

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to