Bug #11421
validate_idp_list utility test function casts pointer to wrong type
Start date:
17 June 2016
Due date:
% Done:
100%
Estimated time:
Patch proposed:
Yes
Planning:
Description
validate_idp_list was not using the correct list elements when it
iterated over the known_sp_provided_idp_entries_supporting_ecp list.
It treated them as lists of strings instead of lists of
LassoSamlp2IDPEntry.
Not sure why this ever worked, test would fail only on some
architectures, probably because of the way structs are laid out.
git formatted patch attached.
Files
Associated revisions
History
Updated by Benjamin Dauvergne over 7 years ago
Could you provide a patch made with git format-patch
please ?
Updated by John Dennis over 7 years ago
Now it's a git formatted patch :-) sorry.
Updated by John Dennis over 7 years ago
- Status changed from Nouveau to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit fad04ed1c9718ae50ed0191c9a47cdf574798554.
Updated by Benjamin Dauvergne about 5 years ago
- Assignee set to John Dennis
- Target version set to 2.6.0
Fix ecp test validate_idp_list() (fixes #11421)
validate_idp_list was not using the correct list elements when it
iterated over the known_sp_provided_idp_entries_supporting_ecp list.
It treated them as lists of strings instead of lists of
LassoSamlp2IDPEntry.
Signed-off-by: John Dennis <jdennis@redhat.com>
License: MIT