You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, good catch. Bug was introduced when it was requested that home should go to first non-space character in the line. I completely missed checking if line was empty first. I'll patch it and post a PR. will let you know when it gets merged so you can check it. Thanks for taking the time to provide an extended analysis.
paxcut
added a commit
to paxcut/ImHex
that referenced
this issue
Mar 26, 2025
This bug was fixed in a recently merged PR (#2193). You can download a nightly build from GitHub actions to confirm that the bug no longer occurs so that this issue can be closed as resolved.
Operating System
Linux
What's the issue you encountered?
I'm seeing a crash while editing patterns in ImHex's built-in editor.
Backtrace
Looking at the source, this happens on lines that only contains spaces:
We're going out-of-bounds in the crashing call trying to find the first non-space character:
How can the issue be reproduced?
Press
Home
key on an empty lineImHex Version
1.37.4
ImHex Build Type
Installation type
Arch AUR
Additional context?
No response
The text was updated successfully, but these errors were encountered: