| > - if (skb->len < (iph->ihl << 2) + 8) {
| > + if (skb->len < (iph->ihl << 2) + __dccp_basic_hdr_len(dh)) {
| > ICMP_INC_STATS_BH(net, ICMP_MIB_INERRORS);
| > return;
| > }
|
| You can't dereference "dh" before you know there is even
| space past offset "iph->ihl << 2". Yet that is what doing
| an unconditional __dccp_basic_hdr_len() call here is going
| to do.
|
Oh that was my fault. Thanks a lot for pointing this out.
Will work out a fixed/improved version for both patches,
test and then resubmit.
Gerrit
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html| Theodore Tso | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 011/196] sysfs: Fix a copy-n-paste typo in comment |
git: | |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
