Skip to content

Commit 60303aa

Browse files
committed
TileDB identification: avoid crash on Windows with empty filename
1 parent df7fe56 commit 60303aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

frmts/tiledb/tiledbdrivercore.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
int TileDBDriverIdentifySimplified(GDALOpenInfo *poOpenInfo)
2323

2424
{
25+
if (poOpenInfo->pszFilename[0] == 0)
26+
{
27+
return FALSE;
28+
}
2529
if (STARTS_WITH_CI(poOpenInfo->pszFilename, "TILEDB:"))
2630
{
2731
return TRUE;

0 commit comments

Comments
 (0)