]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Fix a potential NULL pointer dereference in the vmbackup plugin.
authorOliver Kurth <okurth@vmware.com>
Fri, 22 Nov 2019 22:52:35 +0000 (14:52 -0800)
committerOliver Kurth <okurth@vmware.com>
Fri, 22 Nov 2019 22:52:35 +0000 (14:52 -0800)
commit0bb6cf83fb6b1f80c99beb11cd47e0db02e252ff
treeee80f2468290beb39658faa5d88bcc9d5fc85ef8
parentb401e8786801e4b4b825b40de2701eb0ea3e0e3d
Fix a potential NULL pointer dereference in the vmbackup plugin.

In some circumtances, VmBackupAsyncCallback might dereference
gBackupState after calling VmBackupDoAbort even though the
latter function can potentially set gBackupState to NULL.  Add
a check to prevent the potential NULL pointer dereference.
open-vm-tools/services/plugins/vmbackup/stateMachine.c