From 89f48c21e0772bf83121fbd804df8ba15a63fa38 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Wed, 3 Feb 2016 14:17:05 +0100 Subject: [PATCH] Increased strings because of buffer overflow for long file names. --- src/elogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index 5afdfd4a..26e01d50 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -24143,7 +24143,7 @@ int get_thumb_name(const char *file_name, char *thumb_name, int size, int index) void call_image_magick(LOGBOOK * lbs) { - char str[256], cmd[256], file_name[256], thumb_name[256], subdir[256]; + char str[1024], cmd[1024], file_name[256], thumb_name[256], subdir[256]; int cur_width, cur_height, new_size, cur_rot, new_rot, thumb_status; if (!isparam("req") || !isparam("img")) {