Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2001 23:00:57 -0700 (PDT)
From:      Dima Dorfman <dd@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/snp snp.c
Message-ID:  <200108160600.f7G60vB75697@freefall.freebsd.org>

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




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