Bug #11421
validate_idp_list utility test function casts pointer to wrong type
Début:
17 juin 2016
Echéance:
% réalisé:
100%
Temps estimé:
Patch proposed:
Oui
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.
Fichiers
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a presque 8 ans
Could you provide a patch made with git format-patch
please ?
Mis à jour par John Dennis il y a presque 8 ans
Now it's a git formatted patch :-) sorry.
Mis à jour par John Dennis il y a presque 8 ans
- Statut changé de Nouveau à Résolu (à déployer)
- % réalisé changé de 0 à 100
Appliqué par commit fad04ed1c9718ae50ed0191c9a47cdf574798554.
Mis à jour par Benjamin Dauvergne il y a presque 6 ans
- Assigné à mis à John Dennis
- Version cible mis à 2.6.0
Mis à jour par Benjamin Dauvergne il y a presque 6 ans
- Statut changé de Résolu (à déployer) à Fermé
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