Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2001 11:04:57 -0800 (PST)
From:      Matt Dillon <dillon@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_sbuf.c
Message-ID:  <200112191904.fBJJ4vf48646@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dillon      2001/12/19 11:04:57 PST

  Modified files:
    sys/kern             subr_sbuf.c 
  Log:
  Calculate whether the sbuf is dynamic *before* bzero()ing the
  structure.  This fixes a serious memory leak in the sbuf code.
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.14      +4 -1      src/sys/kern/subr_sbuf.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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