Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
qemu.15027
0276-9pfs-local-remove-use-correct-path-.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0276-9pfs-local-remove-use-correct-path-.patch of Package qemu.15027
From 11e8809ef2bd455e359e6f3e92ce812f9a9ed6be Mon Sep 17 00:00:00 2001 From: Bruce Rogers <brogers@suse.com> Date: Mon, 19 Jun 2017 14:48:02 -0600 Subject: [PATCH] 9pfs: local: remove: use correct path component Commit a0e640a8 introduced a path processing error. Pass fstatat the dirpath based path component instead of the entire path. [BR: BSC#1045035] Signed-off-by: Bruce Rogers <brogers@suse.com> --- hw/9pfs/9p-local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/9pfs/9p-local.c b/hw/9pfs/9p-local.c index df14639f8b..f43ccc2eb6 100644 --- a/hw/9pfs/9p-local.c +++ b/hw/9pfs/9p-local.c @@ -1040,7 +1040,7 @@ static int local_remove(FsContext *ctx, const char *path) goto out; } - if (fstatat(dirfd, path, &stbuf, AT_SYMLINK_NOFOLLOW) < 0) { + if (fstatat(dirfd, name, &stbuf, AT_SYMLINK_NOFOLLOW) < 0) { goto err_out; }
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