Opened 7 years ago

Closed 7 years ago

Last modified 7 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 Changed 7 years ago by Even Rouault

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 Changed 7 years ago by Even Rouault

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.