Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2004 18:50:51 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern sys_pipe.c
Message-ID:  <200402030250.i132opaw049848@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004/02/02 18:50:51 PST

  FreeBSD src repository

  Modified files:
    sys/kern             sys_pipe.c 
  Log:
  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@openet-telecom.com>
  
  Revision  Changes    Path
  1.166     +6 -6      src/sys/kern/sys_pipe.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402030250.i132opaw049848>