Werner Lemberg 6343ba22a3 Fix some bugs found by clang's `-fsanitize=undefined' (#45661).
* src/base/ftrfork.c (FT_Raccess_Get_HeaderInfo): Only accept
positive values from header.
Check overflow.

* src/base/ftoutln.c (SCALED): Correctly handle left-shift of
negative values.

* src/bdf/bdf.h (_bdf_glyph_modified, _bdf_set_glyph_modified,
_bdf_clear_glyph_modified): Use unsigned long constant.

* src/bdf/bdfdrivr.c (BDF_Size_Select, BDF_Glyph_Load): Don't
left-shift values that can be negative.

* src/pcf/pcfdrivr.c (PCF_Size_Select, PCF_Glyph_Load): Don't
left-shift values that can be negative.

* src/raster/ftraster.c (SCALED): Correctly handle left-shift of
negative values.

* src/sfnt/ttsbit.c (tt_face_load_strike_metrics): Don't left-shift
values that can be negative.

* src/truetype/ttgload.c (TT_Load_Composite_Glyph,
compute_glyph_metrics, load_sbit_image): Don't left-shift values
that can be negative.
2015-08-01 07:53:48 +02:00
..
2015-06-21 19:12:12 +02:00
2015-01-17 20:41:43 +01:00
2015-02-22 12:03:28 +01:00
2015-01-17 20:41:43 +01:00
2015-01-17 20:41:43 +01:00
2015-01-17 20:41:43 +01:00
2015-01-17 20:41:43 +01:00
2015-01-17 20:41:43 +01:00
2015-01-17 20:41:43 +01:00
2015-01-17 20:41:43 +01:00
2015-01-17 20:41:43 +01:00
2015-02-22 12:03:28 +01:00
2015-01-17 20:41:43 +01:00
2015-01-17 20:41:43 +01:00
2015-02-22 12:03:28 +01:00
2015-01-17 20:41:43 +01:00
2015-01-17 20:41:43 +01:00
2015-01-17 20:41:43 +01:00
2015-01-17 20:41:43 +01:00
2015-04-15 23:20:23 -04:00
2015-01-17 20:41:43 +01:00
2015-01-17 20:41:43 +01:00