* [Bug bpf/24329] New: bpf userspace: consecutive map string lookups overwrite each other
@ 2019-03-13 16:30 me at serhei dot io
2019-03-22 19:43 ` [Bug bpf/24329] " me at serhei dot io
0 siblings, 1 reply; 2+ messages in thread
From: me at serhei dot io @ 2019-03-13 16:30 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=24329
Bug ID: 24329
Summary: bpf userspace: consecutive map string lookups
overwrite each other
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: bpf
Assignee: systemtap at sourceware dot org
Reporter: me at serhei dot io
Target Milestone: ---
global tab
probe begin {
printf("BEGIN\n")
tab["foo"] = "a"; tab["bar"] = "b"
exit()
}
probe end {
x = tab["foo"]; y = tab["bar"]
printf("%s%s\n", x, y)
}
should print: ab
prints: bb
Both map lookups overwrite lookup_tmp in the userspace interpreter.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug bpf/24329] bpf userspace: consecutive map string lookups overwrite each other
2019-03-13 16:30 [Bug bpf/24329] New: bpf userspace: consecutive map string lookups overwrite each other me at serhei dot io
@ 2019-03-22 19:43 ` me at serhei dot io
0 siblings, 0 replies; 2+ messages in thread
From: me at serhei dot io @ 2019-03-22 19:43 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=24329
Serhei Makarov <me at serhei dot io> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Serhei Makarov <me at serhei dot io> ---
fixed in commit f3fe0bc82
tested by commit 2ec607a31 (string3.stp, string4.stp)
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-22 19:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-13 16:30 [Bug bpf/24329] New: bpf userspace: consecutive map string lookups overwrite each other me at serhei dot io
2019-03-22 19:43 ` [Bug bpf/24329] " me at serhei dot io
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).