Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <Mutt.19970123213746.andreas@klemm.gtn.com>
In-Reply-To: <Mutt.19970123190644.andreas@klemm.gtn.com>; from "Andreas Klemm" on Jan 23, 1997 19:06:44 %2B0100
References:  <Mutt.19970123190644.andreas@klemm.gtn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <<<



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970123213746.andreas>