cvs commit: src/sys/kern sys_pipe.c

Robert Watson rwatson at
Mon Feb 2 18:50:53 PST 2004

rwatson     2004/02/02 18:50:51 PST

  FreeBSD src repository

  Modified files:
    sys/kern             sys_pipe.c 
  Catch instances of (pipe == NULL) that were obsoleted with recent
  changes to jointly allocated pipe pairs.  Replace these checks
  with pipe_present checks.  This avoids a NULL pointer dereference
  when a pipe is half-closed.
  Submitted by:   Peter Edwards <peter.edwards at>
  Revision  Changes    Path
  1.166     +6 -6      src/sys/kern/sys_pipe.c

More information about the cvs-all mailing list