$NetBSD: patch-ae,v 1.1 2004/02/09 09:17:50 wennmach Exp $ Security patch (from Debian GNU/Linux). See http://www.debian.org/security/2004/dsa-420 --- util.c.orig Thu Aug 20 03:22:45 1998 +++ util.c Wed Jan 14 17:34:04 2004 @@ -371,6 +371,10 @@ extern int done_chroot; p = lp_chroot_directory(); + if (!lp_base_directory()) { + fprintf(stderr, "No base directory: cannot continue\n"); + exit(1); + } if (done_chroot || !p || !*p) { check_overflow(strlen(lp_base_directory())+10, sizeof(buf));