georust / proj

Rust bindings for the latest stable release of PROJ
https://docs.rs/proj
Apache License 2.0
137 stars 45 forks source link

Handle a null return value for `proj_sys::proj_errno_string` in the `proj` crate #73

Open frewsxcv opened 3 years ago

frewsxcv commented 3 years ago

We use proj_sys::proj_errno_string in the proj crate. The proj_sys::proj_errno_string function can return a null pointer, but we don't handle that case currently.

See this comment for context: https://github.com/georust/proj/pull/72/files#r574590647