cperciva    2007-05-22 04:21:01 UTC

  FreeBSD src repository

  Modified files:
    bin/rcp              rcp.c 
  Log:
  In the error handling path, don't call close(fd) if the error we're
  handling is that fd = open(foo) is -1.  This bug is harmless since
  close(-1) just returns an error (which the code ignores).
  
  Found by:       Coverity Prevent(tm)
  CID:            1503 (in userland test run)
  
  Revision  Changes    Path
  1.46      +2 -1      src/bin/rcp/rcp.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to