[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #59881] Segmentation Fault through manipulated Makefile
From: |
Paul D. Smith |
Subject: |
[bug #59881] Segmentation Fault through manipulated Makefile |
Date: |
Sun, 14 Mar 2021 18:31:14 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36 |
Follow-up Comment #6, bug #59881 (project make):
I think it's probably better to use variable_buffer here, for safety. But,
there's something much deeper and more mysterious happening. It shouldn't
really be possible to hit this problem. The reason that the buffer is resized
is that the stem of the pattern contains spaces; it's "000000000 0000000000
0000000". Because of this, the expansion of the pattern on the RHS happens
multiple times for this single file instead of just one time.
It's related to the vertical TAB characters in this file; if I replace them
with spaces I don't see this behavior. The problem is that in some places in
the parser we're treating VT as whitespace (word separators) and in other
places we are treating it as non-whitespace.
I'm investigating this.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59881>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #59881] Segmentation Fault through manipulated Makefile,
Paul D. Smith <=