[Bug 11304] New: Wine Notepad: Overflow.

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 22 12:46:48 CST 2008


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 at winehq.org
        ReportedBy: andrey at 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 at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list