libextractor

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

commit 4eec0dd297264a6dfadd8ae8a1b89438a54d5648
parent d9d073c66b49b91403484e081eda39d4e5c17cc2
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 15 Oct 2017 20:49:48 +0200

handle IPC_shared_memory_set_ error

Diffstat:
Msrc/main/extractor.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/extractor.c b/src/main/extractor.c @@ -393,6 +393,8 @@ do_extract (struct EXTRACTOR_PluginList *plugins, DEFAULT_SHM_SIZE); else ready = 0; + if (-1 == ready) + return; /* failed to ready _any_ data!? */ have_in_memory = 0; prp.file_finished = 0; prp.proc = proc;