summaryrefslogtreecommitdiff
path: root/lib/ChangeLog
diff options
context:
space:
mode:
authorAndrew J. Schorr <ajschorr@alumni.princeton.edu>2006-07-10 18:09:42 +0000
committerAndrew J. Schorr <ajschorr@alumni.princeton.edu>2006-07-10 18:09:42 +0000
commit74542d730198a37a872b7114643e29e99c551bcf (patch)
tree0b224588a9579f45cda632ac9e33c783405824a3 /lib/ChangeLog
parent1f2c2743ac188b909114a1bf054a9a41a0cd5635 (diff)
[lib] Fix infinite recursion for errors on vtys with terminal monitor enabled
2006-07-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * vty.c: (vty_log_out, vty_read, vty_flush, vtysh_flush, vtysh_read) After an I/O error, must set vty->monitor to 0 before calling zlog_warn, otherwise an infinite recursion could occur (since zlog_warn triggers a message to be written to the vty, and that in turn triggers another error message when it fails, etc.).
Diffstat (limited to 'lib/ChangeLog')
-rw-r--r--lib/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index e95e2a3a..25df2657 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,11 @@
+2006-07-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+ * vty.c: (vty_log_out, vty_read, vty_flush, vtysh_flush, vtysh_read)
+ After an I/O error, must set vty->monitor to 0 before calling
+ zlog_warn, otherwise an infinite recursion could occur
+ (since zlog_warn triggers a message to be written to the vty,
+ and that in turn triggers another error message when it fails, etc.).
+
2006-07-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* vty.c: (vty_log_out) Debug messages to terminal vty sessions