[Bug 13469] cmd can't handle long input (buffer overflow)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jun 14 11:41:15 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=13469


Vitaliy Margolen <vitaliy at kievinfo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major
         OS/Version|other                       |All
           Platform|Other                       |All
            Summary|Python long sys calls       |cmd can't handle long input
                   |                            |(buffer overflow)




--- Comment #8 from Vitaliy Margolen <vitaliy at kievinfo.com>  2008-06-14 11:41:15 ---
(In reply to comment #7)
> I don't know if we're talking about the same thing but it seems that 569 is the
> limit.
> Using 0.9.46 - python: os.system("1"*569) work, os.system("1"*570) crash
> 

Overflowing a buffer doesn't mean immediate crash. Hitting unallocated memory -
yes. In either case this is pretty nasty code that should be fixed.
Setting to major, since all users of Wine's cmd affected.


-- 
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