#794812 ghex: GHex truncates large files without warning

Package:
ghex
Source:
ghex
Description:
GNOME Hex editor for files
Submitter:
Thomas Grüttmüller
Date:
2015-08-06 20:06:05 UTC
Severity:
normal
#794812#5
Date:
2015-08-06 20:02:37 UTC
From:
To:
Dear Maintainer,

today I’ve opened a file named “stream.dump” with GHex, changed the first
byte in the file from 0x47 to 0x48, and saved it again. These actions
unexpectedly reduced the file size from 23,386,099,712 Bytes to only
1,911,263,232 Bytes, causing 91.8 % data loss.

My guess is that GHex loaded the file incompletely because it did not fit into
RAM. That’s a design decision that is not the subject of this bug report.
GHex should however give a warning to the user, that the file could not be
loaded completely.