GNU bug report logs - #37585
Undefined behavior in nl, print_lineno

Previous Next

Package: coreutils;

Reported by: Roland Illig <roland.illig <at> gmx.de>

Date: Wed, 2 Oct 2019 14:52:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Roland Illig <roland.illig <at> gmx.de>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 37585-done <at> debbugs.gnu.org
Subject: bug#37585: Undefined behavior in nl, print_lineno
Date: Thu, 3 Oct 2019 22:17:26 +0200
Am 03.10.2019 um 21:43 schrieb Paul Eggert:
> Thanks for the bug report. I looked for similar problems involving
> integer-overflow diagnostics in coreutils and installed the attached
> patches. The second patch should fix the bug you mentioned.

Ah, the code looks so much simpler and nicer with the high-level
overflow check macros in place. Thank you for analyzing and fixing this
thoroughly.




This bug report was last modified 5 years and 226 days ago.

Previous Next


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