Bug 589638
Summary: | opcontrol accepting bogus values for --cpu-buffer-size argument | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Petr Muller <pmuller> |
Component: | oprofile | Assignee: | William Cohen <wcohen> |
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-tools-bugs |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | fnadge, ohudlick |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | oprofile-0.9.6-10.el6 | Doc Type: | Bug Fix |
Doc Text: |
Cause: Passing non-numeric arguments for opcontrol options that require numerical arguments (--buffer-size, --buffer-watershed,--cpu-buffer-size, and --callgraph) would be written to /dev/oprofile files as is.
Consequence: opcontrol would write bogus values as-is to /dev/oprofile files.
Fix: Numeric argument checking added to opcontrol.
Result: opcontrol will report illegal non-numeric argument rather than blindly writing them to /dev/oprofile files.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-19 13:06:38 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Petr Muller
2010-05-06 15:30:02 UTC
Please be so kind and add a few key words to the Technical Note field of this Bugzilla entry using the following structure: Cause: Consequence: Fix: Result: For details, see: https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes Thanks Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: Consequence: Fix: Result: Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,7 +1,7 @@ -Cause: +Cause: Using non-numeric arguments for opcontrol options that require numerical arguments (--buffer-size, --buffer-watershed,--cpu-buffer-size, and --callgraph) -Consequence: +Consequence: opcontrol would write bogus values to /dev/oprofile files. -Fix: +Fix: Add argument checking to opcontrol -Result:+Result: opcontrol will report illegal argument rather than blindly writing them to /dev/oprofile files. Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,7 +1,7 @@ -Cause: Using non-numeric arguments for opcontrol options that require numerical arguments (--buffer-size, --buffer-watershed,--cpu-buffer-size, and --callgraph) +Cause: Passing non-numeric arguments for opcontrol options that require numerical arguments (--buffer-size, --buffer-watershed,--cpu-buffer-size, and --callgraph) would be written to /dev/oprofile files as is. -Consequence: opcontrol would write bogus values to /dev/oprofile files. +Consequence: opcontrol would write bogus values as-is to /dev/oprofile files. -Fix: Add argument checking to opcontrol +Fix: Numeric argument checking added to opcontrol. -Result: opcontrol will report illegal argument rather than blindly writing them to /dev/oprofile files.+Result: opcontrol will report illegal non-numeric argument rather than blindly writing them to /dev/oprofile files. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0566.html |