Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 1999 11:23:56 -0800 (PST)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/pccard/pccardd readcis.c readcis.h
Message-ID:  <199912071923.LAA82679@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         1999/12/07 11:23:56 PST

  Modified files:
    usr.sbin/pccard/pccardd readcis.c readcis.h 
  Log:
  Bump CIS_MAXSTR from 30 to 254.  pccard appears to define the entire
  section we take them from to be up to 255 bytes long, so that's the
  max size for the string.  They can't all be this big, but I don't have
  a better number and better to be a little long than a little short.
  
  Also only consume len characters of the cis buffer so we don't run off
  the end into the next buffer and get garbage.  This second patch
  shouldn't impact anything, but I'll hold off back porting this to
  -stable until I get more reports on the stability before/after this
  fix.
  
  Revision  Changes    Path
  1.16      +17 -4     src/usr.sbin/pccard/pccardd/readcis.c
  1.11      +2 -2      src/usr.sbin/pccard/pccardd/readcis.h



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?199912071923.LAA82679>