Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
libplist.4095
0024-Plug-memory-leak-in-case-parsing-a-diction...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0024-Plug-memory-leak-in-case-parsing-a-dictionary-key-fails.patch of Package libplist.4095
From c98451f9eabb68df3dfabaedc9e5fee81fec2fd7 Mon Sep 17 00:00:00 2001 From: Nikias Bassen <nikias@gmx.li> Date: Mon, 6 Feb 2017 18:22:10 +0100 Subject: [PATCH] bplist: Plug memory leak in case parsing a dictionary key fails --- src/bplist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bplist.c b/src/bplist.c index ecc0684..81bd716 100644 --- a/src/bplist.c +++ b/src/bplist.c @@ -444,6 +444,7 @@ static plist_t parse_dict_node(struct bplist_data *bplist, const char** bnode, u if (plist_get_data(key)->type != PLIST_STRING) { fprintf(stderr, "ERROR: Malformed binary plist dict, invalid node type for key!\n"); + plist_free(key); plist_free(node); return NULL; }
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