Bugzilla – Attachment 1933 Details for
Bug 1825
ipv64_normalise_mapped()'s memset should use a4, not addr, for clarity
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
/home/djm/canohost-warnfix.diff
canohost-warnfix.diff (text/plain), 532 bytes, created by
Damien Miller
on 2010-10-12 13:24:18 AEDT
(
hide
)
Description:
/home/djm/canohost-warnfix.diff
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2010-10-12 13:24:18 AEDT
Size:
532 bytes
patch
obsolete
>Index: canohost.c >=================================================================== >RCS file: /var/cvs/openssh/canohost.c,v >retrieving revision 1.76 >diff -u -p -r1.76 canohost.c >--- canohost.c 13 Jan 2010 11:43:34 -0000 1.76 >+++ canohost.c 12 Oct 2010 02:22:30 -0000 >@@ -199,7 +199,7 @@ ipv64_normalise_mapped(struct sockaddr_s > memcpy(&inaddr, ((char *)&a6->sin6_addr) + 12, sizeof(inaddr)); > port = a6->sin6_port; > >- memset(addr, 0, sizeof(*a4)); >+ bzero(a4, sizeof(*a4)); > > a4->sin_family = AF_INET; > *len = sizeof(*a4);
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
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 1825
: 1933