FreeBSD Bugzilla – Attachment 167367 Details for
Bug 207463
[patch] stable/10/sys/netpfil/pf/pf_ioctl.c:pfioctl(DIOCRSETADDRS) buffer overflow
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
stable/10/sys/netpfil/pf/pf_ioctl.c patch
pf_ioctl.c.patch (text/plain), 504 bytes, created by
Paul J Murphy
on 2016-02-24 17:13:42 UTC
(
hide
)
Description:
stable/10/sys/netpfil/pf/pf_ioctl.c patch
Filename:
MIME Type:
Creator:
Paul J Murphy
Created:
2016-02-24 17:13:42 UTC
Size:
504 bytes
patch
obsolete
>Index: stable/10/sys/netpfil/pf/pf_ioctl.c >=================================================================== >--- stable/10/sys/netpfil/pf/pf_ioctl.c (revision 295971) >+++ stable/10/sys/netpfil/pf/pf_ioctl.c (working copy) >@@ -2720,7 +2720,7 @@ > error = ENODEV; > break; > } >- totlen = io->pfrio_size * sizeof(struct pfr_addr); >+ totlen = io->pfrio_size2 * sizeof(struct pfr_addr); > pfras = malloc(totlen, M_TEMP, M_WAITOK); > error = copyin(io->pfrio_buffer, pfras, totlen); > if (error) {
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 207463
: 167367