public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/22392] New: bpf translator: segfault possible when performing operation on result of void function call.
@ 2017-11-03 19:27 amerey at redhat dot com
  2018-08-09 14:37 ` [Bug bpf/22392] " me at serhei dot io
  0 siblings, 1 reply; 2+ messages in thread
From: amerey at redhat dot com @ 2017-11-03 19:27 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 22392
           Summary: bpf translator: segfault possible when performing
                    operation on result of void function call.
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: amerey at redhat dot com
  Target Milestone: ---

example:

stap --runtime=bpf -u -e 'probe kernel.function("sys_read") { x =
printf("test\n") }'

When translating the assignment, the bpf translator attempts to dereference a
NULL value. We want to perform checks similar to the default translator which
instead raises a "void value not ignored as it ought to be" error when
translating the example script.

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

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

* [Bug bpf/22392] bpf translator: segfault possible when performing operation on result of void function call.
  2017-11-03 19:27 [Bug translator/22392] New: bpf translator: segfault possible when performing operation on result of void function call amerey at redhat dot com
@ 2018-08-09 14:37 ` me at serhei dot io
  0 siblings, 0 replies; 2+ messages in thread
From: me at serhei dot io @ 2018-08-09 14:37 UTC (permalink / raw)
  To: systemtap

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

Serhei Makarov <me at serhei dot io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |me at serhei dot io
          Component|translator                  |bpf

-- 
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-08-09 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-03 19:27 [Bug translator/22392] New: bpf translator: segfault possible when performing operation on result of void function call amerey at redhat dot com
2018-08-09 14:37 ` [Bug bpf/22392] " 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).