[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#408450: marked as done (Sporadic abort() when using libnss-ldap)



Your message dated Wed, 16 Nov 2022 01:20:11 +0000
with message-id <E1ov763-0016tp-7a@fasolo.debian.org>
and subject line Bug#1024140: Removed package(s) from unstable
has caused the Debian Bug report #408450,
regarding Sporadic abort() when using libnss-ldap
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
408450: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408450
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libnss-ldap
Version: 251-7
Severity: grave

I noticed my postfix bouncing mail when 'deliver' failed with a glibc malloc checking memory error. Investigation showed it to always occur in a getpwnam() call. The following test program fails in something like 100-400 calls on my libnss-ldap system but works correctly through 70k calls (all of /usr/share/dict/words) on 'normal' systems. (Deliver bug is #408406)

This bug causes email systems to randomly bounce mail. If the bug is not limited to unrecognized users it will effect the stability of the whole system. I only have 160 users, not enough to test using
only valid names, they all get cached.

#include <string.h>
#include <stdio.h>
#include <pwd.h>

main()
{
    char buf[10240], *b;
    struct passwd *p;
    int c = 0;

    while( b = fgets( buf, sizeof(buf)-1, stdin)) {
        char *n = strchr(buf,'\n');

        if( n) *n = 0;
        p = getpwnam(buf);
        fprintf(stderr,".");
        if ( c++ > 72) {
            c = 0;
            fprintf(stderr,"\n");
        }
    }
}

That program will look up each line of standard input.
A good test is...
	fgrep -v \' /usr/share/dict/words | ./ut
... to send in all the words without apostrophes, like so...

jim@core:~$ fgrep -v \' /usr/share/dict/words | ./ut
........................................................................ .. ................................................*** glibc detected *** free(): invalid pointer: 0xb7f17d14 ***
Aborted (core dumped)



--- End Message ---
--- Begin Message ---
Version: 265-6+rm

Dear submitter,

as the package libnss-ldap has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1024140

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: