Opened 7 years ago

Closed 7 years ago

#5635 closed defect (fixed)

OpenFileGDB magic number

Reported by: morrich Owned by: warmerdam
Priority: normal Milestone: 1.11.1
Component: OGR_SF Version: unspecified
Severity: normal Keywords:


When using the ogrinfo tool with some file geodatabases using the OpenFileGDB driver, I get an error.

ERROR 1: Error occured in filegdbtable.cpp at line 549

I've traced the error to .gdbtablx files where the "magic number" in the trailing section of the .gdbtablx file is 64. This causes the error at line 549 in filegdbtable.cpp.

returnErrorIf(nMagic != 0 && nMagic != 32 );

Just commenting out that line seems to solve the problem.

Change History (2)

comment:1 Changed 7 years ago by morrich

Summary: OpenFileGDBOpenFileGDB magic number

comment:2 Changed 7 years ago by Even Rouault

Milestone: 1.11.1
Resolution: fixed
Status: newclosed

Fixed in trunk (r27633) and branches/1.11 (r27634)

Note: See TracTickets for help on using tickets.