Issue 7256 - back-mdb segfaults trying to free an entry in tool mode
Summary: back-mdb segfaults trying to free an entry in tool mode
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-23 16:00 UTC by Ondřej Kuzník
Modified: 2014-10-23 07:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ondřej Kuzník 2012-04-23 16:00:10 UTC
Full_Name: Ondrej Kuznik
Version: master
OS: Linux
URL: ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20120423-slapmodify-support.tgz
Submission from: (NULL) (62.168.56.1)


I am not entirely sure that I'm doing everything right, but in slapmodify the
fake operation has to set op->o_hdr for several functions to use, but has no
intention of setting o_tmpmfuncs. This makes slapd segfault when it is used with
back-mdb as it only checks whether o_hdr is set.

The last patch in the series at the above URL fixes this, but maybe some other
change is more appropriate.

The attached file is derived from OpenLDAP Software. All of the
modifications to OpenLDAP Software represented in the following
patch(es) were developed by Acision. Acision has not assigned rights
and/or interest in this work to any party. I, Ondrej Kuznik am
authorized by Acision, my employer, to release this work under the
following terms.

The attached modifications to OpenLDAP Software are subject to the
following notice:
Copyright 2012 Acision
Redistribution and use in source and binary forms, with or without
modification, are permitted only as authorized by the OpenLDAP Public
License.
Comment 1 Howard Chu 2014-07-08 17:29:43 UTC
changed notes
changed state Open to Test
moved from Incoming to Development
Comment 2 Quanah Gibson-Mount 2014-07-22 14:52:18 UTC
changed notes
changed state Test to Release
Comment 3 OpenLDAP project 2014-10-23 07:29:07 UTC
added to master
added to RE25
Comment 4 Quanah Gibson-Mount 2014-10-23 07:29:07 UTC
changed notes
changed state Release to Closed