DragonFly BSD
DragonFly commits List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/usr.bin/make


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Nov 2004 06:27:26 -0800 (PST)

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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]