Skip to content

Commit

Permalink
Fix #763
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Aug 10, 2022
1 parent 7acf0bc commit 53bf680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ELF/NoteDetails/core/CorePrPsInfo.tcc
Expand Up @@ -38,7 +38,7 @@ void CorePrPsInfo::parse_() {
const auto* info = reinterpret_cast<const Elf_Prpsinfo*>(desc.data());

// parse info structure
file_name_ = info->pr_fname;
file_name_ = std::string(info->pr_fname, sizeof(info->pr_fname)).c_str();
flags_ = info->pr_flag;
uid_ = info->pr_uid;
gid_ = info->pr_gid;
Expand Down

0 comments on commit 53bf680

Please sign in to comment.