[Bug translator/23608] New: long stapregex overflows arc_priority
me at serhei dot io
sourceware-bugzilla@sourceware.org
Wed Sep 5 19:01:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=23608
Bug ID: 23608
Summary: long stapregex overflows arc_priority
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: me at serhei dot io
Target Milestone: ---
As seen in the wild with the OpenJDK tapsets:
probe kernel.function("sys_read")
{
if (pp() !~ "/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64/")
# fails
#if (pp() !~ "/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.el7.x86_64/") #
works
#if (pp() !~ "OusrOlibOjvmOjavaO1O8O0OopenjdkO1O8O0O181O3Ob13Oel7O5Ox86O64O")
# fails
#if (pp() !~
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") # fails
#if (pp() !~ "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
# fails
#if (pp() !~ "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
# works
next
printf("match passed\n") # required to avoid elision
}
The statements labeled "fails" trigger an assertion failure in arc_priority
refine_* functions.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list