DragonFly BSD
DragonFly commits List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/netinet ip_demux.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Jul 2004 12:26:39 -0700 (PDT)

dillon      2004/07/06 12:26:39 PDT

DragonFly src repository

  Modified files:
    sys/netinet          ip_demux.c 
  Log:
  In ip_mport() (IP packet demux code), check the minimum length requirement
  for an IP packet *before* the defrag case rather then after.  This avoids
  a panic in ip_input.c where the length is already assumed to be reasonable.
  
  Bug-report-by: Allan Fields <bsd@xxxxxxxxxx>
  In-consultation-with: Jeffrey Hsu <hsu@xxxxxxxxxxxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.23      +6 -6      src/sys/netinet/ip_demux.c


http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_demux.c.diff?r1=1.22&r2=1.23&f=u



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