Bug 28544 - procfs_bpf.exp regression due to string handling error
Summary: procfs_bpf.exp regression due to string handling error
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: bpf (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-04 15:35 UTC by Serhei Makarov
Modified: 2021-11-04 15:54 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:
Project(s) to access:
ssh public key:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serhei Makarov 2021-11-04 15:35:38 UTC
procfs_bpf.exp began to fail on recent RHELs.

The culprit is the following line

msg.append(std::string(buffer_feed));

which doesn't account for malformed data coming from the pipe.
Comment 1 Serhei Makarov 2021-11-04 15:54:09 UTC
fixed in commit 864529d27