forked from mirrors/nixpkgs
1bcbec677a
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>
14 lines
473 B
Diff
14 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],[
|