mirror of git://anongit.mindrot.org/openssh.git
- (dtucker) [monitor.c] Don't free buffers in audit functions, monitor_read
will free as needed. ok tim@ djm@
This commit is contained in:
parent
4942de5719
commit
69152291e7
|
@ -7,6 +7,8 @@
|
||||||
[scp.c]
|
[scp.c]
|
||||||
since ssh has xstrdup, use it instead of strdup+test. unbreaks -Werror
|
since ssh has xstrdup, use it instead of strdup+test. unbreaks -Werror
|
||||||
build
|
build
|
||||||
|
- (dtucker) [monitor.c] Don't free buffers in audit functions, monitor_read
|
||||||
|
will free as needed. ok tim@ djm@
|
||||||
|
|
||||||
20050331
|
20050331
|
||||||
- (dtucker) OpenBSD CVS Sync
|
- (dtucker) OpenBSD CVS Sync
|
||||||
|
@ -2418,4 +2420,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (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 $
|
||||||
|
|
|
@ -1525,7 +1525,6 @@ mm_answer_audit_event(int socket, Buffer *m)
|
||||||
debug3("%s entering", __func__);
|
debug3("%s entering", __func__);
|
||||||
|
|
||||||
event = buffer_get_int(m);
|
event = buffer_get_int(m);
|
||||||
buffer_free(m);
|
|
||||||
switch(event) {
|
switch(event) {
|
||||||
case SSH_AUTH_FAIL_PUBKEY:
|
case SSH_AUTH_FAIL_PUBKEY:
|
||||||
case SSH_AUTH_FAIL_HOSTBASED:
|
case SSH_AUTH_FAIL_HOSTBASED:
|
||||||
|
@ -1554,7 +1553,6 @@ mm_answer_audit_command(int socket, Buffer *m)
|
||||||
/* sanity check command, if so how? */
|
/* sanity check command, if so how? */
|
||||||
audit_run_command(cmd);
|
audit_run_command(cmd);
|
||||||
xfree(cmd);
|
xfree(cmd);
|
||||||
buffer_free(m);
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
#endif /* SSH_AUDIT_EVENTS */
|
#endif /* SSH_AUDIT_EVENTS */
|
||||||
|
|
Loading…
Reference in New Issue