[Liblas-devel] C API problems

Howard Butler hobu.inc at gmail.com
Wed Jan 4 14:29:53 EST 2012


On Nov 29, 2011, at 5:35 AM, esteban70 at libero.it wrote:

> 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.

Fixed.  https://github.com/libLAS/libLAS/issues/3

Howard


More information about the Liblas-devel mailing list