fix-lasso-saml2-provider-segfault.patch
./lasso/saml-2.0/provider.c 2012-08-03 13:42:13.158450812 -0700 | ||
---|---|---|
158 | 158 |
} |
159 | 159 |
indexed_endpoint = checkSaml2MdNode(xmlnode, LASSO_SAML2_METADATA_ELEMENT_ASSERTION_CONSUMER_SERVICE); |
160 | 160 |
if (indexed_endpoint) { |
161 |
if (! xsdUnsignedShortParse(index, &idx)) { |
|
161 |
if (! index || ! xsdUnsignedShortParse(index, &idx)) {
|
|
162 | 162 |
warning("Invalid AssertionConsumerService, no index set"); |
163 | 163 |
goto cleanup; |
164 | 164 |
} |