Set a limit on the size for BMP images
This limit matches the limit used by Chromium. I am not aware of any
real world BMPs that are larger than this (or even close to it), but
there are some invalid BMPs that are larger than this, leading to
crashes when we try to read a row.
Reviewed-by: Matt Sarett <email@example.com>
Commit-Queue: Leon Scroggins <firstname.lastname@example.org>
1 file changed