check buffersize before decoding to avoid overread (AFL)
check buffersize before decoding to avoid overread (AFL)

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