Hans Ulrich Niedermann
155aac3fa8
travis-ci: Apart from .travis-script.sh, only one quick build
...
That one quick build is in-tree, includes sudo for "make install",
and does both "make clean" and "make uninstall".
That should exercise a few more code paths.
2020-02-17 21:57:18 +01:00
Hans Ulrich Niedermann
dd87744b9d
travis-ci script: clean up directory usage, add usage comment
2020-02-17 21:41:11 +01:00
Hans Ulrich Niedermann
6b5887ef6a
travis-ci: Move builds to separate script file
...
The handling of failing build steps has become too involved
to put it into a single command line in a ".travis.yml".
The new build script does a few things differently:
* No sudo use.
* Builds for and installs into separate root --prefix
* Builds as out of tree builds per build
The new things the new build script does:
* Print config.log and the test-suite.log files if the configure
or the "make check" stages have failed.
* Print the version information, both short and verbose.
* Print a list of the installed files.
The things the new build script does NOT do:
* Run "make clean" or "make uninstall"
We are keeping the old script lines around for the time
being. I cannot see a difference, but someone more familiar
with "vusb" and "examples/sample-afl" might.
2020-02-17 03:29:54 +01:00
Hans Ulrich Niedermann
2d6e5d91af
travis-ci: sleep after autoreconf as possible workaround
...
Sleeping after generating the configure file might help avoid
the build system sanity check fails.
2020-02-17 03:17:19 +01:00
Hans Ulrich Niedermann
a9aec24c7b
libgphoto2-port: Add libexif to version information
2020-02-17 02:57:47 +01:00
Hans Ulrich Niedermann
94c0fdb0e1
Add print-libgphoto2-version program
...
The new print-libgphoto2-version program prints the complete
libgphoto2 version message in both short and verbose.
This functionality had not been available before, and we
want it for checking later changes to the camlib list part
of the version messages.
2020-02-15 02:56:38 +01:00
Hans Ulrich Niedermann
d15f0d7167
travis-ci: If make check fails, cat the test-suite.log files
...
This should help with finding the actual causes of test suite failures
during travis-ci checks.
2020-02-15 02:55:17 +01:00
Hans Ulrich Niedermann
29f61dd4ac
travis-ci: print system date and ls -l configure to help with debugging
...
Print the system date and "ls -l configure" to help with debugging
the sane build system check failure.
2020-02-14 15:41:45 +01:00
Marcus Meissner
5963aa4c3d
error checking during file retrieval (AFL)
2020-02-14 12:59:19 +01:00
Marcus Meissner
739b75da57
initialize memory to NULL, check if read (AFL)
2020-02-14 12:45:49 +01:00
Hans Ulrich Niedermann
2a7b017281
Avoid "echo" in configure.ac in some places
...
This should avoid some possible incompatibities in the case
of the multi line string argument to "echo", and cleans up
the code by replacing a number of "echo" commands with a
single AC_MSG_WARN.
2020-02-14 11:51:43 +01:00
Marcus Meissner
19c923e5d2
check buffersize before decoding to avoid overread (AFL)
2020-02-13 14:32:07 +01:00
Marcus Meissner
5581a92d48
check for filesize to avoid overread (AFL)
2020-02-13 14:23:51 +01:00
Marcus Meissner
8b22f8f524
avoid going below arrax index 0 (AFL)
2020-02-11 07:30:58 +01:00
Marcus Meissner
d6d4fd7683
log invaliddram and return error to avoid endless loop (AFL)
2020-02-10 16:51:58 +01:00
Marcus Meissner
fe42811465
do not sleep during fuzzing (AFL)
2020-02-10 13:40:48 +01:00
Marcus Meissner
67d70968be
fixed integer overflow check to avoid overflow (AFL)
2020-02-08 17:41:12 +01:00
Marcus Meissner
02df2f3f42
Added nikon coolpix 4100 (sierra) (It also works in PTP mode though)
2020-02-03 08:29:02 +01:00
Marcus Meissner
9980bc1fee
added fix for GoPro files not appearing caused by another hack for another device
2020-02-02 12:58:17 +01:00
Marcus Meissner
95d726f760
faster fuzzing
2020-02-01 18:44:26 +01:00
Marcus Meissner
2ddf19764d
handle partial read files, avoid crashes (AFL)
2020-02-01 18:24:23 +01:00
Marcus Meissner
409b88262c
added gopro hero 7 silver
2020-02-01 17:18:17 +01:00
Marcus Meissner
d6cc507620
avoid usleep during fuzzing (AFL)
2020-02-01 09:16:14 +01:00
Marcus Meissner
ff0fc43251
handle size 0 to avoid buffer underread (AFL)
2020-02-01 09:05:01 +01:00
Marcus Meissner
df9029c66c
init revision in case of errors to avoid uninit usage (AFL)
2020-01-31 19:55:15 +01:00
Marcus Meissner
6dd966711f
added Z50
2020-01-28 17:55:55 +01:00
Marcus Meissner
c944821c57
added nikon z50
2020-01-28 17:55:37 +01:00
Marcus Meissner
e01f95b4bf
Merge pull request #459 from tail-feather/support-fuji-iso
...
Support for Fujifilm ISO extension
2020-01-28 09:58:08 +01:00
Marcus Meissner
19ecb40998
Merge pull request #470 from knro/master
...
Add Nikon D7500 Image Quality
2020-01-28 09:57:32 +01:00
Jasem Mutlaq
049f96cc01
Merge branch 'master' into master
2020-01-28 10:46:35 +03:00
Jasem Mutlaq
91abbb8426
Correct D7500 RAW value
2020-01-28 10:37:07 +03:00
Marcus Meissner
cd19a02e30
added more sanity checks to avoid NULL ptr deref (AFL)
2020-01-26 19:46:05 +01:00
Marcus Meissner
634d113189
updated
2020-01-26 17:17:48 +01:00
Marcus Meissner
b655d69c05
clarify notes
2020-01-26 16:42:37 +01:00
Marcus Meissner
f57017e6ce
remove allocation, done by called function now
2020-01-26 16:39:22 +01:00
Marcus Meissner
96673548d8
allow filenames shorter than 11 characters (AFL)
2020-01-26 15:55:25 +01:00
Marcus Meissner
f86cce3d2b
round up the download size (AFL)
2020-01-26 15:51:19 +01:00
Marcus Meissner
f2aaae4020
added a SECURITY description
2020-01-26 15:42:16 +01:00
Marcus Meissner
e896e9fa29
added size checking (AFL)
2020-01-26 15:18:41 +01:00
Marcus Meissner
48587928b5
allocate reported size of data (and dont guess by size) (AFL)
2020-01-26 15:18:17 +01:00
Marcus Meissner
6cefcfadcc
avoid endless loops on detaching devices (AFL)
2020-01-26 10:47:23 +01:00
Marcus Meissner
47e19d65d7
check return of READ_STATUS
2020-01-26 10:46:28 +01:00
Marcus Meissner
2c6563298a
added a check on the boundaries of the homo_h processing (ASAN)
...
Otherwise we read 1 entry before the array and 1 entry after.
2020-01-25 19:24:53 +01:00
Marcus Meissner
8b0ec6d07a
avoid endless loops on device going away (AFL)
2020-01-25 18:30:31 +01:00
Marcus Meissner
9590742c1c
avoid endless loops when device goes away (AFL)
2020-01-25 18:30:12 +01:00
Marcus Meissner
8a06cb3f5a
avoid endless loops (AFL)
2020-01-25 18:29:59 +01:00
Marcus Meissner
ec549ee236
avoid double free of camera->pl (ASAN)
2020-01-25 18:29:48 +01:00
Marcus Meissner
8cfca5b2dd
fix gp_file reference count usage, its a bit weird
2020-01-25 18:14:16 +01:00
Alex Argelaguet
843c403ff8
added nikon d7500 imagequality
2020-01-25 12:47:49 +01:00
Marcus Meissner
59b97ad396
merge from libmtp
2020-01-25 12:34:28 +01:00