From owner-cvs-usrsbin Sun Jun 9 00:41:38 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA22318 for cvs-usrsbin-outgoing; Sun, 9 Jun 1996 00:41:38 -0700 (PDT) Received: from spinner.DIALix.COM (spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA22287; Sun, 9 Jun 1996 00:41:31 -0700 (PDT) Received: from spinner.DIALix.COM (localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.7.5/8.7.3) with ESMTP id PAA01493; Sun, 9 Jun 1996 15:41:27 +0800 (WST) Message-Id: <199606090741.PAA01493@spinner.DIALix.COM> To: Peter Wemm cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.sbin/yppush yppush_main.c In-reply-to: Your message of "Sun, 09 Jun 1996 00:34:30 MST." <199606090734.AAA20300@freefall.freebsd.org> Date: Sun, 09 Jun 1996 15:41:26 +0800 From: Peter Wemm Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >peter 96/06/09 00:34:29 > > Modified: usr.sbin/yppush yppush_main.c > Log: > Ack! You can't strdup() a DB datum that is not null terminated, or you > get seemingly random SEGV's... Note that I've only done the smallest change I could, this is Bill's baby, I didn't want to mess up anything more that he might be working on. I didn't add code to check the returns from strdup, or the malloc that I swapped in place of strdup. Cheers, -Peter