|
2018-12-31
| ||
| 07:11 | • Ticket [44d382c51a] ZIP filesystem time stamp conversion wrong etc. status s... artifact: bb72383360 user: chw | |
| 00:12 | • Closed ticket [44d382c51a]. artifact: 9c2ecc57bc user: jan.nijtmans | |
|
2018-12-30
| ||
| 23:59 | Fix [44d382c51a848e6fbe7c9ee15e9386f1237660ee|44d382c51a84]: ZIP filesystem time stamp conversion wr... check-in: d0b326cb34 user: jan.nijtmans tags: core-8-branch | |
| 23:00 | • Ticket [44d382c51a] ZIP filesystem time stamp conversion wrong etc. status s... artifact: cd464b8e04 user: jan.nijtmans | |
|
2018-12-07
| ||
| 23:17 | • New ticket [44d382c51a]. artifact: 6353a2f876 user: chw | |
ZIP filesystem time stamp conversion wrong etc.
Closed / Fixed44d382c51a848e6fbe7c9ee15e9386f1237660eeCreated 8 years agoUpdated 8 years ago
Descriptionplain2018-12-07 23:17:36
The DosTimeDate() function does not convert a DOS timestamp proper due to a wrong bitmask for decoding the minute bitfield. Another problem with the timestamp might be the wrong setup of the tm struct for mktime in order to proper offset day light saving time. Further problem: encrypted ZIP entries which are not compressed are decoded on the fly (during reading). This is problematic when seek operations are performed on the open file. Proof of concept solutions can be found in the AndroWish check-in https://www.androwish.org/index.html/info/ad46c3436775238e
Referenced by1
d0b326cb34Fix [44d382c51a848e6fbe7c9ee15e9386f1237660ee|44d382c51a84]: ZIP filesystem time stamp conversion wrong etc. check-in2018-12-30 23:59:46
jan.nijtmans Ticket [44d382c51a]: 3 changes
[History diff]2018-12-30 23:00:39
jan.nijtmanswiki2018-12-31 00:12:20
Should be fixed now. Thanks!
Please consider commits like [this] (and others) for androwish, otherwise it will become more and more difficult to keep Androwish and Tcl code aligned. It's already getting more difficult than necessary.
Thanks!
chwplain2018-12-31 07:11:50
I'm afraid, that I will have to keep the current state of the zipfs.c module since the new tclZipfs.c does not fit the Android environment due to its mounting a ZIP archive on a different namespace (virtual zipfs:/ volume). For AndroWish this is a major breaking change which most likely will cost weeks of work with uncertain outcome.
Log in (anonymous is fine) to add a comment.