-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: make a copy of exit messages when filtering fields
[upstream commit 6b34552] We encountered another segfault similar to the one fixed in #1432. This time, it's related to the pid field in exit events. Fix this by making a copy of the exit event before filtering. Also optimize copying logic to only perform the copy when absolutely necessary. Signed-off-by: William Findlay <will@isovalent.com>
- Loading branch information
1 parent
697dd77
commit acb11ad
Showing
2 changed files
with
47 additions
and
17 deletions.
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