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.
This commit is contained in:
parent
d222dc2575
commit
8e08f7515a
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
|
||||
postPatch = /* CVE-2005-2471, from Arch */ ''
|
||||
substituteInPlace converter/other/pstopnm.c \
|
||||
--replace '"-DSAFER"' '"-DPARANOIDSAFER"'
|
||||
--replace '"-dSAFER"' '"-dPARANOIDSAFER"'
|
||||
'';
|
||||
|
||||
buildInputs =
|
||||
|
Loading…
x
Reference in New Issue
Block a user