Issue 7477 - ldapmodify core dumps
Summary: ldapmodify core dumps
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-12-19 13:20 UTC by marco.pizzoli@gmail.com
Modified: 2014-08-01 21:04 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 marco.pizzoli@gmail.com 2012-12-19 13:20:22 UTC
Full_Name: Marco Pizzoli
Version: RE24 as of  2012/12/12
OS: Linux x86_64
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (194.11.209.11)


I composed an erroneous ldif file to modify an entry, I executed the ldapmodify
operation and the ldapmodify tool core dumped.

I can't provide the core dump, I'm sorry.

 
These are both the ldif  and the cmdline I used:

------------------------
dn: cn=my name,ou=my_ou,dc=mydc
changetype: add
add: objectClass
objectClass: posixAccount
-
add: userPassword
userPassword: {SASL}user@domain.dc
-
------------------------

ldapmodify -vvvv -x cn=my_admin -wpassword -h 127.0.0.1 -p 389 -f file.ldif
ldap_initialize( ldap://127.0.0.1:389 )
Segmentation fault (core dumped)
Comment 1 Howard Chu 2012-12-19 17:15:49 UTC
marco.pizzoli@gmail.com wrote:
> Full_Name: Marco Pizzoli
> Version: RE24 as of  2012/12/12
> OS: Linux x86_64
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (194.11.209.11)
>
>
> I composed an erroneous ldif file to modify an entry, I executed the ldapmodify
> operation and the ldapmodify tool core dumped.
>
> I can't provide the core dump, I'm sorry.

Thanks for the report, fixed now in master.
>
>
> These are both the ldif  and the cmdline I used:
>
> ------------------------
> dn: cn=my name,ou=my_ou,dc=mydc
> changetype: add
> add: objectClass
> objectClass: posixAccount
> -
> add: userPassword
> userPassword: {SASL}user@domain.dc
> -
> ------------------------
>
> ldapmodify -vvvv -x cn=my_admin -wpassword -h 127.0.0.1 -p 389 -f file.ldif
> ldap_initialize( ldap://127.0.0.1:389 )
> Segmentation fault (core dumped)
>
>


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

Comment 2 Howard Chu 2012-12-23 18:12:49 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 3 Howard Chu 2013-01-04 13:10:57 UTC
changed notes
changed state Test to Release
Comment 4 Quanah Gibson-Mount 2013-03-05 02:25:18 UTC
changed state Release to Closed
Comment 5 OpenLDAP project 2014-08-01 21:04:45 UTC
fixed in master/RE24