https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124330
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2026-03-02
--- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Reviewing, I may have a few tweaks. My understanding is that the environment
variables are being set at run time so they can be read by other processes.
This implies some sort of persistance. For putenv I read that it saves a
pointer to the string so I think we need to make that buffer static for the
duration of execution. I am jammed up at the moment but will get to this as
soon as I can. I see that you did catch that the buffer size has to be greater
than 20, 28 should be fine.