Reduce maximum recursion depth in exif_data_load_data_content
authorDan Fandrich <dan@coneharvesters.com>
Fri, 20 Apr 2018 16:05:19 +0000 (18:05 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 20 Apr 2018 16:09:54 +0000 (18:09 +0200)
commit5d28011c40ec86cf52cffad541093d37c263898a
tree90e4a6099cb75f121a7ddcba21fc22e41aa9e379
parentfe50f9b61a8fb66b709d6396a7e219962b504768
Reduce maximum recursion depth in exif_data_load_data_content

This only needs to be a small, single digit integer for normal files,
and reducing the maximum closer to this reduces the time and space
needed to detect pathological cases.
libexif/exif-data.c