From 9622bbc2ba8a5c9f78cbe528f23575e0c60705f8 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Tue, 3 May 2016 20:50:45 +0200 Subject: [PATCH] Fix buffer overrun in clutstore.cc --- rtengine/clutstore.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/clutstore.cc b/rtengine/clutstore.cc index ea3a2a7fc..9d0cea35a 100644 --- a/rtengine/clutstore.cc +++ b/rtengine/clutstore.cc @@ -56,7 +56,7 @@ bool loadFile( img_src.convertColorSpace(img_float.get(), icm, curr_wb); } - AlignedBuffer image(fw * fh * 4 + 1); + AlignedBuffer image(fw * fh * 4 + 4); std::size_t index = 0;