Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jul 2002 18:25:54 -0700 (PDT)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/dump traverse.c
Message-ID:  <200207080125.g681PsfI078887@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2002/07/07 18:25:54 PDT

  Modified files:
    sbin/dump            traverse.c 
  Log:
  Use a fixed MAXBSIZE-size auto array instead of a static pointer
  to a malloc'd buffer in dmpindir() and dirindir(). These functions
  recursively call themselves to handle deeper levels of indirect
  blocks, so a single static buffer was not suitable.
  
  Bug tracked down by:    Don Lewis <dl-freebsd@catspoiler.org>
  Approach suggested by:  bde
  
  Revision  Changes    Path
  1.22      +2 -6      src/sbin/dump/traverse.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?200207080125.g681PsfI078887>