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

VHPI: Fix error message in vhpi_get_value #729

Merged
merged 1 commit into from
Jun 22, 2023
Merged

Conversation

Forty-Bot
Copy link
Contributor

If a VHPI program uses the wrong format on a prefixed name, we will access uninitialized memory when printing the error message. Fix the message.

This error message unconditionally references decl, but sometimes all we
have is pn. Fix it.

Fixes: cdddab9 ("vhpi: Add get/set support for selected names")
@nickg nickg merged commit ef1daf0 into nickg:master Jun 22, 2023
7 checks passed
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