1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Fix write to freed memory in HTTP proxying. Things aren't entirely happy yet,

though.

[originally from svn r2285]
This commit is contained in:
Jacob Nevins 2002-12-07 21:15:49 +00:00
parent f2bfdefe45
commit 602834d887

View File

@ -481,8 +481,7 @@ int proxy_http_negotiate (Proxy_Socket p, int change)
sk_write(p->sub_socket, buf2, strlen(buf2));
}
sprintf(buf, "\r\n");
sk_write(p->sub_socket, buf, strlen(buf));
sk_write(p->sub_socket, "\r\n", strlen(buf));
p->state = 1;
return 0;