mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
* locale/programs/locarchive.c (show_archive_content): Fix sizeof
argument in xmalloc size computation. 2007-04-16 Jakub Jelinek <jakub@redhat.com> * locale/programs/locarchive.c (show_archive_content): Fix sizeof argument in xmalloc size computation.
This commit is contained in:
parent
7a82b74f17
commit
07358add74
@ -1,3 +1,8 @@
|
||||
2007-04-16 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* locale/programs/locarchive.c (show_archive_content): Fix sizeof
|
||||
argument in xmalloc size computation.
|
||||
|
||||
2007-04-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Use
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2002, 2003, 2005, 2007 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||
|
||||
@ -1428,7 +1428,7 @@ show_archive_content (int verbose)
|
||||
int sumused;
|
||||
|
||||
files = (struct dataent *) xmalloc (head->sumhash_used
|
||||
* sizeof (struct sumhashent));
|
||||
* sizeof (struct dataent));
|
||||
|
||||
sumhashtab = (struct sumhashent *) ((char *) ah.addr
|
||||
+ head->sumhash_offset);
|
||||
|
Loading…
Reference in New Issue
Block a user