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:
Andreas Rammhold 2020-02-22 14:28:32 +01:00
parent d222dc2575
commit 8e08f7515a
No known key found for this signature in database
GPG Key ID: E432E410B5E48C86

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation {
postPatch = /* CVE-2005-2471, from Arch */ ''
substituteInPlace converter/other/pstopnm.c \
--replace '"-DSAFER"' '"-DPARANOIDSAFER"'
--replace '"-dSAFER"' '"-dPARANOIDSAFER"'
'';
buildInputs =