Your message dated Mon, 19 Dec 2005 05:47:08 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#341773: fixed in libnss-db 2.2.3pre1-2
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Dec 2005 22:46:58 +0000
>From [EMAIL PROTECTED] Fri Dec 02 14:46:58 2005
Return-path: <[EMAIL PROTECTED]>
Received: from loki.0c3.net ([69.0.240.48])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EiJgA-0005fN-N6
        for [EMAIL PROTECTED]; Fri, 02 Dec 2005 14:46:58 -0800
Received: from [203.49.196.168] (helo=brainfreeze.fooishbar.org)
        by loki.0c3.net with esmtp (Exim 4.34)
        id 1EiJfe-0002Dg-N9
        for [EMAIL PROTECTED]; Fri, 02 Dec 2005 15:46:28 -0700
Received: from ephemera.fooishbar.org (localhost.localdomain [127.0.0.1])
        by brainfreeze.fooishbar.org (Postfix) with ESMTP id 7C48B6B725
        for <[EMAIL PROTECTED]>; Sat,  3 Dec 2005 09:47:14 +1100 (EST)
Received: by ephemera.fooishbar.org (Postfix, from userid 1000)
        id 867D627C3BB; Sat,  3 Dec 2005 09:50:04 +1100 (EST)
Date: Sat, 3 Dec 2005 09:50:04 +1100
From: Daniel Stone <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: segfaults (!) when processing previously valid group files
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="XWOWbaMNXpFDWE00"
Content-Disposition: inline
User-Agent: Mutt/1.5.11
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02


--XWOWbaMNXpFDWE00
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: libnss-db
Version: 2.2.3pre1-1
Severity: critical
Justification: smashes entire system with WORLD-ENDING levels of breakage

Hi,
Using libnss-db from sid results in some rather, er, unpleasant
behaviour.  With the group files below, and 'group: compat db' in
nsswitch.conf, anything that attempts to deal with groups, segfaults.
This includes OpenSSH (so not even root can log in), and su.  The end
result is that you better well have rockin' remote management so you can
reboot your machine and boot with init=/bin/sh.

Downgrading to libnss-db 2.2-6.3 works just fine.

This is the backtrace generated with libc6-dbg:
(gdb) bt f
#0  *__GI__nss_files_parse_grent (
    line=0x7fbffff3f6 
"jrfonseca,kaleb,ago,stukreit,cworth,keithp,clee,kem,branden,jkolb,doursse,jkj,bogdand,sndirsch,jbarnes,mhopf,spyderous,aplattner,benh,philipl",
 result=0x7fbffff6b0, data=0x7fbffff260, datalen=1024,
    errnop=0x622c72656e747461) at files-parse.c:208
        list = (char **) 0x7fbffff660
        p = Variable "p" is not available.
(gdb) print *data
$7 = {linebuffer = 0x7fbffff260 "xorg"}
(gdb) print *result
$8 = {gr_name = 0x7fbffff260 "xorg", gr_passwd = 0x7fbffff265 "x",
  gr_gid = 801, gr_mem = 0x7fbffff290}
(gdb) print **list
$9 = 0 '\0'
(gdb) print *errnop
Cannot access memory at address 0x622c72656e747461

Notice how errnop in particular seems to be wildly off.

Also, I don't claim to know the internals of exactly how it works, but
line is badly truncated; this is the original:
xorg:x:801:daniels,gisburn,eich,jg,pma,pascal,twini,jacotton,unichrome,alanh,alanc,amirbukhari,hyu,ldelgass,fabbione,brianp,nakee,mharris,deronj,daenzer,keithw,kendallb,harold,torrey,zack,ewalsh,earle,wt,bastian,faith,idr,krh,nolan,jdennis,ajax,josh,takuma,mark,volodya,adg,anderson,sandmann,vektor,syrjala,fxkuehl,zakki,anholt,alan,libv,sroland,erdi,viewtouch,agd5f,kuhn,jhobson,herrb,davidr,lars,airlied,jrfonseca,kaleb,ago,stukreit,cworth,keithp,clee,kem,branden,jkolb,doursse,jkj,bogdand,sndirsch,jbarnes,mhopf,spyderous,aplattner,benh,philipl

This is an amd64 system.

Original TDB file:
http://annarchy.freedesktop.org/~daniels/group.tdb
Processed DB file:
http://annarchy.freedesktop.org/~daniels/group.db

Cheers,
Daniel

--XWOWbaMNXpFDWE00
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDkM+cRkzMgPKxYGwRAtRSAJ9vkQrta+E3bT1tJ2moYGIBoTh0dACdEnup
W20X2XJMQWIzPJAdNDBQP5w=
=gdj2
-----END PGP SIGNATURE-----

--XWOWbaMNXpFDWE00--

---------------------------------------
Received: (at 341773-close) by bugs.debian.org; 19 Dec 2005 13:50:56 +0000
>From [EMAIL PROTECTED] Mon Dec 19 05:50:56 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1EoLM4-0002Jk-PR; Mon, 19 Dec 2005 05:47:08 -0800
From: Piotr Roszatycki <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.65 $
Subject: Bug#341773: fixed in libnss-db 2.2.3pre1-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 19 Dec 2005 05:47:08 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
        NO_DNS_FOR_FROM autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: libnss-db
Source-Version: 2.2.3pre1-2

We believe that the bug you reported is fixed in the latest version of
libnss-db, which is due to be installed in the Debian FTP archive:

libnss-db_2.2.3pre1-2.diff.gz
  to pool/main/libn/libnss-db/libnss-db_2.2.3pre1-2.diff.gz
libnss-db_2.2.3pre1-2.dsc
  to pool/main/libn/libnss-db/libnss-db_2.2.3pre1-2.dsc
libnss-db_2.2.3pre1-2_i386.deb
  to pool/main/libn/libnss-db/libnss-db_2.2.3pre1-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Piotr Roszatycki <[EMAIL PROTECTED]> (supplier of updated libnss-db package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 19 Dec 2005 11:45:15 +0100
Source: libnss-db
Binary: libnss-db
Architecture: source i386
Version: 2.2.3pre1-2
Distribution: unstable
Urgency: high
Maintainer: Piotr Roszatycki <[EMAIL PROTECTED]>
Changed-By: Piotr Roszatycki <[EMAIL PROTECTED]>
Description: 
 libnss-db  - NSS module for using Berkeley Databases as a naming service
Closes: 322190 341773
Changes: 
 libnss-db (2.2.3pre1-2) unstable; urgency=high
 .
   * Renumbered Debian patches.
   * Modified 060-errno.patch:
     - Do not remove errnop variable. It causes fatal error on amd64. Just
       set errno to ENOENT by default. Closes: #341773.
   * Modified 070-selinux.patch:
     - Fix configure script for SELinux and fix FTBFS on hurd-i386.
       Closes: #322190.
   * Removed 120-gettextize.patch:
     - Call gettextize in build time with a little help of IPC::Run.
Files: 
 4f9ca4e8c1b38e33bb9588f160e3e187 702 admin standard libnss-db_2.2.3pre1-2.dsc
 d4bfc2b150a09f7ac5a2639ff5b4663f 15142 admin standard 
libnss-db_2.2.3pre1-2.diff.gz
 8dced130fb5691e2c4bfb340eed50a74 25508 admin standard 
libnss-db_2.2.3pre1-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDprZ4hMHHe8CxClsRAoTYAJ47nnjZE2KbFszDCUlO0rWeElun7ACfUGY7
HyfDSY89YWX6/4nc8YSumTU=
=c4PT
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to