From: Dan Fandrich <dan@coneharvesters.com>
Date: Fri, 20 Apr 2018 18:05:19 +0200
Subject: Reduce maximum recursion depth in exif_data_load_data_content
Origin: https://github.com/libexif/libexif/commit/5d28011c40ec86cf52cffad541093d37c263898a

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/libexif/exif-data.c
+++ b/libexif/exif-data.c
@@ -380,7 +380,7 @@
 	if ((((int)ifd) < 0) || ( ((int)ifd) >= EXIF_IFD_COUNT))
 	  return;
 
-	if (recursion_depth > 30) {
+	if (recursion_depth > 12) {
 		exif_log (data->priv->log, EXIF_LOG_CODE_CORRUPT_DATA, "ExifData",
 			  "Deep recursion detected!");
 		return;
