Skip to content

Conversation

@buraksenkus
Copy link
Contributor

Recently, I'm trying to use its::r2::Vam in my code. I encountered an issue while validating the message. It basically causes an infinite loop while checking the VAM header constraints. The commit dae0283 is just for reproducing the error. Please confirm the issue. And the commit b861330 is just a workaround even I know this file is a generated file by asn1c and shouldn't be edited directly. I couldn't find the origin of the error and I'm not sure if it affects other generated files. The fix can be revised for a more clean approach.

@sonarqubecloud
Copy link

@riebl
Copy link
Owner

riebl commented Dec 27, 2025

Ha, this issue just sounded too familiar and it is, see ika-rwth-aachen/etsi_its_messages#77
Simply using a more recent asn1c version should do the trick, i.e. a version after this PR mouse07410/asn1c#234

@riebl
Copy link
Owner

riebl commented Dec 29, 2025

I have added your VAM test (see 255e1be) and the new master uses now code generated with a more recent asn1c (see db62513).
Thanks for your collaboration!

@riebl riebl closed this Dec 29, 2025
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 this pull request may close these issues.

2 participants