mirror of https://gitee.com/openkylin/libvirt.git
3ebbc241a1
If you ran virsh in interactive mode and ran a command that virsh could not parse, it would then SEGV on subsequent commands. The problem is that we are freeing the vshCmd structure in the syntaxError label at the end of vshCommandParse, but forgetting to set ctl->cmd to NULL. This means that on the next command, we would try to free the same structure again, leading to badness. * tools/virsh.c: Make sure to set ctl->cmd to NULL after freeing it in vshCommandParse() |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
console.c | ||
console.h | ||
libvirt_win_icon_16x16.ico | ||
libvirt_win_icon_32x32.ico | ||
libvirt_win_icon_48x48.ico | ||
libvirt_win_icon_64x64.ico | ||
virsh.c | ||
virsh.pod | ||
virsh_win_icon.rc | ||
virt-pki-validate.in | ||
virt-xml-validate.in |