Overview
Comment: | Fixed issue with vfs::zip opening zip files smaller than 512b, fixes issue [0c5bcad642] |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c0cb33bec5f5c5ce142d0d79a6fd9a7f |
User & Date: | rkeene on 2010-09-28 21:52:33 |
Original Comment: | Fixed issue with vfs::zip opening zip files smaller than 512b |
Other Links: | manifest | tags |
References
2010-09-28
| ||
22:28 | • Ticket [0c5bcad642] vfs::zip fails with zip files smaller than 512 bytes status still Open with 3 other changes artifact: 1d8e392d63 user: rkeene | |
Context
2010-09-28
| ||
22:03 | Added regression suite tests for small zip files check-in: de59e55104 user: rkeene tags: trunk | |
21:52 | Fixed issue with vfs::zip opening zip files smaller than 512b, fixes issue [0c5bcad642] check-in: c0cb33bec5 user: rkeene tags: trunk | |
2010-09-27
| ||
22:17 | Updated to only consider checkins for change revision check-in: 8f84374b32 user: rkeene tags: trunk | |
Changes
Modified kitsh/buildsrc/kitsh-0.0/zipvfs.tcl from [f8be70e066] to [8fe7ed4f05].
︙ | |||
349 350 351 352 353 354 355 | 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 | + + + + + - + - + + + + + | # ; # a buffer boundary, nor the header itself } else { break } } set hdr [string range $hdr [expr $pos + 4] [expr $pos + 21]] set seekstart [expr {[tell $fd] - 512}] if {$seekstart < 0} { set seekstart 0 } |
︙ |
Modified tclvfs/patches/all/tclvfs-20080503-zipvfs.diff from [9b98f84953] to [b70e607501].
| 1 2 3 4 5 6 7 8 9 10 | - + - + |
|
︙ | |||
40 41 42 43 44 45 46 | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | + + - + + + + + + + + + + + + + + + + + + + + + + - + - + | - # Only mday can be wrong, at end of month - incr mday -1 } + return $res } @@ -381,7 +385,12 @@ } |