aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/main/extractor_ipc_gnu.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0b9e9ce..c1a730a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
1Sun Oct 15 19:36:41 CEST 2017 1Sun Oct 15 19:36:41 CEST 2017
2 Fix potential file descriptor leak (on error handling path). -CG 2 Fix potential file descriptor leak (on error handling path).
3 Fix potential assign-after-free (on IPC error handling path). -CG
3 4
4Fri Oct 13 12:30:37 CEST 2017 5Fri Oct 13 12:30:37 CEST 2017
5 Properly check read error in NSF plugin (from signedness confusion) found by Leon Zhao. -CG 6 Properly check read error in NSF plugin (from signedness confusion) found by Leon Zhao. -CG
diff --git a/src/main/extractor_ipc_gnu.c b/src/main/extractor_ipc_gnu.c
index e08bb61..146fd49 100644
--- a/src/main/extractor_ipc_gnu.c
+++ b/src/main/extractor_ipc_gnu.c
@@ -545,6 +545,7 @@ EXTRACTOR_IPC_channel_recv_ (struct EXTRACTOR_Channel **channels,
545 LOG_STRERROR ("realloc"); 545 LOG_STRERROR ("realloc");
546 EXTRACTOR_IPC_channel_destroy_ (channel); 546 EXTRACTOR_IPC_channel_destroy_ (channel);
547 channels[i] = NULL; 547 channels[i] = NULL;
548 continue;
548 } 549 }
549 channel->mdata = ndata; 550 channel->mdata = ndata;
550 } 551 }
@@ -563,6 +564,7 @@ EXTRACTOR_IPC_channel_recv_ (struct EXTRACTOR_Channel **channels,
563 channel->plugin->libname); 564 channel->plugin->libname);
564 EXTRACTOR_IPC_channel_destroy_ (channel); 565 EXTRACTOR_IPC_channel_destroy_ (channel);
565 channels[i] = NULL; 566 channels[i] = NULL;
567 continue;
566 } 568 }
567 else 569 else
568 { 570 {