georust / gdal

Rust bindings for GDAL
https://crates.io/crates/gdal
MIT License
359 stars 94 forks source link

MDArray::read_as_string_array(): make it robust to null string pointer being returned by GDAL #481

Closed rouault closed 10 months ago

rouault commented 10 months ago

I can't really come with a unit test for that given what exists in the bindings, but this is definitely something that could happen for example with the MEM driver where a user could write an array with null strings in it.

lnicola commented 10 months ago

Thanks!