kio_kamera (camera: protocol handler) crashes with error when copying large file (more than 2 GB). Reproducible: Always Steps to Reproduce: 1. Connect a camera with large files on it's memory card. 2. Try to copy one or more such large files on a local disk. 3. Actual Results: Error message appears just after copying 2GB. Expected Results: Large file should be copied.
Created attachment 89566 [details] This patch removes 2 GB limit.
Thanks! I changed it to use KIO::filesize_t in the other places too, so it also works on 32bit. http://commits.kde.org/kamera/fbd0459f81e2bba890c8033bc6bf1c6bc7bbf52f is in master
also pushed to 4.14 and 4.13 branches
Thank you. I changed the type to "unsigned long int" to have the same type as gp_file_get_data_and_size has for size: http://www.gphoto.org/doc/api/gphoto2-file_8c.html#afe4a2c1685df174f61f20b2986edd93b