Skip to content

fix: out of bounds read for empty font data

Jeremy Soller requested to merge brayniac:fuzz-fix-1 into master

Created by: brayniac

  • if the &[u8] for the font is < 4 bytes, is_font() panics with out of bounds access
  • add a length check and return false if the font &[u8] is too short

Merge request reports