DragonFly submit List (threaded) for 2008-10
DragonFly BSD
DragonFly submit List (threaded) for 2008-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

fix ip_input m_len assertion


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Mon, 27 Oct 2008 23:14:23 +0800

Hi all,

Following patch fixes:
- The assertion in ip_input, should test sizeof(struct ip) instead of sizeof(ip)
- Make sure that ip_input's precondition meets in ip_localforward
- Don't allow raw ip socket to send ip packet whose header length is
less than the minimum

http://leaf.dragonflybsd.org/~sephe/ip_assert.diff

Please test/review.

Best Regards,
sephe

-- 
Live Free or Die



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]