Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 1996 09:36:35 -0800 (PST)
From:      Peter Wemm <peter>
To:        CVS-committers, cvs-all, cvs-usrbin
Subject:   cvs commit:  src/usr.bin/chpass edit.c
Message-ID:  <199611151736.JAA01867@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       96/11/15 09:36:25

  Modified:    usr.bin/chpass  edit.c
  Log:
  pw_scan() was being used to convert a string into a struct passwd, with
  an auto stack variable that was about to disappear.  It broke with some
  nis passwd changes because of a gethostbyname() call that uses a fair bit
  of stack..  This was a timebomb waiting to go off at any time and could
  have been causing subtle corruption for a while.
  
  AARGH!!
  
  This is HIGHLY reccomended for 2.2 and presumably 2.1.6
  
  Revision  Changes    Path
  1.9       +1 -1      src/usr.bin/chpass/edit.c



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