Commit Graph

10273 Commits

Author SHA1 Message Date
Marcus Meissner
033b9cf60e also use gp_log_remove_func, to test
https://github.com/gphoto/libgphoto2/pull/171
2017-06-03 11:35:21 +02:00
Marcus Meissner
03e85f9b8b Merge pull request #171 from axxel/log_remove_func-fix
fix memory corruption in gp_log_remove_func
2017-06-03 11:34:18 +02:00
Axel Waggershauser
db56a3b4fd fix memory corruption in gp_log_remove_func
The gp_log_remove_func implementation had 2 severe issues:
* it moved way to few bytes
* it moved the wrong bytes to the wrong place, destroying libc memory
management structures (resulting in different types of crashes).

When the first item has to be removed, it moved a couple bytes from the
start of the array to the left (before the start of the array), instead
of moving the second and following items over the first one.
2017-06-02 17:02:25 +02:00
Marcus Meissner
8b14ec11ca added fuji xt-20 data
https://github.com/gphoto/libgphoto2/issues/170
2017-06-02 09:28:51 +02:00
Marcus Meissner
108e9c165e DEFAULT_SOURCE define 2017-06-02 07:33:12 +02:00
Marcus Meissner
395575ffc0 Sony:DSC-HX90V added 2017-06-02 07:31:52 +02:00
Marcus Meissner
85e8655962 added hx90v debug 2017-06-02 07:31:52 +02:00
Marcus Meissner
72de262471 avoid potential sprintf overflow (GCC7) 2017-06-01 14:34:13 +02:00
Marcus Meissner
6aaa8da035 avoid potential sprintf overflow (GCC7) 2017-06-01 14:32:26 +02:00
Marcus Meissner
100373ed07 avoid potential sprintf overflow (GCC7) 2017-06-01 14:19:25 +02:00
Marcus Meissner
ab0da39488 enlarge stack buffer a bit to satisfy size constraints and
potentiall sprintf overflow (GCC7)
2017-06-01 14:18:01 +02:00
Marcus Meissner
903522450c remove warnings 2017-05-23 08:22:14 +02:00
Marcus Meissner
884ebfecc1 added sony umc r10 debug 2017-05-23 08:16:48 +02:00
Sebastian Rasmussen
8e733b94c0 updated swedish 2017-05-21 19:00:44 +02:00
Stéphane Aulery
db47ef1e0c updated french 2017-05-21 18:59:48 +02:00
Marcus Meissner
c04bac01b0 fuji: add unprepare capture
fuji: disable event handling as the reporters says this is not working

https://github.com/gphoto/libgphoto2/issues/133
2017-05-17 08:26:52 +02:00
Marcus Meissner
ea9f47d1e5 Merge branch 'fuji'
merged new fuji capture
2017-05-14 21:54:55 +02:00
Marcus Meissner
1e5b90bd43 set_config: free device property value only when actually set.
initialize it to 0 to avoid double frees

fixes https://github.com/gphoto/libgphoto2/issues/167
2017-05-14 11:34:52 +02:00
Marcus Meissner
0b17eba47f set_config: free device property value only when actually set.
initialize it to 0 to avoid double frees

fixes https://github.com/gphoto/libgphoto2/issues/167
2017-05-14 11:33:51 +02:00
Marcus Meissner
e70c2f52b2 reenable the objecthandles logic, as reportedly only the
first ObjhectAdded event is received

https://github.com/gphoto/libgphoto2/issues/133
2017-05-12 08:30:34 +02:00
Marcus Meissner
124b48db81 added nikon d5600 debug 2017-05-10 23:31:55 +02:00
Marcus Meissner
ec291d5083 added nikon d5600 2017-05-10 23:30:48 +02:00
Marcus Meissner
9a846ed977 added canon eos 77d debug 2017-05-09 15:49:55 +02:00
Marcus Meissner
e75836de58 eos 77d 2017-05-09 13:54:49 +02:00
Marcus Meissner
6779033c90 Revert "also try requesting shuttercounter"
this does not result in work and seems to crash the EOS 77D.

This reverts commit e41eea9813.
2017-05-09 12:03:55 +02:00
Marcus Meissner
9b966256ab sony a6000 does not support liveview, untag 2017-05-09 10:29:40 +02:00
Marcus Meissner
e96289697e Moved the 0xd207 setting to prepare capture
As the camera seems to send a ObjectAdded event, disable the objecthandles polling.

https://github.com/gphoto/libgphoto2/issues/133
2017-05-09 07:43:36 +02:00
Marcus Meissner
1c057c2c9a uu 2017-05-09 07:40:14 +02:00
Marcus Meissner
84a40e310b translate gettext to gettext 2017-05-08 23:40:38 +02:00
Marcus Meissner
fc3fe59ea8 newest travis images seemd to need gettext 2017-05-08 23:40:34 +02:00
Marcus Meissner
d646f03fc8 added eos77d 2017-05-08 23:40:21 +02:00
Marcus Meissner
60ef078e8e added eos77d 2017-05-08 23:39:49 +02:00
Marcus Meissner
b8b8f99c9e translate gettext to gettext 2017-05-07 19:27:00 +02:00
Marcus Meissner
15dbb38946 newest travis images seemd to need gettext 2017-05-07 19:02:36 +02:00
Marcus Meissner
3f0975f985 draft implementation of Fuji capture support, after https://github.com/gphoto/libgphoto2/issues/133 2017-05-06 13:11:52 +02:00
Marcus Meissner
ea5018ec78 merge from current pktriggercord git 2017-05-02 08:14:58 +02:00
Marcus Meissner
6716da110e added pentax k3 ii 2017-05-02 08:14:44 +02:00
Marcus Meissner
e25b398348 Added some more size checks to ptp_unpack_OPL to avoid crashes on too short data (AFL) 2017-04-29 13:15:46 +02:00
Marcus Meissner
3ad0c48f38 recursively list directories until the first file is found,
retrieve information and MTP metadata
2017-04-29 13:07:24 +02:00
Marcus Meissner
e6643b68d8 during unpacking Object property desc, ensure at least 5 bytes are available (AFL) 2017-04-29 13:06:53 +02:00
Marcus Meissner
e366d6a1f0 list folders and files too 2017-04-29 10:16:15 +02:00
Marcus Meissner
13007e4b4b initialize tmp to be NULL to avoid double free (AFL) 2017-04-24 22:00:30 +02:00
Marcus Meissner
d7e20d1f58 trigger bulb on the stillimage (press shutter full) DPC, not on
the autofocus DPC as that is used already

fixes https://github.com/gphoto/libgphoto2/issues/159
2017-04-23 22:19:18 +02:00
Marcus Meissner
9e00bbc684 Merge branch 'master' of github.com:gphoto/libgphoto2 2017-04-23 20:24:28 +02:00
Marcus Meissner
e719450c38 small warning fixes. use calloc instead of mnalloc/memset 2017-04-23 20:23:45 +02:00
Marcus Meissner
4ac5cb9a72 NEWS update 2017-04-23 20:19:34 +02:00
Marcus Meissner
786f2d9edf do not wait 1 second while fuzzing
use a uint64_t cast, so the ricoh shutterspeed works on 32bit (hopefully)
2017-04-23 18:55:15 +02:00
Marcus Meissner
67a654cce0 added pentax k5ii 2017-04-22 23:25:10 +02:00
Marcus Meissner
d2e7c3a029 avoid crash if model is NULL 2017-04-22 10:04:46 +02:00
Marcus Meissner
93ecd7592d added sony rx10 mark 3 2017-04-19 13:23:36 +02:00