Re: Some potential bugs in make-3.82

2013-05-07 Thread Norbert Thiebaud
On Tue, May 7, 2013 at 10:24 PM, Zhenbo Xu wrote: > 2. Out of bound > file: function.c > function: func_sort > At line 1150: words = xmalloc (wordi * sizeof (char *)); > The value of wordi may be 1. > > At line 1171: if (i == wordi - 1 || strlen (words[i + 1]) != len > words[i + 1] may cause overf

Some potential bugs in make-3.82

2013-05-07 Thread Zhenbo Xu
Hi, I'm a developer of a static analysis tool canalyze. Recently I applied it to make-3.82. It seems some reports are real after by manually checking: 1. Null Dereference file: hash.c function: hash_rehash At line 262: ht->ht_vec = (void **) CALLOC (struct token *, ht->ht_size); Should we check ht-

enter/leave messages (was: Re: Output sync completed (?))

2013-05-07 Thread Paul Smith
On Mon, 2013-05-06 at 10:26 +0200, Stefano Lattarini wrote: > > * Extraneous enter/leave lines are not printed any longer. > > > I still see them actually, if I try to build the latest coreutils I guess it depends on your definition of "extraneous" :-). I was considering "extraneous" to me