]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: memleak of rfwd callback context; ok dtucker@
authordjm@openbsd.org <djm@openbsd.org>
Mon, 15 Sep 2025 04:48:29 +0000 (04:48 +0000)
committerDamien Miller <djm@mindrot.org>
Mon, 15 Sep 2025 06:13:02 +0000 (16:13 +1000)
OpenBSD-Commit-ID: 70b2aafeaace90703dd16a44a2a0b723d9155f33

mux.c

diff --git a/mux.c b/mux.c
index 6b1d463afba077f286bd45b7074575804c7201bf..7dd1309faf728ff027c0bcca76dda102b9881e9b 100644 (file)
--- a/mux.c
+++ b/mux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mux.c,v 1.105 2025/08/18 03:43:01 djm Exp $ */
+/* $OpenBSD: mux.c,v 1.106 2025/09/15 04:48:29 djm Exp $ */
 /*
  * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
  *
@@ -668,6 +668,7 @@ mux_confirm_remote_forward(struct ssh *ssh, int type, u_int32_t seq, void *ctxt)
        if (c->mux_pause <= 0)
                fatal_f("mux_pause %d", c->mux_pause);
        c->mux_pause = 0; /* start processing messages again */
+       free(fctx);
 }
 
 static int