Crash when initialising tethering operation
When starting a Tethering operation, Darktable crashes at line 282 in views/capture.c at the statement
#1 Updated by Kevin Gilbert over 5 years ago
- % Done changed from 90 to 50
The root cause is that the source string address is NULL. Why this is so is still subject to investigation.
But initial work has discovered a weakness in the handling of the field "dirname" in the structure "dt_film_t". It is created with a fixed size of 512 bytes (which SHOULD be enough) but this size is not always checked.
What I've done, so far, is to replace the current definition with "gchar *dirname" with other appropriate changes in all affected files.