[master] logging: fix SIGSEGV when trying to log after closeLog() is called.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 isys/log.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/isys/log.c b/isys/log.c
index 91ca1bc..574d436 100644
--- a/isys/log.c
+++ b/isys/log.c
@@ -207,6 +207,7 @@ void closeLog(void) {
         fclose(main_log_file);
     if (program_log_file)
         fclose(program_log_file);
+    main_log_tty = main_log_file = program_log_file = NULL;
     
     /* close syslog logger */
     closelog();
-- 
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux