Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnattest: unsave list access in Test.Skeleton.Add_DT #24

Open
kilian-gebhardt opened this issue May 31, 2023 · 0 comments · May be fixed by #26
Open

gnattest: unsave list access in Test.Skeleton.Add_DT #24

kilian-gebhardt opened this issue May 31, 2023 · 0 comments · May be fixed by #26

Comments

@kilian-gebhardt
Copy link

I experienced a crash in gnattest's Test.Skeleton.Add_DT:

      loop
         exit when TP_Cur = TP_Mapping_List.No_Element;

         if TP_Mapping_List.Element (TP_Cur).TP_Name.all = TPtarg then
            exit;
         end if;

         TP_Mapping_List.Next (TP_Cur);
      end loop;

      TP := TP_Mapping_List.Element (TP_Cur);

If TP_Cur = TP_Mapping_List.No_Element, then TP_Mapping_List.Element (TP_Cur) raises a constraint error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant