rwatson     2006-01-13 23:20:46 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if_ef.c 
  Log:
  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
  MFC after:      3 days
  
  Revision  Changes    Path
  1.37      +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