From 7e9066801154eda8a421b2b0a4978757e9099a57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Walenciak?= Date: Mon, 2 Oct 2017 21:45:05 +0200 Subject: [PATCH] Adding comment for issue #56 --- src/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image.cpp b/src/image.cpp index 084b1977..24bb3869 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -401,7 +401,7 @@ namespace Exiv2 { // if ( offset > io.size() ) offset = 0; // Denial of service? - // #55 memory allocation crash test/data/POC8 + // #55 and #56 memory allocation crash test/data/POC8 long long allocate = (long long) size*count + pad+20; if ( allocate > (long long) io.size() ) { throw Error(57);