[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110669] error: ‘free’ of ‘yyss1’ which points to memory not on the
From: |
anonymous |
Subject: |
[sr #110669] error: ‘free’ of ‘yyss1’ which points to memory not on the heap |
Date: |
Thu, 2 Jun 2022 15:18:56 -0400 (EDT) |
URL:
<https://savannah.gnu.org/support/?110669>
Summary: error: ‘free’ of ‘yyss1’ which points to
memory not on the heap
Project: Bison
Submitter: None
Submitted: Thu 02 Jun 2022 07:18:54 PM UTC
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email: seirios@member.fsf.org
Open/Closed: Open
Discussion Lock: Any
Operating System: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 02 Jun 2022 07:18:54 PM UTC By: Anonymous
GCC 11.2.0 -fanalyzer reports the following error in a generated parser:
error: ‘free’ of ‘yyss1’ which points to memory not on the heap
[CWE-590] [-Werror=analyzer-free-of-non-heap]
referring to the following part:
# undef YYSTACK_RELOCATE
if (yyss1 != yyssa)
YYSTACK_FREE (yyss1);
}
# endif
Since this does not seem specific to my parser, I'm posting here.
This may be a false positive from the static analyzer, though.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110669>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [sr #110669] error: ‘free’ of ‘yyss1’ which points to memory not on the heap,
anonymous <=