cvs commit: src/usr.bin/make

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Tue Nov 30 06:27:47 PST 2004


joerg       2004/11/30 06:27:25 PST

DragonFly src repository

  Modified files:
    usr.bin/make         var.c 
  Log:
  Convert some broken cases where Error is called, but we try to continue,
  to Fatal errors, because the logic that we use to try to continue is far
  too broken, and makes things look and act weird, because we end up pointing
  past the end of a buffer boundry into freed memory in the caller, as we
  don't come close to setting the lengthPtr to a sane value.
  
  Reviewed by:    make@
  
  (This only changes failure cases which would have died horrid deaths to
   explicit clean death failure cases.)
  
  Obtained-from: FreeBSD
  Submitted-by: Max Okumoto <okumoto at xxxxxxxx>
  
  Revision  Changes    Path
  1.14      +5 -17     src/usr.bin/make/var.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/var.c.diff?r1=1.13&r2=1.14&f=u





More information about the Commits mailing list