summaryrefslogtreecommitdiffstats
path: root/scripts/archive-source.sh
diff options
context:
space:
mode:
authorPrasad J Pandit2017-10-16 14:21:59 +0200
committerGreg Kurz2017-10-16 14:21:59 +0200
commit7bd92756303f2158a68d5166264dc30139b813b6 (patch)
tree8aa940b57f17c97518b7fae6890ba1a4f3624ba9 /scripts/archive-source.sh
parentMerge remote-tracking branch 'remotes/elmarco/tags/vu-pull-request' into staging (diff)
downloadqemu-7bd92756303f2158a68d5166264dc30139b813b6.tar.gz
qemu-7bd92756303f2158a68d5166264dc30139b813b6.tar.xz
qemu-7bd92756303f2158a68d5166264dc30139b813b6.zip
9pfs: use g_malloc0 to allocate space for xattr
9p back-end first queries the size of an extended attribute, allocates space for it via g_malloc() and then retrieves its value into allocated buffer. Race between querying attribute size and retrieving its could lead to memory bytes disclosure. Use g_malloc0() to avoid it. Reported-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'scripts/archive-source.sh')
0 files changed, 0 insertions, 0 deletions