Bug 545866

Summary: valgrind reports errors on adjtimex ADJ_OFFSET_SS_READ
Product: [Fedora] Fedora Reporter: Miroslav Lichvar <mlichvar>
Component: valgrindAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 12CC: dodji, jakub
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.5.0-14.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 549333 (view as bug list) Environment:
Last Closed: 2009-12-21 11:24:43 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:
Bug Depends On:    
Bug Blocks: 549333    
Attachments:
Description Flags
ignore offset in ADJ_OFFSET_SS_READ mode none

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.