Skip to content

lib: guard definition of strl{cat,cpy} against glibc version when _FORTIFY_SOURCE is enabled#21253

Merged
andrewrk merged 1 commit intoziglang:masterfrom
FedeDP:fix/glibc_string_fortified_strl_exposed
Sep 1, 2024
Merged

lib: guard definition of strl{cat,cpy} against glibc version when _FORTIFY_SOURCE is enabled#21253
andrewrk merged 1 commit intoziglang:masterfrom
FedeDP:fix/glibc_string_fortified_strl_exposed

Conversation

@FedeDP
Copy link
Contributor

@FedeDP FedeDP commented Aug 30, 2024

Fixes #21252

…FORTIFY_SOURCE is enabled.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
@andrewrk andrewrk enabled auto-merge (rebase) September 1, 2024 03:50
@andrewrk andrewrk merged commit b7a98d0 into ziglang:master Sep 1, 2024
@FedeDP FedeDP deleted the fix/glibc_string_fortified_strl_exposed branch September 2, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compiling C program with zig cc with FORTIFY_SOURCE enabled leads to linking issue when building against < 2.38 glibc version

3 participants