< prev index next >

src/java.desktop/share/native/libfreetype/src/sfnt/ttmtx.c

Print this page

        

*** 278,288 **** goto NoData; } else { table_pos += 4 * ( k - 1 ); ! if ( table_pos + 4 > table_end ) goto NoData; if ( FT_STREAM_SEEK( table_pos ) || FT_READ_USHORT( *aadvance ) ) goto NoData; --- 278,288 ---- goto NoData; } else { table_pos += 4 * ( k - 1 ); ! if ( table_pos + 2 > table_end ) goto NoData; if ( FT_STREAM_SEEK( table_pos ) || FT_READ_USHORT( *aadvance ) ) goto NoData;
*** 290,300 **** table_pos += 4 + 2 * ( gindex - k ); if ( table_pos + 2 > table_end ) *abearing = 0; else { ! if ( !FT_STREAM_SEEK( table_pos ) ) (void)FT_READ_SHORT( *abearing ); } } } else --- 290,302 ---- table_pos += 4 + 2 * ( gindex - k ); if ( table_pos + 2 > table_end ) *abearing = 0; else { ! if ( FT_STREAM_SEEK( table_pos ) ) ! *abearing = 0; ! else (void)FT_READ_SHORT( *abearing ); } } } else
< prev index next >