diff options
author | László Várady <laszlo.varady93@gmail.com> | 2019-08-09 14:24:14 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2019-09-08 11:38:29 +0200 |
commit | e63811dd86c340cd1758509b422e9c4978129804 (patch) | |
tree | 9d7b5f68dfa6571a2eae6f839813a6ec410ab3fa /THANKS | |
parent | 47262c36bb13a2d0d21a3a78ce83c8f34deea008 (diff) | |
download | bison-e63811dd86c340cd1758509b422e9c4978129804.tar.gz |
diagnostics: fix invalid error message indentation
https://lists.gnu.org/archive/html/bison-patches/2019-08/msg00007.html
When Bison is started with a flag that suppresses warning messages, the
error_message() function can produce a few gigabytes of indentation
because of a dangling pointer.
* src/complain.c (error_message): Don't reset indent_ptr here, but...
(complain_indent): here.
* tests/diagnostics.at (Indentation with message suppression): Check
this case.
Diffstat (limited to 'THANKS')
-rw-r--r-- | THANKS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -95,6 +95,7 @@ Keith Browne kbrowne@legato.com Ken Moffat zarniwhoop@ntlworld.com Kiyoshi Kanazawa yoi_no_myoujou@yahoo.co.jp Laurent Mascherpa laurent.mascherpa@epita.fr +László Várady laszlo.varady93@gmail.com Lie Yan lie.yan@kaust.edu.sa Magnus Fromreide magfr@lysator.liu.se Marc Autret autret_m@epita.fr |