Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2000 10:10:40 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/gnu/ext2fs ext2_lookup.c
Message-ID:  <200009121710.KAA16936@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         2000/09/12 10:10:40 PDT

  Modified files:
    sys/gnu/ext2fs       ext2_lookup.c 
  Log:
  Fixed some serious bugs in ext2_readdir():
  
  The cookie buffer was usually overrun by a large amount whenever
  cookies were used.  Cookies are used by nfs and the Linuxulator, so
  this bug usually caused panics whenever an ext2fs filesystem was nfs
  mounted or a Linux utility that calls readdir() was run on an ext2fs
  filesystem.
  
  The directory buffer was sometimes overrun by a small amount.  This
  sometimes caused panics and wrong results even for FreeBSD utilities,
  but it was usually harmless because FreeBSD utilities use a large
  enough buffer size (4K).  Linux utilities usually triggered the bug
  since they use a too-small buffer size (512 bytes), at least with the
  old RedHat utilities that I tested with.
  
  PR:	19407 (this fix is incomplete or for a slightly different bug)
  
  Revision  Changes    Path
  1.25      +24 -13    src/sys/gnu/ext2fs/ext2_lookup.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?200009121710.KAA16936>