This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: tst-timezone dumps core
- To: Zack Weinberg <zack@rabi.phys.columbia.edu>
- Subject: Re: tst-timezone dumps core
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 28 Jul 1998 20:25:38 -0700
- Cc: libc-hacker@gnu.org
- References: <199807231500.LAA18323@rabi.phys.columbia.edu>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
Zack Weinberg <zack@rabi.phys.columbia.edu> writes:
> For awhile now tst-timezone dumps core in __tzfile_read, in this loop:
>
> 277 for (i = 0; i < num_types; ++i)
> 278 __tzname[types[i].isdst] = __tzstring (&zone_names[types[i].idx]);
>
> num_types is absurdly large, so it runs off the end of the array.
> Probably the bug is in decode().
Can you evaluate this further? I cannot see this problem here.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------