[ros-dev] [ros-diffs] [khornicek] 64882: [SERVMAN] - fix resource leaks CID 716292, 716293, 716294 - fix CID 716772 (double free), 513719 (wrong NULL check), 1206739 (cosmetic) - make line endings CR LF when exporting t...
Timo Kreuzer
timo.kreuzer at web.de
Wed Oct 22 18:56:00 UTC 2014
Am 22.10.2014 00:58, schrieb khornicek at svn.reactos.org:
> - if (LVText != NULL)
> + if (_tcslen(LVText))
> {
> WriteFile(hFile,
> LVText,
I think LVText might not be zero terminated, when the SendMessage call
fails.
What about if (dwTextLength != 0)?
More information about the Ros-dev
mailing list