wordpad: (1/6) Split code into set_caption function
Andrey Turkin
andrey.turkin at gmail.com
Sat Jun 2 03:47:06 CDT 2007
Alexander Nicolaysen Sørnes wrote:
> This will be useful for the file saving code.
>
>
> Regards,
>
> Alexander N. Sørnes
>
+ WCHAR wszCaption[MAX_PATH];
+
+ if(wszNewFileName)
+ {
+ lstrcpyW(wszCaption, wszNewFileName);
+ lstrcatW(wszCaption, wszSeparator);
+ lstrcatW(wszCaption, wszAppTitle);
Looks like there are possible buffer overflow
More information about the wine-devel
mailing list