Bugzilla – Attachment 966 Details for
Bug 1092
get_remote_hostname() potentially passing uninitialised buffer to debug
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
relocate check_ip_options call.
openbsd-sshd-checkipopts.patch (text/plain), 705 bytes, created by
Darren Tucker
on 2005-09-26 16:30:05 AEST
(
hide
)
Description:
relocate check_ip_options call.
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2005-09-26 16:30:05 AEST
Size:
705 bytes
patch
obsolete
>Index: canohost.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/canohost.c,v >retrieving revision 1.44 >diff -u -p -r1.44 canohost.c >--- canohost.c 2005/06/17 02:44:32 1.44 >+++ canohost.c 2005/09/26 05:51:16 >@@ -43,12 +43,12 @@ get_remote_hostname(int sock, int use_dn > cleanup_exit(255); > } > >- if (from.ss_family == AF_INET) >- check_ip_options(sock, ntop); >- > if (getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop), > NULL, 0, NI_NUMERICHOST) != 0) > fatal("get_remote_hostname: getnameinfo NI_NUMERICHOST failed"); >+ >+ if (from.ss_family == AF_INET) >+ check_ip_options(sock, ntop); > > if (!use_dns) > return xstrdup(ntop);
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 1092
: 966