| Summary: | enable AddressSanitizer and fix memory issues | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Christian Rauch <Rauch.Christian> |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.15 | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
AddressSanitizer patch set (tar.xz)
patch enable AddressSanitizer if supported |
||
|
Description
Christian Rauch
2021-01-30 23:42:48 UTC
The two fixes are applied: https://hg.libsdl.org/SDL/rev/064d83809cf8 https://hg.libsdl.org/SDL/rev/19a9918810ba The first patch needs to check to make sure the address sanitization flags are supported by the compiler before setting them in the CFLAGS. Created attachment 4748 [details]
patch enable AddressSanitizer if supported
This patch adds the AddressSanitizer flags if supported by the compiler.
Great, thanks! https://hg.libsdl.org/SDL/rev/d5b71cb1a9dd |