public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/23608] New: long stapregex overflows arc_priority
@ 2018-09-05 19:01 me at serhei dot io
  2018-09-05 19:01 ` [Bug translator/23608] " me at serhei dot io
  0 siblings, 1 reply; 2+ messages in thread
From: me at serhei dot io @ 2018-09-05 19:01 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translator/23608] long stapregex overflows arc_priority
  2018-09-05 19:01 [Bug translator/23608] New: long stapregex overflows arc_priority me at serhei dot io
@ 2018-09-05 19:01 ` me at serhei dot io
  0 siblings, 0 replies; 2+ messages in thread
From: me at serhei dot io @ 2018-09-05 19:01 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=23608

Serhei Makarov <me at serhei dot io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|systemtap at sourceware dot org    |me at serhei dot io

-- 
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:[~2018-09-05 19:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-05 19:01 [Bug translator/23608] New: long stapregex overflows arc_priority me at serhei dot io
2018-09-05 19:01 ` [Bug translator/23608] " 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).