Re: cmd: fix buffer overflow in WCMD_run_program

2010-03-04 Thread Detlef Riekenberg
On Do, 2010-03-04 at 09:20 -0800, Eric Ho wrote: Hi Eric. Welcome to Wine. > Fixes http://bugs.winehq.org/show_bug.cgi?id=21344. Overflows fixed: > 1. overflow due to long path name (unchecked memcpy,strcpy to thisDir) > 2. overflow due to long file name (unchecked strcpy into stemofsearch) > 3.

Re: cmd: fix buffer overflow in WCMD_run_program

2010-03-04 Thread Austin English
On Thu, Mar 4, 2010 at 11:20 AM, Eric Ho wrote: > Hi Guys, >  I'm a UCLA student working with Dan Kegel on cmd. >  This attached patch adds tests for the following buffer overflows, and > passes on winetestbot.  Fixes http://bugs.winehq.org/show_bug.cgi?id=21344. > Overflows fixed: > 1. overflow d

cmd: fix buffer overflow in WCMD_run_program

2010-03-04 Thread Eric Ho
Hi Guys, I'm a UCLA student working with Dan Kegel on cmd. This attached patch adds tests for the following buffer overflows, and passes on winetestbot. Fixes http://bugs.winehq.org/show_bug.cgi?id=21344. Overflows fixed: 1. overflow due to long path name (unchecked memcpy,strcpy to thisDir) 2.