add some height and width sanity checks to avoid crashes on bad usb (AFL)
add some height and width sanity checks to avoid crashes on bad usb (AFL)

gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2