add safety buffer for memmove and short app1len (AFL)
add safety buffer for memmove and short app1len (AFL)

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