FreeBSD Bugzilla – Attachment 8223 Details for
Bug 17311
bug in the code handling ioctl SIOCGIFCONF
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 593 bytes, created by
patrick
on 2000-03-11 07:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
patrick
Created:
2000-03-11 07:20:01 UTC
Size:
593 bytes
patch
obsolete
>Index: if.c >=================================================================== >RCS file: /cvs/freebsd/src/sys/net/if.c,v >retrieving revision 1.64.2.3 >diff -u -r1.64.2.3 if.c >--- if.c 2000/01/27 16:54:57 1.64.2.3 >+++ if.c 2000/03/10 23:29:31 >@@ -861,9 +861,9 @@ > sizeof (ifr)); > ifrp++; > } else { >- space -= sa->sa_len - sizeof(*sa); >- if (space < sizeof (ifr)) >+ if (space < sizeof(ifr) + sa->sa_len - sizeof(*sa)) > break; >+ space -= sa->sa_len - sizeof(*sa); > error = copyout((caddr_t)&ifr, (caddr_t)ifrp, > sizeof (ifr.ifr_name)); > if (error == 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 17311
: 8223