Comment 2 for bug 1922711

Revision history for this message
Christian Henz (chrhenz) wrote :

This crash is introduced by patch pr87808.diff:

[...]
+#ifdef FALLBACK_GCC_EXEC_PREFIX
+ if (gcc_driver_file == NULL && ::getenv ("GCC_EXEC_PREFIX") == NULL)
+ {
+ struct path_prefix path;
+
+ prefix_from_env ("PATH", &path);
[...]

"path" is used uninitialized.