Date: Tue, 23 Dec 2003 16:05:07 -0800 From: "Jordan K. Hubbard" <jkh@queasyweasel.com> To: Udo Schweigert <freebsd@cert.siemens.de> Cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/locale ldpart.c Message-ID: <D5583BCC-35A4-11D8-BD63-000393BB9222@queasyweasel.com> In-Reply-To: <20031223134121.GA56900@alaska.cert.siemens.de> References: <200312222045.hBMKjGOr052159@repoman.freebsd.org> <20031223134121.GA56900@alaska.cert.siemens.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail-6--572172700 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed *blink*!! I'll look into this immediately, sorry guys. That's very strange... It's just a straight-up commit of what's in -current. I'll dig into it now and try and fix it, else I'll just back it out. - Jordan On Dec 23, 2003, at 5:41 AM, Udo Schweigert wrote: > On Mon, Dec 22, 2003 at 12:45:16 -0800, Jordan K. Hubbard wrote: >> jkh 2003/12/22 12:45:16 PST >> >> FreeBSD src repository >> >> Modified files: (Branch: RELENG_4) >> lib/libc/locale ldpart.c >> Log: >> MFC: fix memory leak in setlocale() helper functions. >> PR#: misc/59910 >> > > This breaks the libc. > > For example: > > /usr/obj/usr/src/bin/ls/ls > Memory fault (core dumped) > > gdb shows: > #0 0x8067fb3 in __part_load_locale () > (gdb) bt > #0 0x8067fb3 in __part_load_locale () > #1 0x8067e4c in __monetary_load_locale () > #2 0x8057c8a in setlocale () > #3 0x80579e8 in setlocale () > #4 0x8048315 in main () > #5 0x804813e in _start () > > After a buildworld it's the same for all static binaries. > > Best regards > > -- > Udo Schweigert, Siemens AG | Voice : +49 89 636 42170 > CT IC CERT, Siemens CERT | Fax : +49 89 636 41166 > D-81730 Muenchen / Germany | email : udo.schweigert@siemens.com > -- Jordan K. Hubbard Engineering Manager, BSD technology group Apple Computer --Apple-Mail-6--572172700--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D5583BCC-35A4-11D8-BD63-000393BB9222>