Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F134697112
D33133.id99057.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
564 B
Referenced Files
None
Subscribers
None
D33133.id99057.diff
View Options
Index: sys/netpfil/ipfw/ip_dummynet.c
===================================================================
--- sys/netpfil/ipfw/ip_dummynet.c
+++ sys/netpfil/ipfw/ip_dummynet.c
@@ -2516,13 +2516,13 @@
error = ip_dummynet_compat(sopt);
break;
- case IP_DUMMYNET3 :
+ case IP_DUMMYNET3:
if (sopt->sopt_dir == SOPT_GET) {
error = dummynet_get(sopt, NULL);
break;
}
l = sopt->sopt_valsize;
- if (l < sizeof(struct dn_id) || l > 12000) {
+ if (l < (int)sizeof(struct dn_id) || l > 12000) {
D("argument len %d invalid", l);
break;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 5, 1:20 AM (9 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24801602
Default Alt Text
D33133.id99057.diff (564 B)
Attached To
Mode
D33133: dummynet: Fix socket option length validation for IP_DUMMYNET3
Attached
Detach File
Event Timeline
Log In to Comment