GNOME Bugzilla – Bug 689616
Use a bit safer environment getters.
Last modified: 2019-02-22 06:01:01 UTC
Created attachment 230648 [details] [review] Use g_get_environ and g_environ_getenv instead of g_getenv. g_getenv() docs say that a string might be overwritten on next call to g_getenv(). This creates a risk that a value of GUPNP_DLNA_METADATA_BACKEND will be overwritten or contain some garbage when getting value of GUPNP_DLNA_METADATA_BACKEND_DIR.