]> andersk Git - openssh.git/commitdiff
- markus@cvs.openbsd.org 2003/09/19 09:02:02
authordtucker <dtucker>
Mon, 22 Sep 2003 11:06:46 +0000 (11:06 +0000)
committerdtucker <dtucker>
Mon, 22 Sep 2003 11:06:46 +0000 (11:06 +0000)
     [packet.c]
     buffer_dump only if PACKET_DEBUG is defined; Jedi/Sector One; pr 3471

ChangeLog
packet.c

index 9289bf3d73980fd97695d6222fbb2f92cd7dbe61..eea8fce9ebf59c68d072e143c9397d0f3e319840 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -46,6 +46,9 @@
    - miod@cvs.openbsd.org 2003/09/18 13:02:21
      [authfd.c bufaux.c dh.c mac.c ssh-keygen.c]
      A few signedness fixes for harmless situations; markus@ ok
+   - markus@cvs.openbsd.org 2003/09/19 09:02:02
+     [packet.c]
+     buffer_dump only if PACKET_DEBUG is defined; Jedi/Sector One; pr 3471
 
 20030919
  - (djm) Bug #683: Remove reference to --with-ipv4-default from INSTALL;
index 4ef639fd6297ef1bf12cca9f0f6f5fe8ca754ada..02b629f30f6ec5358248fa8b26a262527c29fd11 100644 (file)
--- a/packet.c
+++ b/packet.c
@@ -37,7 +37,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: packet.c,v 1.109 2003/07/10 14:42:28 markus Exp $");
+RCSID("$OpenBSD: packet.c,v 1.110 2003/09/19 09:02:02 markus Exp $");
 
 #include "openbsd-compat/sys-queue.h"
 
@@ -1020,7 +1020,9 @@ packet_read_poll2(u_int32_t *seqnr_p)
                cp = buffer_ptr(&incoming_packet);
                packet_length = GET_32BIT(cp);
                if (packet_length < 1 + 4 || packet_length > 256 * 1024) {
+#ifdef PACKET_DEBUG
                        buffer_dump(&incoming_packet);
+#endif
                        packet_disconnect("Bad packet length %u.", packet_length);
                }
                DBG(debug("input: packet len %u", packet_length+4));
This page took 0.570902 seconds and 5 git commands to generate.