appelmar / gdalcubes_cpp

Earth observation data cubes from GDAL image collections
MIT License
74 stars 7 forks source link

Environment variables with boost::process #7

Closed appelmar closed 5 years ago

appelmar commented 5 years ago

It seems that setting environment variables for child processes using boost::process::env["xxx"] produces buffer overflows (according to ASAN). We still use it because the found alternative with boost::this_process::environment().set() will cause debug build failures (pthread llinking) although it works fin in release mode.

appelmar commented 5 years ago

This has been fixed silently.