Project

General

Profile

Actions

Bug #1154

closed

fix ip_input m_len assertion

Added by sepherosa about 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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

Actions

Also available in: Atom PDF