From owner-freebsd-isdn Fri Feb 5 02:19:17 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA25533 for freebsd-isdn-outgoing; Fri, 5 Feb 1999 02:19:17 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from falbala.informatik.uni-kiel.de (falbala.informatik.uni-kiel.de [134.245.252.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA25526 for ; Fri, 5 Feb 1999 02:19:14 -0800 (PST) (envelope-from mfi@techfak.uni-kiel.de) Received: from hope.techfak.uni-kiel.de (hope.techfak.uni-kiel.de [134.245.244.140]) by falbala.informatik.uni-kiel.de (8.9.1/8.9.1) with ESMTP id LAA17471 for ; Fri, 5 Feb 1999 11:19:47 +0100 (MET) Received: from taipan.techfak.uni-kiel.de (taipan [134.245.244.156]) by hope.techfak.uni-kiel.de (8.8.8/8.8.8) with SMTP id LAA08429 for ; Fri, 5 Feb 1999 11:18:50 +0100 (MET) Received: by taipan.techfak.uni-kiel.de (SMI-8.6/client-1.6-SunOS5) id LAA22901; Fri, 5 Feb 1999 11:18:50 +0100 Message-ID: <19990205111849.56549@taipan.techfak.uni-kiel.de> Date: Fri, 5 Feb 1999 11:18:49 +0100 From: Michael Firnau To: freebsd-isdn@FreeBSD.ORG Subject: spppcontrol dumps core ... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.79 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, spppcontrol dumps core because the 'buf'-array is a bit too small: const char * authflags(u_short flags) { static char buf[10]; <--- should be 30 ? buf[0] = '\0'; if (flags & AUTHFLAG_NOCALLOUT) strcat(buf, " callin"); if (flags & AUTHFLAG_NORECHALLENGE) strcat(buf, " norechallenge"); return buf; Mike +------------------------------------------------------------------+ | Michael Firnau | Technische Fakultaet der CAU zu Kiel | | | Rechnerbetriebsgruppe Kaiserstr.2 | | Phone: +49 431 77572 107 | D-24143 Kiel Germany | | Fax: +49 431 77572 103 | http://www.techfak.uni-kiel.de/ | +------------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message