]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
[AppInfo] OVT Coverity fixes.
authorOliver Kurth <okurth@vmware.com>
Mon, 9 Sep 2019 18:23:49 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Mon, 9 Sep 2019 18:23:49 +0000 (11:23 -0700)
commit24b17d82ce5cef8bedd3f23454de36b1cbb66e4f
tree76261f63edc36b21fbc3b6da807630260b7e630a
parente9ffc2476480496416abf474d5a87e2707947605
[AppInfo] OVT Coverity fixes.

The return value of Str_Snprintf is not being checked for negative
values and is directly passed to DynBuf_Append which accepts only
positive values. This may cause issues if Str_Snprintf fails. Added
a trivial check.
open-vm-tools/services/plugins/appInfo/appInfo.c