GNU bug report logs - #6936
Bug#594666: /usr/bin/tac: tac aborts

Previous Next

Package: coreutils;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Sat, 28 Aug 2010 16:25:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: bug-coreutils <at> gnu.org
Subject: bug#6936: Bug#594666: /usr/bin/tac: tac aborts
Date: Sat, 28 Aug 2010 12:18:50 -0700
On 08/28/2010 09:26 AM, Jim Meyering wrote:

> This bug was introduced by commit be6c13e7, "maint: always free a
> buffer, to avoid even semblance of a leak".

Hah!  I've always been suspicious of these unnecessary free()s,
i.e., free()s that are put in only to make 'valgrind' happy.

How about if we do these unnecessary free()s only if 'lint'
is defined?  That would make the production software more
reliable.




This bug report was last modified 13 years and 294 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.