From 3a7ad3610f64cfa4a231fb543712371c1828e5e4 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 28 Sep 2022 18:18:36 +0200 Subject: [PATCH] Fix parsing of Count attribute of saml:ProxyRestriction (#69673) --- NEWS | 6 ++++++ lasso/xml/saml-2.0/saml2_proxy_restriction.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 75a02735..a608270f 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,12 @@ NEWS ==== +2.81. - to be release +--------------------- + +- fix wrong parsing of Count attribute on saml:ProxyRestriction, thanks to + Maxime Besson from Worteks. + 2.8.0 - March 15th 2022 ----------------------- diff --git a/lasso/xml/saml-2.0/saml2_proxy_restriction.c b/lasso/xml/saml-2.0/saml2_proxy_restriction.c index c4b27784..557812c9 100644 --- a/lasso/xml/saml-2.0/saml2_proxy_restriction.c +++ b/lasso/xml/saml-2.0/saml2_proxy_restriction.c @@ -53,7 +53,7 @@ static struct XmlSnippet schema_snippets[] = { { "Audience", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoSaml2ProxyRestriction, Audience), NULL, NULL, NULL}, - { "Count", SNIPPET_CONTENT, + { "Count", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSaml2ProxyRestriction, Count), NULL, NULL, NULL}, {NULL, 0, 0, NULL, NULL, NULL} };