From owner-cvs-all Wed Aug 15 23: 1: 0 2001
Delivered-To: cvs-all@freebsd.org
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
by hub.freebsd.org (Postfix) with ESMTP
id 4F21337B412; Wed, 15 Aug 2001 23:00:57 -0700 (PDT)
(envelope-from dd@FreeBSD.org)
Received: (from dd@localhost)
by freefall.freebsd.org (8.11.4/8.11.4) id f7G60vB75697;
Wed, 15 Aug 2001 23:00:57 -0700 (PDT)
(envelope-from dd)
Message-Id: <200108160600.f7G60vB75697@freefall.freebsd.org>
From: Dima Dorfman
Date: Wed, 15 Aug 2001 23:00:57 -0700 (PDT)
To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: src/sys/dev/snp snp.c
X-FreeBSD-CVS-Branch: HEAD
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk
List-ID:
List-Archive: (Web Archive)
List-Help: (List Instructions)
List-Subscribe:
List-Unsubscribe:
X-Loop: FreeBSD.ORG
dd 2001/08/15 23:00:57 PDT
Modified files:
sys/dev/snp snp.c
Log:
Don't allocate a 512 byte buffer on the stack in snplwrite. It's
probably harmless in this case, since the latter is called on tty
input, which is usually a result of some system call, so we've got
plenty of stack left. It's still nice to fix these things, though, in
case somebody ever decides this driver is a good example of something
(perhaps "what you probably shouldn't do").
Revision Changes Path
1.62 +13 -6 src/sys/dev/snp/snp.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message