http://bugs.winehq.org/show_bug.cgi?id=11304
Summary: Wine Notepad: Overflow. Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: andrey@esin.name
Created an attachment (id=10410) --> (http://bugs.winehq.org/attachment.cgi?id=10410) Little "exploit" to test this bug.
Overflow in Wine Notepad. There is a overflow when opening a file containing a line which contain 24576 symbols (>= 24 Kb). If open such file Wine Notepad will exit with message: lastik@lastik:~/src/wine/cvs$ wine notepad X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 18 (X_ChangeProperty) Value in failed request: 0x1 Serial number of failed request: 6697 Current serial number in output stream: 6696
If you will open text file which contains string with more than 8192 symbols (>= 8 kb), you will see the effect of coating lines at each other. So if open file with 8191 symbols in string it's will ok.