summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--monitor.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 40b5c8b6..18530657 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,8 @@
[scp.c]
since ssh has xstrdup, use it instead of strdup+test. unbreaks -Werror
build
+ - (dtucker) [monitor.c] Don't free buffers in audit functions, monitor_read
+ will free as needed. ok tim@ djm@
20050331
- (dtucker) OpenBSD CVS Sync
@@ -2418,4 +2420,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.3736 2005/04/03 00:16:39 djm Exp $
+$Id: ChangeLog,v 1.3737 2005/04/03 02:44:23 dtucker Exp $
diff --git a/monitor.c b/monitor.c
index c6a42e70..9dca9c80 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1525,7 +1525,6 @@ mm_answer_audit_event(int socket, Buffer *m)
debug3("%s entering", __func__);
event = buffer_get_int(m);
- buffer_free(m);
switch(event) {
case SSH_AUTH_FAIL_PUBKEY:
case SSH_AUTH_FAIL_HOSTBASED:
@@ -1554,7 +1553,6 @@ mm_answer_audit_command(int socket, Buffer *m)
/* sanity check command, if so how? */
audit_run_command(cmd);
xfree(cmd);
- buffer_free(m);
return (0);
}
#endif /* SSH_AUDIT_EVENTS */