Bug 143362 - multiply qualifying expression fixes
multiply qualifying expression fixes
Product: Fedora
Classification: Fedora
Component: strace (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Roland McGrath
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2004-12-19 17:29 EST by Dmitry V. Levin
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: RHBA-2005-130
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-02-01 23:40:30 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
strace-4.5.8-alt-qual.patch (1.78 KB, patch)
2004-12-19 17:32 EST, Dmitry V. Levin
no flags Details | Diff

  None (edit)
Description Dmitry V. Levin 2004-12-19 17:29:14 EST
Description of problem:
1. -e signal=!io (example from manpage) is broken.
2. Missing bounds checks of user input cause segfaults.

Version-Release number of selected component (if applicable):

Steps to Reproduce:
Actual results:

$ env -i strace -e 'signal=!io' /bin/true
strace: invalid signal `io'
$ strace -e signal=999999 true
Segmentation fault
$ strace -e read=999999 true
Segmentation fault

Expected results:
$ env -i strace -e 'signal=!io' /bin/true
execve("/bin/true", ["/bin/true"], [/* 0 vars */]) = 0
_exit(0)                                = ?
$ strace -e signal=999999 true
strace: invalid signal `999999'
$ strace -e read=999999 true
strace: invalid descriptor `999999'
Comment 1 Dmitry V. Levin 2004-12-19 17:32:49 EST
Created attachment 108865 [details]

Proposed patch.
Comment 2 Roland McGrath 2005-02-01 23:40:30 EST
I've merged in those fixes.
Comment 3 Tim Powers 2005-05-19 17:10:03 EDT
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 the 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.


Note You need to log in before you can comment on or make changes to this bug.