Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 1997 09:16:20 -0800 (PST)
From:      Bill Paul <wpaul>
To:        CVS-committers, cvs-all, cvs-usrsbin
Subject:   cvs commit:  src/usr.sbin/ypbind ypbind.c
Message-ID:  <199701111716.JAA24449@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       97/01/11 09:16:20

  Modified:    usr.sbin/ypbind  ypbind.c
  Log:
  Correct two bugs:
  
  - If a child receives a SIGTERM, it will call the terminate() function
    and end up doing the shutdown procedurs that should really only be
    done by the parent. Set the SIGTERM behavior back to SIG_DLT in the
    child after fork()ing.
  
  - If the parent fails to read data back from the child because the
    child has exited, it will call rpc_received() with bogus tdata that
    can cause the parent to SEGV. Make handle_children() detect this
    condition correctly and handle it sanely.
  
  *sigh* Another 2.2 candidate.
  
  Revision  Changes    Path
  1.20      +50 -13    src/usr.sbin/ypbind/ypbind.c



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