makedepend 1.0.1

This commit is contained in:
matthieu 2007-09-29 08:37:34 +00:00
parent 2c39a14bf4
commit 3647395dd2
3 changed files with 18 additions and 3 deletions

View File

@ -16,4 +16,4 @@ Additional contributors:
Mark Snitily
Alexander Stohr
$XdotOrg: $
$XdotOrg: $<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>

View File

@ -1,3 +1,13 @@
2007-03-21 Jeremy C. Reed <reed@reedmedia.net>
* configure.ac:
Update version for release.
2006-06-02 Alan Coopersmith <alan.coopersmith@sun.com>
* parse.c (slookup):
Coverity #925: Pointer "file" dereferenced before NULL check
2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:

View File

@ -429,9 +429,14 @@ struct symtab **
slookup(char *symbol, struct inclist *file)
{
register int first = 0;
register int last = file->i_ndefs - 1;
register int last;
if (file) while (last >= first)
if (file == NULL)
return NULL;
last = file->i_ndefs - 1;
while (last >= first)
{
/* Fast inline binary search */
register char *s1;