aboutsummaryrefslogtreecommitdiff
path: root/src/main/extractor_ipc.c
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2012-08-01 20:25:43 +0000
committerLRN <lrn1986@gmail.com>2012-08-01 20:25:43 +0000
commit1687a6aff0c356fb2638f293236097c170bde7e7 (patch)
tree536dd895acaa28b8044813141ec14fc1aaa31611 /src/main/extractor_ipc.c
parent21a2b41325ef87f55e3755a14f46f6f91dae599e (diff)
downloadlibextractor-1687a6aff0c356fb2638f293236097c170bde7e7.tar.gz
libextractor-1687a6aff0c356fb2638f293236097c170bde7e7.zip
One huge fix. Sorry.
Diffstat (limited to 'src/main/extractor_ipc.c')
-rw-r--r--src/main/extractor_ipc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/extractor_ipc.c b/src/main/extractor_ipc.c
index 2d935df..ac872d0 100644
--- a/src/main/extractor_ipc.c
+++ b/src/main/extractor_ipc.c
@@ -105,6 +105,8 @@ EXTRACTOR_IPC_process_reply_ (struct EXTRACTOR_PluginList *plugin,
105 value = NULL; 105 value = NULL;
106 else 106 else
107 value = &cdata[sizeof (struct MetaMessage) + meta.mime_length]; 107 value = &cdata[sizeof (struct MetaMessage) + meta.mime_length];
108 if (meta.meta_type >= EXTRACTOR_metatype_get_max ())
109 meta.meta_type = EXTRACTOR_METATYPE_UNKNOWN;
108 proc (proc_cls, 110 proc (proc_cls,
109 plugin, 111 plugin,
110 (enum EXTRACTOR_MetaType) meta.meta_type, 112 (enum EXTRACTOR_MetaType) meta.meta_type,