Projet

Général

Profil

Bug #11421

validate_idp_list utility test function casts pointer to wrong type

Ajouté par John Dennis il y a presque 8 ans. Mis à jour il y a presque 6 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
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

Révision fad04ed1 (diff)
Ajouté par John Dennis il y a presque 8 ans

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 <>
License: MIT

Historique

#1

Mis à jour par Benjamin Dauvergne il y a presque 8 ans

Could you provide a patch made with git format-patch please ?

#2

Mis à jour par John Dennis il y a presque 8 ans

Now it's a git formatted patch :-) sorry.

#3

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
#4

Mis à jour par Benjamin Dauvergne il y a presque 6 ans

  • Assigné à mis à John Dennis
  • Version cible mis à 2.6.0
#5

Mis à jour par Benjamin Dauvergne il y a presque 6 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF