Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: basesrc/usr.bin/xlint/lint1
Module Name: basesrc
Committed By: jmc
Date: Fri Jun 28 05:03:56 UTC 2002
Modified Files:
basesrc/usr.bin/xlint/lint1: mem1.c
Log Message:
Change xgetblk to detect cases where the requested size is more than mblklen.
(generally it's 20k). Adjust mblklen temporarily to the size of the block
required and allocate one. This avoids coredumps when mapping in identifiers
that have huge values. (In my example it was a char[] for a 640k pixmap).
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 basesrc/usr.bin/xlint/lint1/mem1.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