OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Software Bugs/7255
Full headers

From: ondrej.kuznik@acision.com
Subject: back-mdb hangs during mdb_tool_entry_modify
Compose comment
Download message
State:
0 replies:
1 followups: 1

Major security issue: yes  no

Notes:

Notification:


Date: Mon, 23 Apr 2012 15:54:55 +0000
From: ondrej.kuznik@acision.com
To: openldap-its@OpenLDAP.org
Subject: back-mdb hangs during mdb_tool_entry_modify 
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)


When calling mdb_tool_entry_modify, a new transaction is being set up and this
hangs the process on a mutex that the thread already holds.

For a possible patch see the last patch in the series at the above URL.

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.

Followup 1

Download message
Date: Wed, 02 May 2012 13:33:44 -0700
From: Howard Chu <hyc@symas.com>
To: ondrej.kuznik@acision.com
CC: openldap-its@openldap.org
Subject: Re: (ITS#7255) back-mdb hangs during mdb_tool_entry_modify
ondrej.kuznik@acision.com wrote:
> 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)
>
>
> When calling mdb_tool_entry_modify, a new transaction is being set up and
this
> hangs the process on a mutex that the thread already holds.
>
> For a possible patch see the last patch in the series at the above URL.

Thanks for the report. Your fix is incomplete, a working fix is in git master
now.
>
> 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.
>
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/



Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org