summaryrefslogtreecommitdiff
path: root/svr-x11fwd.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-08-12 16:41:58 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-08-12 16:41:58 +0000
commite3e03ba5123d76b27b28db134603dbd6a1111f06 (patch)
tree0b54a905a49358adc37ce32e3e80239dd6ebd736 /svr-x11fwd.c
parenta82d614485700729f2b650d45a73dbf55094707f (diff)
downloaddropbear-e3e03ba5123d76b27b28db134603dbd6a1111f06.tar.gz
Merging in the changes from 0.41-0.43 main Dropbear tree
Diffstat (limited to 'svr-x11fwd.c')
-rw-r--r--svr-x11fwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svr-x11fwd.c b/svr-x11fwd.c
index 0f4f71e..a8d1cd5 100644
--- a/svr-x11fwd.c
+++ b/svr-x11fwd.c
@@ -131,7 +131,7 @@ static void x11accept(struct Listener* listener, int sock) {
void x11setauth(struct ChanSess *chansess) {
char display[20]; /* space for "localhost:12345.123" */
- FILE * authprog;
+ FILE * authprog = NULL;
int val;
if (chansess->x11listener == NULL) {
@@ -187,7 +187,7 @@ static const struct ChanType chan_x11 = {
static int send_msg_channel_open_x11(int fd, struct sockaddr_in* addr) {
- char* ipstring;
+ char* ipstring = NULL;
if (send_msg_channel_open_init(fd, &chan_x11) == DROPBEAR_SUCCESS) {
ipstring = inet_ntoa(addr->sin_addr);