[Bug bpf/24947] New: valid hex and octal sequences not checked for

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug bpf/24947] New: valid hex and octal sequences not checked for

glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=24947

            Bug ID: 24947
           Summary: valid hex and octal sequences not checked for
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: bpf
          Assignee: systemtap at sourceware dot org
          Reporter: sapatel at redhat dot com
  Target Milestone: ---

With stapbpf there is no check to see if hex and octal sequences are in a valid
range. For example, if we ran the following script in the LKM backend:

stap -e 'probe oneshot { printf("\x100") }', we would get the following output:

"error: hex escape sequence out of range".

However, in stapbpf, this error is not outputted.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug bpf/24947] valid hex and octal sequences not checked for

glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=24947

Sagar Patel <sapatel at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Sagar Patel <sapatel at redhat dot com> ---
Fixed in commit 728bbc1ac.

This is a temporary patch, and will be reverted after PR13371 is fixed.

--
You are receiving this mail because:
You are the assignee for the bug.