Re:Travis CI Security Advisory: Secured Environment Variables
by spc476 on Tuesday May 09, 2017 @01:20AM
(#14297909)
I've written code that does that [1] to log information to help diagnose crashes in long running daemons. Now, the dumping of environment variables is optional but it has been helpful to me in isolating issues with some CGI based programs (as Apache passes critical information to the script in environment variables). Of course, it was in a situation where core dumps are not generated so anything related to a crash is helpful.
[1] https://github.com/spc476/CGILib/blob/master/src/crashreport...