Bugzilla – Attachment 849 Details for
Bug 996
Fatal error in xfree() when scp invokes ssh with a LocalForward config
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
check forward listen_host for null
openbsd-ssh-fwd-null.patch (text/plain), 950 bytes, created by
Darren Tucker
on 2005-03-10 16:53:17 AEDT
(
hide
)
Description:
check forward listen_host for null
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2005-03-10 16:53:17 AEDT
Size:
950 bytes
patch
obsolete
>Index: readconf.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/readconf.c,v >retrieving revision 1.137 >diff -u -p -r1.137 readconf.c >--- readconf.c 4 Mar 2005 08:48:06 -0000 1.137 >+++ readconf.c 10 Mar 2005 05:43:18 -0000 >@@ -251,12 +251,14 @@ clear_forwardings(Options *options) > int i; > > for (i = 0; i < options->num_local_forwards; i++) { >- xfree(options->local_forwards[i].listen_host); >+ if (options->local_forwards[i].listen_host != NULL) >+ xfree(options->local_forwards[i].listen_host); > xfree(options->local_forwards[i].connect_host); > } > options->num_local_forwards = 0; > for (i = 0; i < options->num_remote_forwards; i++) { >- xfree(options->remote_forwards[i].listen_host); >+ if (options->remote_forwards[i].listen_host != NULL) >+ xfree(options->remote_forwards[i].listen_host); > xfree(options->remote_forwards[i].connect_host); > } > options->num_remote_forwards = 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 996
:
848
| 849 |
850