[MDEV-19360] Disable _FORTIFY_SOURCE for ASAN builds Created: 2019-04-29  Updated: 2019-06-07  Resolved: 2019-06-07

Status: Closed
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 5.5, 10.1, 10.2, 10.3, 10.4, 10.5
Fix Version/s: 10.2.25, 10.1.41, 10.3.16, 10.4.6

Type: Bug Priority: Major
Reporter: Eugene Kosov (Inactive) Assignee: Eugene Kosov (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

Those two do not work well together. https://github.com/google/sanitizers/wiki/AddressSanitizer#faq

I think it should be fixed in CMakeLists.txt

Additionally a check inside source code is needed because some OSs, like Ubuntu, enable _FORTIFY_SOURCE by default.


Generated at Thu Feb 08 08:51:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.