Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Support -D_FORTIFY_SOURCE=3 by using __builtin_dynamic_object…
…_size." This reverts commit 0bd2925. Unlike __builtin_object_size, __builtin_dynamic_object_size is called at runtime and it isn't guaranteed anywhere that it always works with every pointer passed to it. It currently works with gcc because it returns -1 most of the time (which means that malloc_usable_size is used more often than not) but with clang (and probably gcc in the foreseeable future) it's just not safe to assume that all pointers can be handled at runtime. Closes systemd#23619 and systemd#23150. Reopens systemd#22801
- Loading branch information