Resent^2 : Zero out return string in GetMenuStr

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

Uwe Bonnes <bon at> 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

More information about the wine-devel mailing list