-
Notifications
You must be signed in to change notification settings - Fork 727
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): patch libs to avoid segfaults in the main event loop
Signed-off-by: Roberto Scolaro <[email protected]>
- Loading branch information
1 parent
0230044
commit 1e0fd10
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/userspace/libsinsp/sinsp.cpp b/userspace/libsinsp/sinsp.cpp | ||
index 29313a2b7..50ec4d6a1 100644 | ||
--- a/userspace/libsinsp/sinsp.cpp | ||
+++ b/userspace/libsinsp/sinsp.cpp | ||
@@ -1204,6 +1204,7 @@ int32_t sinsp::next(OUT sinsp_evt **puevt) | ||
{ | ||
m_external_event_processor->process_event(NULL, libsinsp::EVENT_RETURN_EOF); | ||
} | ||
+ *puevt = evt; | ||
} | ||
else if(res == SCAP_UNEXPECTED_BLOCK) | ||
{ |