Skip to content

ber_decode successful, but memory seems corrupted #505

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

Open
mzamponi-dermalog opened this issue Mar 7, 2025 · 0 comments
Open

ber_decode successful, but memory seems corrupted #505

mzamponi-dermalog opened this issue Mar 7, 2025 · 0 comments

Comments

@mzamponi-dermalog
Copy link

I am using ber_decode() successfully (returncode 0) to decode a der encoded file in Visual Studio 2022.
After decoding, I am calling asn_fprint() to print the entire to stdout. No problems, all data is successfully decoded and printed.

But in the "Watch" windows of the debugger of VS2022, this expression repBlock->captureDateTimeBlock != nullptr evaluates to true while an if statement with the same expression evaluates it to false.
What could be the cause?

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

No branches or pull requests

1 participant