]> granicus.if.org Git - handbrake/commit
Enforce min/max dimensions
authorJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 21 Oct 2015 21:41:54 +0000 (14:41 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 26 Oct 2015 15:32:38 +0000 (08:32 -0700)
commita0c3d9592025c9cdd59ce2e635d3fc689ba5437d
tree9d57335f19bad2349a2998edf94b43850c30d2e8
parentfc25d9a913d485e6bd3caf1ef1115fc6d24c39e6
Enforce min/max dimensions

In both hb_set_anamorphic_size and hb_get_preview, check that image
dimensions are > 32x32 and < 10240x10240.  This should help to prevent
crashes with unusual dimensions settings.
gtk/src/hb-backend.c
libhb/common.h
libhb/hb.c