Commit 73aa20ca1d86f6c838bd534cda741adc4cfa7aee

suzuki toshiya 2010-09-20T01:30:38

[cff] Truncate the element length at the end of the stream. See Savannah bug #30975. * src/cff/cffload.c (cff_index_access_element): `off2', the offset to the next element is truncated at the end of the stream to prevent invalid I/O. As `off1', the offset to the requested element has been checked by FT_STREAM_SEEK(), `off2' should be checked similarly.