Bug 545866 - valgrind reports errors on adjtimex ADJ_OFFSET_SS_READ
Summary: valgrind reports errors on adjtimex ADJ_OFFSET_SS_READ
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: valgrind
Version: 12
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 549333
TreeView+ depends on / blocked
 
Reported: 2009-12-09 14:43 UTC by Miroslav Lichvar
Modified: 2010-01-29 03:23 UTC (History)
2 users (show)

Fixed In Version: 3.5.0-14.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 549333 (view as bug list)
Environment:
Last Closed: 2009-12-21 11:24:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
ignore offset in ADJ_OFFSET_SS_READ mode (1.36 KB, patch)
2009-12-09 14:43 UTC, Miroslav Lichvar
no flags Details | Diff

Description Miroslav Lichvar 2009-12-09 14:43:10 UTC
Created attachment 377207 [details]
ignore offset in ADJ_OFFSET_SS_READ mode

Description of problem:
With the new valgrind-3.5.0-10.fc12 which adds support for adjtimex syscall, I'm getting errors about uninitialized memory when adjtimex is called with ADJ_OFFSET_SS_READ mode. This is a read-only call, the passed offset should be ignored.

Version-Release number of selected component (if applicable):
valgrind-3.5.0-10.fc12.x86_64

Additional info:

The attached patch fixes the problem for me.

Comment 1 Jakub Jelinek 2009-12-21 11:24:43 UTC
In valgrind-3.5.0-11.fc12, reported upstream too.  Thanks.

Comment 2 Fedora Update System 2010-01-22 08:57:28 UTC
valgrind-3.5.0-14.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/valgrind-3.5.0-14.fc12

Comment 3 Fedora Update System 2010-01-29 03:22:58 UTC
valgrind-3.5.0-14.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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