Skip to content

Add: extra format string compiler security flags#503

Merged
dnzbk merged 1 commit intodevelopfrom
str-format-security-flags
Feb 18, 2025
Merged

Add: extra format string compiler security flags#503
dnzbk merged 1 commit intodevelopfrom
str-format-security-flags

Conversation

@dnzbk
Copy link
Copy Markdown
Collaborator

@dnzbk dnzbk commented Feb 17, 2025

Description

  • added additional security flags to treat potential format string vulnerabilities as errors:
    • GCC/Clang: -Werror=format-security
    • MSVC: /we4477 /we4473

Testing

  • Windows 11 AMD64
  • Linux Debian 12 AMD64

@dnzbk dnzbk requested review from luckedea and phnzb February 17, 2025 07:11
@dnzbk dnzbk linked an issue Feb 17, 2025 that may be closed by this pull request
@dnzbk dnzbk merged commit 4ffcb04 into develop Feb 18, 2025
@dnzbk dnzbk deleted the str-format-security-flags branch February 18, 2025 17:00
beertje44 pushed a commit to beertje44/nzbget that referenced this pull request Mar 4, 2025
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.

Allow Compiling With -Werror=format-security

2 participants