commit 4ea4407d8270157813c700dacdaca84f856882fe
parent 59c6a50d7a8d8c368a3932224dd136dbe37e99f2
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 3 Sep 2012 14:28:30 +0000
just skip over meta data that is too large
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/main/extractor_plugin_main.c b/src/main/extractor_plugin_main.c
@@ -317,6 +317,8 @@ plugin_env_send_proc (void *cls,
size_t mime_len;
unsigned char reply;
+ if (data_len > MAX_META_DATA)
+ return 0; /* skip, too large */
if (NULL == data_mime_type)
mime_len = 0;
else