Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc



Module Name:    syssrc
Committed By:   cgd
Date:           Fri Jan 14 23:09:54 UTC 2000

Modified Files:
        syssrc/sys/dev/pcmcia: pcmcia_cis.c

Log Message:
Some additional sanity checks to keep this code from bursting into
flame if presented with bad CIS data (e.g. because of a memory space
conflict):
* more sanity checking on LONGLINK_MFC CIS tuples (exact length check, sanity
  check on size vs. size of array we allocated for them), to avoid various
  missteps which could cause this code to complete trash the kernel stack.
* clear the entire contents of the state structure before processing, so
  things like uninitted pointers will actually have a known value!
* be more careful with CISTPL_CFTABLE_ENTRY: check to see that the current
  state's default_entry isn't NULL before dereferencing it.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 syssrc/sys/dev/pcmcia/pcmcia_cis.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index