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] Built-in PNG & JPEG patterns not working - "array expanded past end of the data" - even for provided test files #1638

Open
1 task
miking7 opened this issue Apr 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@miking7
Copy link

miking7 commented Apr 27, 2024

Operating System

MacOS

What's the issue you encountered?

The built-in PNG + JPEG patterns are throwing errors on all PNG or JPEG files I have tried (even the provided test files):

  • Error: "array expanded past end of the data"

How can the issue be reproduced?

  • Fresh (DMG) installation of ImHex on MacOS
  • Download test PNG & JPEG files - ie: jpeg.hexpat.jpeg and png.hexpat.png from: https://github.com/WerWolv/ImHex-Patterns/tree/master/tests/patterns/test_data
  • Open either of these files in ImHex.
  • Accept the "png.hexpat" or "jpeg.hexpat" compatible pattern that pops up when file is opened.
  • Pattern execution fails with runtime error: "Array expanded past end of the data". (PNG on line 117, JPEG on line 147 of their respective pattern files)

ImHex Version

1.33.2

ImHex Build Type

  • Nightly or built from sources

Installation type

DMG

Additional context?

@miking7 miking7 added the bug Something isn't working label Apr 27, 2024
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

1 participant