This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/23608] New: long stapregex overflows arc_priority


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]