Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#5864 closed defect (fixed)

/vsitar cannot open some valid tar files

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.11.3
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

ogrinfo /vsitar//vsicurl/ftp://sidads.colorado.edu/pub/DATASETS/NOAA/G02171/East_Coast/2015/cis_SGRDREC_20150105_pl_a.tar/cis_SGRDREC_20150105_pl_a.shp -ro --debug on

doesn't work because of useless validation tests. It turns out the validation tests have been written experimentaly from what Linux tar generates, but other tools don't produce exact same binary content.

Change History (2)

comment:1 by Even Rouault, 9 years ago

Milestone: 1.11.3
Resolution: fixed
Status: newclosed

trunk r28586, branches/1.11 r28587 "/vsitar/: remove useless validation test that prevents from opening valid .tar files (#5864)"

comment:2 by Even Rouault, 9 years ago

Hum, previous commit broke tiff_read.py tests.

Fixed by trunk r28588 "/vsitar/: stop reading if the file size contains garbage", branches/1.11 r28589 "/vsitar/: fix previous commit (#5864)"

Note: See TracTickets for help on using tickets.