ZTree.com  | ZEN  | About...  

 Index   Back

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

By: Liviu       
Date: Mar 03,2020 at 04: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

905 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 54 users online (0 registered, 54 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 4:05 pm UTC  |  Hits:62,372,342  (24,739 Today )
RSS Feed