public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/18503] New: procfs .maxsize() overflow should generate error
@ 2015-06-08 20:39 fche at redhat dot com
  2015-08-20 14:08 ` [Bug runtime/18503] " flu at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2015-06-08 20:39 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 18503
           Summary: procfs .maxsize() overflow should generate error
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com
  Target Milestone: ---

probe procfs("foo").read.maxsize(10) {
  $return .= "hello hello hello hello hello hello"
}

... should signal an error or warning, so that a stap script user can tell that
her buffer was too small.  (We already detect the overflow, just don't signal
it.)

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

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

* [Bug runtime/18503] procfs .maxsize() overflow should generate error
  2015-06-08 20:39 [Bug runtime/18503] New: procfs .maxsize() overflow should generate error fche at redhat dot com
@ 2015-08-20 14:08 ` flu at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: flu at redhat dot com @ 2015-08-20 14:08 UTC (permalink / raw)
  To: systemtap

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

Felix Lu <flu at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |flu at redhat dot com
         Resolution|---                         |FIXED

--- Comment #1 from Felix Lu <flu at redhat dot com> ---
Fixed in commit 3eea5e1066e47b528bff0d92546ef08af110ad13.

-- 
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:[~2015-08-20 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-08 20:39 [Bug runtime/18503] New: procfs .maxsize() overflow should generate error fche at redhat dot com
2015-08-20 14:08 ` [Bug runtime/18503] " flu at redhat dot com

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).