From 4ea4407d8270157813c700dacdaca84f856882fe Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 3 Sep 2012 14:28:30 +0000 Subject: just skip over meta data that is too large --- src/main/extractor_plugin_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/extractor_plugin_main.c b/src/main/extractor_plugin_main.c index 5478421..a79815c 100644 --- 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 -- cgit v1.2.3