Skip to content

Commit

Permalink
fix(userspace/libsinsp): fix resolved PT_FSPATH and PT_FSRELPATH evt …
Browse files Browse the repository at this point in the history
…args

Signed-off-by: Jason Dellaluce <[email protected]>
  • Loading branch information
jasondellaluce authored and poiana committed Dec 20, 2023
1 parent 0d65836 commit 37e31d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/libsinsp/event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ const char* sinsp_evt::get_param_as_str(uint32_t id, OUT const char** resolved_s
else
{
std::string concatenated_path = sinsp_utils::concatenate_paths(cwd, path);
strcpy_sanitized(&m_paramstr_storage[0], concatenated_path.data(), std::min(concatenated_path.size() + 1, m_paramstr_storage.size()));
strcpy_sanitized(&m_resolved_paramstr_storage[0], concatenated_path.data(), std::min(concatenated_path.size() + 1, m_resolved_paramstr_storage.size()));
}
}
}
Expand Down

0 comments on commit 37e31d2

Please sign in to comment.