Resent^2 : Zero out return string in GetMenuStr

Alexandre Julliard julliard at winehq.org
Tue Mar 29 12:28:08 CST 2005


Uwe Bonnes <bon at elektron.ikp.physik.tu-darmstadt.de> writes:

> Anything wrong with this patch?
> 
> Changelog:
> 	dlls/user/menu.c: GetMenuStrA|W
> 	Initialize return string as an empty string

You need to take the specified length into account before writing to
the string.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list