Increased strings because of buffer overflow for long file names.

This commit is contained in:
2016-02-03 14:17:05 +01:00
parent 2c84e3f27b
commit 89f48c21e0
+1 -1
View File
@@ -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")) {