ZTree.com  | ZEN  | About...  

 Index   Back

[Bug] Hex Editor error mod 2GB   [Zeta]

By: Liviu       
Date: Mar 02,2020 at 23:56
In Response to: [Zeta] v2.4.194 Now Available! (Kim Henkel)

Hex-editing large files at offsets beyond 2GB has a problem, which goes back to (at least) v2.2.19.

Steps to reproduce:
- open a file larger than 2 GB, [V]iew, [Hex], go to [O]ffset 80000000X (= 2GB);
- [E]dit, make some change;
- press enter to save-and-exit, answer [Y]es to the prompt.

What happens is that the screen reverts to the original value, as if the change was lost. However, going back to the top of the file shows the just entered value saved at offset 0, instead, and closing/reopening the file confirms that the change was indeed saved to disk at offset 0.

This appears to be based not on the actual offset of the edit, but rather on the offset of the first line displayed in the viewer. Scrolling one line up before the [E]dit step (so that the top line becomes offset 7FFFFFF0) causes the same edit to be saved to the correct offset 80000000.



Messages in this Thread

94,977 Postings in 11,970 Threads, 349 registered users, 45 users online (0 registered, 45 guests)
Index | Admin contact |   Forum Time: May 31, 2020 - 5:02 am EDT  |  Hits:31,274,441  (1,844 Today )
RSS Feed