Bug#944915: libldap-2.4-2: Segmentation fault in "ldap_unbind_ext"

Bernhard Übelacker bernhardu at mailbox.org
Mon Nov 18 17:48:46 GMT 2019


On Sun, 17 Nov 2019 10:33:10 -0800 Ryan Tandy <ryan at nardis.ca> wrote:
> On Sun, Nov 17, 2019 at 05:11:13PM +0100, Lars Kruse wrote:
> >  #0  0xb77acbea in ldap_unbind_ext () at /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2
> 
> Please could you install libldap-2.4-2-dbgsym and obtain the backtrace 
> again:
> 
> https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols
> 

Hello Lars, hello Ryan,
having a proper backtrace with symbols installed would be better,
but I think that last address translates to:

  0x.....bea in ldap_unbind_ext at unbind.c:46

That would be that line:

  46              assert( LDAP_VALID( ld ) );

Therefore this function might have received ld pointing to
existing memory, but the ld->ldc might point to an invalid address.

So having that crash with gdb attached, the output of
following commands might be interesting too:

  print ld
  print ld->ldc
  print *ld
  print *(ld->ldc)

Kind regards,
Bernhard



More information about the Pkg-openldap-devel mailing list