projects
/
platform
/
upstream
/
libexif.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
827c74e
)
abort early... we can get a very high number and this does not help
author
Marcus Meissner
<marcus@jet.franken.de>
Sat, 2 Feb 2019 17:52:28 +0000
(18:52 +0100)
committer
Marcus Meissner
<marcus@jet.franken.de>
Sat, 2 Feb 2019 18:05:25 +0000
(19:05 +0100)
test/test-fuzzer.c
patch
|
blob
|
history
diff --git
a/test/test-fuzzer.c
b/test/test-fuzzer.c
index
101fa27
..
d72f6d1
100644
(file)
--- a/
test/test-fuzzer.c
+++ b/
test/test-fuzzer.c
@@
-77,6
+77,8
@@
test_exif_data (ExifData *d)
c = exif_mnote_data_count (md);
for (i = 0; i < c; i++) {
+ char *name = exif_mnote_data_get_name (md, i);
+ if (!name) break;
fprintf (stdout, "Dumping entry number %i...\n", i);
fprintf (stdout, " Name: '%s'\n",
exif_mnote_data_get_name (md, i));