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.

Cheers,
Liviu

48 views      
 

Messages in this Thread

 
94,800 Postings in 11,952 Threads, 348 registered users, 13 users online (0 registered, 13 guests)
Index | Admin contact |   Forum Time: Mar 29, 2020 - 7:17 am EDT  |  Hits:30,506,519  (2,813 Today )
RSS Feed