diff options
author | Andreas Rammhold <andreas@rammhold.de> | 2020-02-22 14:28:32 +0100 |
---|---|---|
committer | Andreas Rammhold <andreas@rammhold.de> | 2020-02-22 14:28:32 +0100 |
commit | 8e08f7515aed91689db2c978b00911043781a651 (patch) | |
tree | 1ca4288dbf38a0f4b0e8d205ee2c74d3ad81372f /pkgs/tools/graphics/netpbm | |
parent | d222dc257502709bd42f1eebe686fc61e321539e (diff) |
netpbm: fix typo on substituteInPlace parameters
It seems like originally `-dSAFER` should have been replaced with `-dPARANOIDSAFER` instead of `-DSAFER` (capital D vs lower case d). This was pointed out in #75153. This might now finally (properly?) fix CVE-2005-2471.
Diffstat (limited to 'pkgs/tools/graphics/netpbm')
-rw-r--r-- | pkgs/tools/graphics/netpbm/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/netpbm/default.nix b/pkgs/tools/graphics/netpbm/default.nix index 9de7603c9730f..b67e71c0fdf02 100644 --- a/pkgs/tools/graphics/netpbm/default.nix +++ b/pkgs/tools/graphics/netpbm/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation { postPatch = /* CVE-2005-2471, from Arch */ '' substituteInPlace converter/other/pstopnm.c \ - --replace '"-DSAFER"' '"-DPARANOIDSAFER"' + --replace '"-dSAFER"' '"-dPARANOIDSAFER"' ''; buildInputs = |