2000-02-09  Andreas Jaeger  <aj@suse.de>

	* time/strptime.c (strptime_internal): Fix pointer dereference.
	Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
	libc/1591.
This commit is contained in:
Ulrich Drepper 2000-02-11 21:04:20 +00:00
parent d6c5fe3a25
commit f9a7302fd1
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2000-02-09 Andreas Jaeger <aj@suse.de>
* time/strptime.c (strptime_internal): Fix pointer dereference.
Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
libc/1591.
2000-02-08 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/alpha/msgctl.c: New file.

View File

@ -1,5 +1,5 @@
/* Convert a string representation of time to a time value.
Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@ -459,7 +459,7 @@ strptime_internal (rp, fmt, tm, decided, era_cnt)
}
else
{
if (decided == not
if (*decided == not
&& strcmp (_NL_CURRENT (LC_TIME, D_FMT), HERE_D_FMT))
*decided = loc;
want_xday = 1;