Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
sssd.6667
150923-Fix-memory-leak-in-sssdpac_verify.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 150923-Fix-memory-leak-in-sssdpac_verify.patch of Package sssd.6667
From 96ad95f0f400ae555909328f179a9d1036d1e0db Mon Sep 17 00:00:00 2001 From: Thomas Oulevey <thomas.oulevey@cern.ch> Date: Wed, 23 Sep 2015 10:55:59 +0200 Subject: [PATCH] Fix memory leak in sssdpac_verify() Resolves https://fedorahosted.org/sssd/ticket/2803 Reviewed-by: Sumit Bose <sbose@redhat.com> (cherry picked from commit b4c44ebb8997d3debb33607c123ccfd9926e0cba) (cherry picked from commit c542366e4ddb2984107de1af2363adb184653290) diff -rupN sssd-1.11.5.1-original/src/sss_client/sssd_pac.c sssd-1.11.5.1-patched/src/sss_client/sssd_pac.c --- sssd-1.11.5.1-original/src/sss_client/sssd_pac.c 2017-01-30 14:10:44.472844715 +0100 +++ sssd-1.11.5.1-patched/src/sss_client/sssd_pac.c 2017-01-30 14:20:50.379824856 +0100 @@ -150,6 +150,9 @@ static krb5_error_code sssdpac_verify(kr kerr = krb5_pac_verify(kcontext, pac, req->ticket->enc_part2->times.authtime, req->ticket->enc_part2->client, key, NULL); + /* deallocate pac */ + krb5_pac_free(kcontext, pac); + pac = NULL; if (kerr != 0) { return EINVAL; }
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