27ce463e2d
PuTTY is a client program for the SSH, Telnet and Rlogin network protocols. These protocols are all used to run a remote session on a computer, over a network. PuTTY implements the client end of that session: the end at which the session is displayed, rather than the end at which it runs.
26 lines
879 B
Text
26 lines
879 B
Text
$NetBSD: patch-ak,v 1.1.1.1 2009/09/07 18:01:43 ahoka Exp $
|
|
|
|
--- import.c.orig Tue Apr 5 21:37:51 2005
|
|
+++ import.c Tue Apr 12 10:27:13 2005
|
|
@@ -680,8 +680,8 @@ int openssh_write(const Filename *filena
|
|
unsigned char *outblob;
|
|
int outlen;
|
|
struct mpint_pos numbers[9];
|
|
- int nnumbers, pos, len, seqlen, i;
|
|
- char *header, *footer;
|
|
+ int nnumbers = 0, pos = 0, len = 0, seqlen = 0, i = 0;
|
|
+ char *header = NULL, *footer = NULL;
|
|
char zero[1];
|
|
unsigned char iv[8];
|
|
int ret = 0;
|
|
@@ -1441,8 +1441,8 @@ int sshcom_write(const Filename *filenam
|
|
unsigned char *outblob;
|
|
int outlen;
|
|
struct mpint_pos numbers[6];
|
|
- int nnumbers, initial_zero, pos, lenpos, i;
|
|
- char *type;
|
|
+ int nnumbers = 0, initial_zero = 0, pos = 0, lenpos = 0, i = 0;
|
|
+ char *type = NULL;
|
|
char *ciphertext;
|
|
int cipherlen;
|
|
int ret = 0;
|