mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
25c01931bb
Patches from Debian and upstream git repo. Fixes: * CVE-2016-6836 * CVE-2016-7155 * CVE-2016-7156 * CVE-2016-7157 * CVE-2016-7421 * CVE-2016-7422 * CVE-2016-7423 * CVE-2016-7466 * CVE-2016-8909 * CVE-2016-8910 * CVE-2016-9102 * CVE-2016-9103 * CVE-2016-9104 * CVE-2016-9105 * CVE-2016-9106 cc #20078
13 lines
422 B
Diff
13 lines
422 B
Diff
diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c
|
|
index d938427..7557a7d 100644
|
|
--- a/hw/9pfs/9p.c
|
|
+++ b/hw/9pfs/9p.c
|
|
@@ -3261,6 +3261,7 @@
|
|
xattr_fidp->fs.xattr.flags = flags;
|
|
v9fs_string_init(&xattr_fidp->fs.xattr.name);
|
|
v9fs_string_copy(&xattr_fidp->fs.xattr.name, &name);
|
|
+ g_free(xattr_fidp->fs.xattr.value);
|
|
xattr_fidp->fs.xattr.value = g_malloc0(size);
|
|
err = offset;
|
|
put_fid(pdu, file_fidp);
|