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

[Bug] value assignment inside loop makes imhex crash #1640

Open
1 task done
Calcoph opened this issue Apr 28, 2024 · 1 comment
Open
1 task done

[Bug] value assignment inside loop makes imhex crash #1640

Calcoph opened this issue Apr 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Calcoph
Copy link

Calcoph commented Apr 28, 2024

Operating System

Windows

What's the issue you encountered?

The following code will make the code crash:

u32 value;

for (u8 i = 0, i < 1, i = i + 1) {
    value @ 0x0;
};

How can the issue be reproduced?

  1. Paste the code in the pattern editor
  2. press "run"

ImHex Version

1.33.0 a7033b6

ImHex Build Type

  • Nightly or built from sources

Installation type

MSI

Additional context?

No response

@Calcoph Calcoph added the bug Something isn't working label Apr 28, 2024
@paxcut
Copy link
Contributor

paxcut commented Apr 28, 2024

I tested the issue on 1.33.0 release 3b37011 on windows and Imhex is not crashing. The latest nightly does crash so the bug was introduced between those two releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants