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-X,
which is subscribed to x11-utils in Ubuntu.
https://bugs.launchpad.net/bugs/792268

Title:
  xmessage X errors

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to