misc. minor patches

Wojtek Pilorz wpilorz at bdk.pl
Fri Nov 3 19:53:40 EST 2000


On Thu, 2 Nov 2000, Michael Stone wrote:

> Date: Thu, 2 Nov 2000 14:15:59 -0500
> From: Michael Stone <mstone at cs.loyola.edu>
> To: openssh-unix-dev at mindrot.org
> Subject: misc. minor patches
> 
> I've had these laying about for a while, can't remember whether I sent
> them before.
> 
> diff -u openssh-2.1.1p1.orig/entropy.c openssh-2.1.1p1/entropy.c
[...]
>
> diff -u openssh-2.1.1p1.orig/packet.c openssh-2.1.1p1/packet.c
> --- openssh-2.1.1p1.orig/packet.c       Wed May 17 08:53:35 2000
> +++ openssh-2.1.1p1/packet.c    Tue Jun 20 16:39:00 2000
> @@ -356,7 +356,7 @@
>         char buf[9];
> 
>         buffer_clear(&outgoing_packet);
> -       memset(buf, 0, 8);
> +       memset(buf, 0, 9);
Why this change if the last byte of buf is set in the next line?

>         buf[8] = type;
>         buffer_append(&outgoing_packet, buf, 9);
>  }
> 
> 
> 
Regards,

Wojtek







More information about the openssh-unix-dev mailing list