Skip to content

Commit

Permalink
epics-base: re-disable fortify3 on older epics
Browse files Browse the repository at this point in the history
  • Loading branch information
Synthetica9 committed Jul 1, 2024
1 parent c6608e5 commit a10ea76
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/epnix/epics-base/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,15 @@ in
# TODO: Some tests fail
doCheck = false;

# _FORTIFY_SOURCE=3 detects a false-positive buffer overflow in some cases:
# *** buffer overflow detected ***: terminated
#
# EPICS automatically falls back to _FORTIFY_SOURCE=2 since 7.0.8.1
# Being tracked in https://github.com/epics-base/epics-base/issues/514, hopefully with a fix
# in EPICS 7.0.9

hardeningDisable = optional (versionOlder version "7.0.8.1") "fortify3";

meta = {
description = "The Experimental Physics and Industrial Control System";
homepage = "https://epics-controls.org/";
Expand Down

0 comments on commit a10ea76

Please sign in to comment.