Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:cahu:security:SELinux:fixleapbuild
libselinux
libselinux-set-free-d-data-to-NULL.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libselinux-set-free-d-data-to-NULL.patch of Package libselinux
Index: libselinux-3.7/src/label_backends_android.c =================================================================== --- libselinux-3.7.orig/src/label_backends_android.c +++ libselinux-3.7/src/label_backends_android.c @@ -260,6 +260,7 @@ static void closef(struct selabel_handle free(data->spec_arr); free(data); + rec->data = NULL; } static struct selabel_lookup_rec *property_lookup(struct selabel_handle *rec, Index: libselinux-3.7/src/label_file.c =================================================================== --- libselinux-3.7.orig/src/label_file.c +++ libselinux-3.7/src/label_file.c @@ -942,6 +942,7 @@ static void closef(struct selabel_handle free(last_area); } free(data); + rec->data = NULL; } // Finds all the matches of |key| in the given context. Returns the result in Index: libselinux-3.7/src/label_media.c =================================================================== --- libselinux-3.7.orig/src/label_media.c +++ libselinux-3.7/src/label_media.c @@ -183,6 +183,7 @@ static void close(struct selabel_handle free(spec_arr); free(data); + rec->data = NULL; } static struct selabel_lookup_rec *lookup(struct selabel_handle *rec, Index: libselinux-3.7/src/label_x.c =================================================================== --- libselinux-3.7.orig/src/label_x.c +++ libselinux-3.7/src/label_x.c @@ -210,6 +210,7 @@ static void close(struct selabel_handle free(spec_arr); free(data); + rec->data = NULL; } static struct selabel_lookup_rec *lookup(struct selabel_handle *rec,
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