Re: wordpad: (1/6) Split code into set_caption function
2 Jun
2007
2 Jun
'07
9:47 a.m.
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
6858
Age (days ago)
6858
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andrey Turkin