libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit e2aff5f00fb7e45ffca24d2b7fb4183a797c6a6e
parent 086c481890c2ff5720e1ed43f3b772b85a98e971
Author: LRN <lrn1986@gmail.com>
Date:   Sat, 25 Aug 2012 00:09:12 +0000

Fix uninitialized W32 channels

Diffstat:
Msrc/main/extractor_ipc_w32.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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, LOG_STRERROR ("malloc"); return NULL; } + memset (channel, 0, sizeof (struct EXTRACTOR_Channel)); channel->mdata_size = 1024; if (NULL == (channel->mdata = malloc (channel->mdata_size))) {