Hi, I've found some problems in the C API when calling

LAS_DLL LASReaderH LASReader_Create(const char* filename) 

If filename refers to a non-LAS file then NULL is returned but the stream 
isn't closed. I think a liblas::Cleanup is missing in the exception handling.
If filename doesn't exist then you have a segfault. You can reproduce  this 
bug using the command "lasinfo-old foo".

Excuse me if I'm not filling an issue on github.

Frank
_______________________________________________
Liblas-devel mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/liblas-devel

Reply via email to