]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Fix memory leaks.
authorJohn Wolfe <jwolfe@vmware.com>
Fri, 11 Dec 2020 05:05:49 +0000 (21:05 -0800)
committerJohn Wolfe <jwolfe@vmware.com>
Fri, 11 Dec 2020 05:05:49 +0000 (21:05 -0800)
commitd3367358a7cff80effffbc7e5f9bc0c5fded3a48
treebcf9de3cf4f153d934e47c10461b6560f385acb5
parent35a57d5cb66113095142fdfb07d39f756d5a81af
Fix memory leaks.

A Coverity scan of open-vm-tools reported a number of memory leaks
on error code paths.  Fix seven reported leaks, and modify code
to address two false positives in order to make the code clearer
and/or keep Coverity from reporting the issues.  Also fix additional
leaks found in the routine Proto_TextContents during code review.
open-vm-tools/libvmtools/vmtoolsLog.c
open-vm-tools/services/plugins/guestInfo/guestInfoServer.c
open-vm-tools/services/vmtoolsd/pluginMgr.c
open-vm-tools/vgauth/lib/proto.c
open-vm-tools/vgauth/serviceImpl/alias.c