Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
libplist.4095
A0013-Prevent-crash-in-plist_from_bin-when-pars...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File A0013-Prevent-crash-in-plist_from_bin-when-parsing-unusually-structured-binary-plist.patch of Package libplist.4095
From 063c629baef6028e84838f77fd1401b05e41dc58 Mon Sep 17 00:00:00 2001 From: Nikias Bassen <nikias@gmx.li> Date: Tue, 23 Sep 2014 17:50:43 +0200 Subject: [PATCH] bplist: Prevent crash in plist_from_bin() when parsing unusually structured binary plist --- src/bplist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bplist.c b/src/bplist.c index 91d5578..181c150 100644 --- a/src/bplist.c +++ b/src/bplist.c @@ -726,7 +726,7 @@ void plist_from_bin(const char *plist_bin, uint32_t length, plist_t * plist) for (i = 0; i < num_objects; i++) { if (i == root_object) continue; node_t* node = (node_t*)nodeslist[i]; - if (NODE_IS_ROOT(node)) { + if (node && NODE_IS_ROOT(node)) { plist_free(node); } }
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