rwatson     2006-02-14 21:09:46 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/net              if_ef.c 
  Log:
  Merge if_ef.c:1.37 from HEAD to RELENG_6:
  
    When freeing the chain of if_ef devices on an aborted load, use
    SLIST_FOREACH_SAFE() rather than SLIST_FOREACH(), as elements are
    freed on each iteration of the loop.  This prevents use-after-free.
  
    Noticed by:     Coverity Prevent analysis tool
  
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.34.2.2  +2 -2      src/sys/net/if_ef.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to