nixpkgs/pkgs/development/libraries/cyrus-sasl/cyrus-sasl-ac-try-run-fix.patch
Martin Weinelt 1bcbec677a
cyrus_sasl: 2.1.27 -> 2.1.28
https://www.cyrusimap.org/sasl/sasl/release-notes/2.1/index.html#new-in-2-1-28

Fixes: CVE-2022-24407 ("Escape password for SQL insert/update
commands.")
Co-Authored-By: illustris <rharikrishnan95@gmail.com>
2022-02-24 17:38:25 +01:00

13 lines
473 B
Diff

diff --git a/m4/sasl2.m4 b/m4/sasl2.m4
index 098c853a..91d98def 100644
--- a/m4/sasl2.m4
+++ b/m4/sasl2.m4
@@ -350,7 +350,7 @@ int main(void)
return (!have_spnego); // 0 = success, 1 = failure
}
-],[ac_cv_gssapi_supports_spnego=yes],[ac_cv_gssapi_supports_spnego=no])
+],[ac_cv_gssapi_supports_spnego=yes],[ac_cv_gssapi_supports_spnego=no],[ac_cv_gssapi_supports_spnego=no])
LIBS="$cmu_save_LIBS"
])
AS_IF([test "$ac_cv_gssapi_supports_spnego" = yes],[