From owner-freebsd-current Thu Jan 23 13:03:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA12237 for current-outgoing; Thu, 23 Jan 1997 13:03:12 -0800 (PST) Received: from news1.gtn.com (news1.gtn.com [192.109.159.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA12231 for ; Thu, 23 Jan 1997 13:03:07 -0800 (PST) Received: (from uucp@localhost) by news1.gtn.com (8.7.2/8.7.2) with UUCP id VAA12502 for current@freebsd.org; Thu, 23 Jan 1997 21:46:34 +0100 (MET) Received: (from andreas@localhost) by klemm.gtn.com (8.8.4/8.8.2) id VAA00980; Thu, 23 Jan 1997 21:37:46 +0100 (MET) Message-ID: Date: Thu, 23 Jan 1997 21:37:46 +0100 From: andreas@klemm.gtn.com (Andreas Klemm) To: current@freebsd.org Subject: Re: restore dies with: canonname: not enough bufferspace References: X-Mailer: Mutt 0.55-PL15 Mime-Version: 1.0 In-Reply-To: ; from "Andreas Klemm" on Jan 23, 1997 19:06:44 +0100 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Workaround: Andreas Klemm writes: > Well, need to restore something badly from backup: > root# restore -if /dev/nrst0 > > add local/www > canonname: not enough bufferspace I found out, that it has to deal with the latest changes in the following files: /usr/src/sbin/restore/extern.h /usr/src/sbin/restore/interactive.c /usr/src/sbin/restore/main.c After removing the last change in every module, everything is ok. After that I was able to restore from backup successfully. So I suggest removing those patches from HEAD and RELENG_2_2, since it breaks restore ... extern.h ======== revision 1.3 date: 1997/01/01 14:08:44; author: guido; state: Exp; lines: +1 -1 Yet another buffer overflow. 2.2 candidate (and -stable too actually, who does that?) Reviewed by: Warner Losh interactive.c ============= revision 1.2 date: 1997/01/01 14:08:45; author: guido; state: Exp; lines: +10 -4 Yet another buffer overflow. 2.2 candidate (and -stable too actually, who does that?) Reviewed by: Warner Losh main.c ====== revision 1.4 date: 1997/01/01 14:08:46; author: guido; state: Exp; lines: +2 -2 Yet another buffer overflow. 2.2 candidate (and -stable too actually, who does that?) Reviewed by: Warner Losh -- andreas@klemm.gtn.com /\/\___ Wiechers & Partner Datentechnik GmbH Andreas Klemm ___/\/\/ Support Unix -- andreas.klemm@wup.de pgp p-key http://www-swiss.ai.mit.edu/~bal/pks-toplev.html >>> powered by <<< ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz >>> FreeBSD <<<