summaryrefslogtreecommitdiff
path: root/ui/vnc-enc-tight.h
diff options
context:
space:
mode:
authorzhanghailiang <zhang.zhanghailiang@huawei.com>2014-09-19 11:09:10 +0800
committerMichael Roth <mdroth@linux.vnet.ibm.com>2014-10-22 07:49:52 -0500
commite668d1b8545f1c79cf869bd78813cb1e52216f45 (patch)
tree2e21a821628fb72dbfb01b2beee8d93c718ac0b5 /ui/vnc-enc-tight.h
parent01a2050fa5fb3d290134b67ee82eb3ebbd91d95b (diff)
downloadqemu-e668d1b8545f1c79cf869bd78813cb1e52216f45.tar.gz
qemu-e668d1b8545f1c79cf869bd78813cb1e52216f45.tar.bz2
qemu-e668d1b8545f1c79cf869bd78813cb1e52216f45.zip
qga: Rewrite code where using readdir_r
If readdir_r fails, error_setg_errno will reference the freed pointer *dirpath*. Moreover, readdir_r may cause a buffer overflow, using readdir instead. Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Cc: qemu-stable@nongnu.org Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'ui/vnc-enc-tight.h')
0 files changed, 0 insertions, 0 deletions