Closed batrla closed 5 years ago
diff -ru mod_auth_mellon-0.14.1/auth_mellon.h mod_auth_mellon-0.14.1.new/auth_mellon.h
--- mod_auth_mellon-0.14.1/auth_mellon.h 2018-07-25 10:19:25.000000000 +0000
+++ mod_auth_mellon-0.14.1.new/auth_mellon.h 2019-03-26 20:29:06.894212725 +0000
@@ -25,6 +25,7 @@
#include "config.h"
#include <stdbool.h>
+#include <strings.h>
#include <lasso/lasso.h>
#include <lasso/xml/saml-2.0/samlp2_authn_request.h>
Hi,
could you please submit this as a pull request? That would make it trivial to apply.
Fixed by #208
Compilation on Solaris reports warning:
And binary dumps core (SPARCv9 64-bit), because rindex() is assumed to be integer type, so compiler sign extends its return value and then uses the number as a pointer:
Please see attached patch for suggested fix.