diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2019-01-20 17:34:53 +0100 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2019-01-20 17:34:53 +0100 |
commit | 9ae48976c52e3da5f04b3be863d09edd50d97ed7 (patch) | |
tree | 61b22a4cd14a2053c35fd2eaa16b9bae92537ae0 /examples | |
parent | 2799307539fa788fd2be27c28ee763e1bbea3a67 (diff) | |
download | libgphoto2-9ae48976c52e3da5f04b3be863d09edd50d97ed7.tar.gz |
disable capture fuzzing
Diffstat (limited to 'examples')
-rw-r--r-- | examples/sample-afl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/sample-afl.c b/examples/sample-afl.c index c6e8f0527..15bb86ca5 100644 --- a/examples/sample-afl.c +++ b/examples/sample-afl.c @@ -217,11 +217,14 @@ int main(int argc, char **argv) { } gp_file_free (file); +#if 0 + /* this gives endless event check loops occasionaly ... need review how to do this best */ ret = gp_camera_capture (camera, GP_CAPTURE_IMAGE, &path, context); if ((ret != GP_OK) && (ret != GP_ERROR_NOT_SUPPORTED)) { printf ("Could not capture preview.\n"); goto out; } +#endif /* AFL PART ENDS HERE */ out: |