Skip to content

Commit

Permalink
fix(libsinsp): initialize m_exe_... in threadinfo
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Guerra <luca@guerra.sh>
  • Loading branch information
LucaGuerra authored and poiana committed Feb 14, 2024
1 parent f7437f1 commit 237212e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions userspace/libsinsp/threadinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ void sinsp_threadinfo::init()
m_exe_ino_ctime_duration_clone_ts = 0;
m_exe_ino_ctime_duration_pidns_start = 0;
m_filtered_out = false;
m_exe_writable = false;
m_exe_upper_layer = false;
m_exe_from_memfd = false;

memset(&m_user, 0, sizeof(scap_userinfo));
memset(&m_group, 0, sizeof(scap_groupinfo));
Expand Down

0 comments on commit 237212e

Please sign in to comment.