projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a segfault (non-security-critical - null dereference for
[u/mdw/putty]
/
portfwd.c
diff --git
a/portfwd.c
b/portfwd.c
index
f73d22c
..
00132ec
100644
(file)
--- a/
portfwd.c
+++ b/
portfwd.c
@@
-381,7
+381,7
@@
const char *pfd_newconnect(Socket *s, char *hostname, int port,
called when someone connects to the local port
*/
-static int pfd_accepting(Plug p,
void *
sock)
+static int pfd_accepting(Plug p,
OSSocket
sock)
{
static const struct plug_function_table fn_table = {
pfd_closing,