pixel / hexedit

View and edit files in hexadecimal or in ASCII
http://rigaux.org/hexedit.html
GNU General Public License v2.0
98 stars 41 forks source link

opening 0-byte files leads to Floating point exception (core dumped) #44

Closed requiredregistration closed 2 years ago

requiredregistration commented 3 years ago

.

AkechiShiro commented 3 years ago

Facing the same issue, opening a non-zero bytes file works fine.

AkechiShiro commented 3 years ago

This issue should be fixed by commit 41981645134d201151f1cea9fd964d892166e866 so @requiredregistration you should close this issue.

etothepi16 commented 3 years ago

This is still an issue on Kali linux rolling in WSL

zlice commented 2 years ago

void linux, same

AkechiShiro commented 2 years ago

Is there no way to build from source @etothepi16 @zlice, Kali Linux rolling (hm is it rolling release ?) I don't know if you have any build system like the AUR (https://wiki.archlinux.org/title/Arch_User_Repository)

This issue will probably be fixed in a new release, but only the maintainers of this project can tell you if that will happen and when it could happen.

zlice commented 2 years ago

i just made a pr for void actually. thx for the patch

prigaux commented 2 years ago

I just released 1.6 which includes the fix https://github.com/pixel/hexedit/commit/41981645134d201151f1cea9fd964d892166e866

AkechiShiro commented 2 years ago

Thanks a lot @prigaux !