pkgsrc/mail/yatsvrs/patches/patch-aa
taca 2f5c7e19e3 Update yatsvrs package to 5.00p6. Changes from 5.00p5 are below.
Fix security hole bug for KILL/KILL9 function.
Under specific condition, kill(2) would be called with its first
arguement (pid) 0 or 1.  It would cause killing parent process,
inetd(8).

The bug was fixed as bellow.

* Avoid using atoi(3).
* More strict error checking with sscanf(3).
2001-12-21 03:55:13 +00:00

13 lines
466 B
Text

$NetBSD: patch-aa,v 1.2 2001/12/21 03:55:13 taca Exp $
--- Makefile.in.orig Thu Dec 20 21:31:50 2001
+++ Makefile.in Fri Dec 21 00:34:46 2001
@@ -68,7 +68,7 @@
YAT5SYSDIR = @YAT5SYSDIR@
YATSYSDIROLD = @YATSYSDIROLD@
-SUBDIRS = common yatd yatconfd ascyd doc sample
+SUBDIRS = common yatd yatconfd ascyd doc
EXTRA_DIST = conf.h pkg_ver.h IMPORTANT INSTALL README UPDATE pkg_ver.h.in yatsvr5.00.spec.in yatsvr5.00.spec
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4