-
Tobias S. Josefowitz authored
The syslog functions may keep accessing the ident supplied to openlog() by pointer with subsequent calls to syslog(). In order to not have syslog() access random or free memory, we now keep a reference to ident until either: * A subsequent call to openlog() * A call to closelog() * System module unload/exit Thanks to Stanislaw Klekot <pike@jarowit.net> for the report.
Tobias S. Josefowitz authoredThe syslog functions may keep accessing the ident supplied to openlog() by pointer with subsequent calls to syslog(). In order to not have syslog() access random or free memory, we now keep a reference to ident until either: * A subsequent call to openlog() * A call to closelog() * System module unload/exit Thanks to Stanislaw Klekot <pike@jarowit.net> for the report.