-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
Description of the false positive
LGTM detects an overflow of the static array but the tag is sized 5 (TAG_SIZE+1) with a MACRO definition of TAG_SIZE set at 4.
It should not detect an overflow. Maybe it can alert on a misleading code since " tag[TAG_SIZE] = '\0' " would have been semantically better.
URL to the alert on the project page on LGTM.com