[subset] Couple of fixes for fuzzer discovered issues. (#924)

* [subset] sanitize individual DeviceRecord's as part of hdmx sanitization.

* [subset] Fix out of bounds read with non-two byte align glyphs.

* [subset] Just use size_device_record >= DeviceRecord::min_size.

* [subset] Add TODO.

* [subset] Re-order checks in hdmx sanitize.
This commit is contained in:
Garret Rieger authored and Behdad Esfahbod committed 2018-03-26 19:56:56 -07:00
1 parent 6f46883f5b
commit 07851aae9d
6 files changed
+32 -4