Public bug reported: Missing return statement in include/liblas/liblas.hpp causes calls to Open to always fail if liblas is compiled without Boost. As liblas src/c_api.cpp does not handle Open failures (returning NULL instead of throwing an exception), it causes a segfault in any application calling LASReader_Create or LASReader_CreateWithHeader.
The issue has been resolved upstream[1], but any new releases incorporating this patch seem to be unlikely[2]. 1. https://github.com/libLAS/libLAS/pull/168 2. https://github.com/libLAS/libLAS/issues/146 Gentoo bug: https://bugs.gentoo.org/698846 ** Affects: liblas (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850358 Title: Add missing return value in liblas.hpp To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/liblas/+bug/1850358/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
