Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
openldap2.29143
0215-ITS-9408-fix-vrfilter-double-free.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0215-ITS-9408-fix-vrfilter-double-free.patch of Package openldap2.29143
From b4f0b6d88fa165de73e2418894038c2d24cee0a8 Mon Sep 17 00:00:00 2001 From: Howard Chu <hyc@openldap.org> Date: Sat, 28 Nov 2020 15:54:17 +0000 Subject: [PATCH 215/224] ITS#9408 fix vrfilter double-free --- servers/slapd/controls.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index b8edd39bc..50a358b07 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -1578,7 +1578,10 @@ static int parseValuesReturnFilter ( } else { send_ldap_result( op, rs ); } - if( op->o_vrFilter != NULL) vrFilter_free( op, op->o_vrFilter ); + if( op->o_vrFilter != NULL) { + vrFilter_free( op, op->o_vrFilter ); + op->o_vrFilter = NULL; + } } #ifdef LDAP_DEBUG else { -- 2.30.0
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