Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sschapiro:openstack:upstream
libguestfs
0013-fuse-Fix-segfault-in-guestmount-verbose.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0013-fuse-Fix-segfault-in-guestmount-verbose.patch of Package libguestfs
From 937fb41e22ba067189406e8e87657be70202104e Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones <rjones@redhat.com> Date: Tue, 7 Dec 2010 13:29:40 +0000 Subject: [PATCH 13/72] fuse: Fix segfault in guestmount --verbose. If hash_delete returns NULL and --verbose option was given then this would cause a segfault. (cherry picked from commit 97cbb842362e2548a59a1560c50e5f998fa5bda8) --- fuse/dircache.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fuse/dircache.c b/fuse/dircache.c index 157035e..8cff0d3 100644 --- a/fuse/dircache.c +++ b/fuse/dircache.c @@ -384,7 +384,7 @@ lsc_remove (Hash_table *ht, const char *pathname, Hash_data_freer freer) entry = hash_delete (ht, &key); - if (verbose) + if (verbose && entry) fprintf (stderr, "dir cache: invalidating entry %p (%s)\n", entry, entry->pathname); -- 1.7.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