harfbuzz/test/api
Behdad Esfahbod 7d5e7613ce Fail blob creation if length overflows or is too large
Fail if blob start plus length overflows; or if blob length
is greater than 2GB.  It takes a while for fonts to get to that
size.  In the mean time, it protects against bugs like this:

  http://www.icu-project.org/trac/ticket/11450

Also avoids some weird issues with 32bit vs 64bit systems
as we accept length as unsigned int.  As such, a length of
-1 will cause overflow on 32bit machines, but happily
accepted on a 64bit machine.  Avoid that.
2014-12-18 18:22:21 -08:00
..
.valgrind-suppressions Move valgrind suppressions to the correct directory 2013-03-06 20:20:45 -05:00
Makefile.am Fix test build 2013-05-28 17:34:37 -04:00
hb-test.h Remove gthread leftovers 2013-03-21 16:26:39 -04:00
test-blob.c Fail blob creation if length overflows or is too large 2014-12-18 18:22:21 -08:00
test-buffer.c API: Do not clear buffer-flags in hb_buffer_clear_contents() 2014-08-11 18:40:01 -04:00
test-c.c Minor 2013-05-28 15:25:06 -04:00
test-common.c Add HB_DIRECTION_IS_VALID 2012-04-14 19:19:26 -04:00
test-cplusplus.cc Rename test/ to test/api/ 2012-01-19 14:52:02 -05:00
test-font.c Fix misc warnings reported by cppcheck 2013-06-10 15:08:49 -04:00
test-object.c [tests] Add set object to test-object.c 2013-01-02 22:49:58 -06:00
test-ot-tag.c Use zh-Hans / zh-Hant when converting OT language tag to hb_language_t 2014-07-10 19:22:07 -04:00
test-set.c check hb_set_is_emtpy in test-set.c 2014-02-10 13:48:43 -05:00
test-shape.c Rename test/ to test/api/ 2012-01-19 14:52:02 -05:00
test-unicode.c Clean up list of Unicode scripts 2013-08-09 14:36:18 -04:00
test-version.c Rename HB_VERSION_CHECK and hb_version_check to "atleast" 2014-06-20 14:09:57 -04:00