projects
/
platform
/
upstream
/
libexif.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
abort early... we can get a very high number and this does not help
[platform/upstream/libexif.git]
/
test
/
test-fuzzer.c
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));