You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have noticed that EffectiveSan, under certain conditions, does not detect misuses of free (CWE-761), and are wondering if this is expected behavior.
The misuse in the following example is not detected:
This one is real. The current implementation of effective_free(p) allows p to point anywhere in the object, and not restricted to just the base pointer.
This is not an inherent limitation of EffectiveSan, just a quirk of the current implementation. It should be easy to fix, so I will keep the issue open.
Dear EffectiveSan authors,
We have noticed that EffectiveSan, under certain conditions, does not detect misuses of free (CWE-761), and are wondering if this is expected behavior.
The misuse in the following example is not detected:
Compiler versions used:
Flags used:
-fsanitize=effective -O2
The text was updated successfully, but these errors were encountered: