Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
libplist
A0005-prevent-segmentation-fault-in-plist_from_...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File A0005-prevent-segmentation-fault-in-plist_from_bin.patch of Package libplist
From ce2a16c9bf6fc6cc2d0ae1873078a864285de8f5 Mon Sep 17 00:00:00 2001 From: Nikias Bassen <nikias@gmx.li> Date: Thu, 6 Feb 2014 13:36:32 +0100 Subject: [PATCH] bplist: prevent segmentation fault in plist_from_bin() --- src/bplist.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bplist.c b/src/bplist.c index b9f2483..523d0fe 100644 --- a/src/bplist.c +++ b/src/bplist.c @@ -655,6 +655,9 @@ void plist_from_bin(const char *plist_bin, uint32_t length, plist_t * plist) { plist_data_t data = plist_get_data(nodeslist[i]); + if (!data) { + break; + } switch (data->type) {
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