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

Bug#166488: bug fixed in cvs



To get line numbers out of the debugging libc6 I recompiled it locally
and then used the resulting binary.  I don't think I modified the
build files, I did earlier but I don't think I did on the one that
worked for me.

If you want a simple test program I have one that crashes everytime
even without electric fence or valgrind, I could e-mail it if you want
it.  The trick is to have a long ( 4KB+ to be sure), string and a
really small regex string.  Make sure there aren't any characters that
are in the regex string in the string you are going to search, until
the very end of the string.  Case insensitive searching is required.

As far as #165603 goes it is the same bug.  I used electric fence and
`apropos xkb` with a unpatched glibc 2.3.1-5 and a system with my
version of the patch for the same glibc.  It crashed in re_exec with
the unpatched and ran fine on the patched system.  Naturally it
doesn't take as specific of a string to crash using electric fence or
valgrind as it does without them.  

I'm not running slapd but it also sounds like the same bug.

On Sun, Nov 24, 2002 at 08:43:28AM -0600, Colin Watson wrote:
> On Thu, Nov 21, 2002 at 04:54:47PM -0600, David Fries wrote:
> > http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/posix/regex_internal.c?cvsroot=glibc
> > lists cvs information for regex_internal.c and version 1.15 fixed the
> > bug.
> 
> So this should be merged with #165603 then? (It causes sporadic crashes
> in apropos and I think also critical bug #167946 in slapd.)
> 
> -- 
> Colin Watson                                  [cjwatson@flatline.org.uk]

-- 
David Fries <dfries@mail.win.org>
http://fries.net/~david/pgpkey.txt

Attachment: pgpc_MCvicoN8.pgp
Description: PGP signature


Reply to: