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:
41bd042
)
abort earlier
author
Marcus Meissner
<marcus@jet.franken.de>
Tue, 25 Jul 2017 22:04:17 +0000
(
00:04
+0200)
committer
Dan Fandrich
<dan@coneharvesters.com>
Tue, 25 Jul 2017 22:04:17 +0000
(
00:04
+0200)
test/test-fuzzer.c
patch
|
blob
|
history
diff --git
a/test/test-fuzzer.c
b/test/test-fuzzer.c
index
1ee7870
..
2e29840
100644
(file)
--- a/
test/test-fuzzer.c
+++ b/
test/test-fuzzer.c
@@
-84,7
+84,8
@@
test_exif_data (ExifData *d)
fprintf (stdout, " Description: '%s'\n",
exif_mnote_data_get_description (md, i));
p = exif_mnote_data_get_value (md, i, v, sizeof (v));
- if (p) { fprintf (stdout, " Value: '%s'\n", v); }
+ if (!p) break;
+ fprintf (stdout, " Value: '%s'\n", v);
}
return 0;