Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
qemu-linux-user.7445
0405-9pfs-xattr-fix-memory-leak-in-v9fs_.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0405-9pfs-xattr-fix-memory-leak-in-v9fs_.patch of Package qemu-linux-user.7445
From 3a785ce5d1369171467837d0f19ed57831fedf75 Mon Sep 17 00:00:00 2001 From: Li Qiang <liq3ea@gmail.com> Date: Fri, 7 Apr 2017 03:48:52 -0700 Subject: [PATCH] 9pfs: xattr: fix memory leak in v9fs_list_xattr Free 'orig_value' in error path. Signed-off-by: Li Qiang <liqiang6-s@360.cn> Signed-off-by: Greg Kurz <groug@kaod.org> (cherry picked from commit 4ffcdef4277a91af15a3c09f7d16af072c29f3f2) [BR: BSC#1035950 CVE-2017-8086] Signed-off-by: Bruce Rogers <brogers@suse.com> --- hw/9pfs/9p-xattr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/9pfs/9p-xattr.c b/hw/9pfs/9p-xattr.c index 36136206a1..7883ab2e71 100644 --- a/hw/9pfs/9p-xattr.c +++ b/hw/9pfs/9p-xattr.c @@ -107,6 +107,7 @@ ssize_t v9fs_list_xattr(FsContext *ctx, const char *path, g_free(name); close_preserve_errno(dirfd); if (xattr_len < 0) { + g_free(orig_value); return -1; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor