[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7256) back-mdb segfaults trying to free an entry in tool mode

Full_Name: Ondrej Kuznik
Version: master
OS: Linux
URL: ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20120423-slapmodify-support.tgz
Submission from: (NULL) (

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