aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2012-08-25 00:09:12 +0000
committerLRN <lrn1986@gmail.com>2012-08-25 00:09:12 +0000
commite2aff5f00fb7e45ffca24d2b7fb4183a797c6a6e (patch)
tree301330ebe3f8336205f3fcacb6042696aac3363c
parent086c481890c2ff5720e1ed43f3b772b85a98e971 (diff)
downloadlibextractor-e2aff5f00fb7e45ffca24d2b7fb4183a797c6a6e.tar.gz
libextractor-e2aff5f00fb7e45ffca24d2b7fb4183a797c6a6e.zip
Fix uninitialized W32 channels
-rw-r--r--src/main/extractor_ipc_w32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/extractor_ipc_w32.c b/src/main/extractor_ipc_w32.c
index ab5671a..787e829 100644
--- a/src/main/extractor_ipc_w32.c
+++ b/src/main/extractor_ipc_w32.c
@@ -449,6 +449,7 @@ EXTRACTOR_IPC_channel_create_ (struct EXTRACTOR_PluginList *plugin,
449 LOG_STRERROR ("malloc"); 449 LOG_STRERROR ("malloc");
450 return NULL; 450 return NULL;
451 } 451 }
452 memset (channel, 0, sizeof (struct EXTRACTOR_Channel));
452 channel->mdata_size = 1024; 453 channel->mdata_size = 1024;
453 if (NULL == (channel->mdata = malloc (channel->mdata_size))) 454 if (NULL == (channel->mdata = malloc (channel->mdata_size)))
454 { 455 {