[libzomg] Metadata_win32.cpp::getUserName_ansi(): Only check for NULLs if cbUsername...
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Sun, 3 Apr 2016 05:35:53 +0000 (01:35 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Sun, 3 Apr 2016 05:35:53 +0000 (01:35 -0400)
commitf59c4f5699d84555e2b492af1d672b2e6e3e421c
treee8b8fc75669c3518efea947cfb0df0f4c4ae2336
parent984b3c41f0b573040155e6a297db7b0e6d43bf46
[libzomg] Metadata_win32.cpp::getUserName_ansi(): Only check for NULLs if cbUsername > 0.

Found using cppcheck-1.72.
src/libzomg/Metadata_win32.cpp