[
https://issues.apache.org/jira/browse/QPID-5305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815505#comment-13815505
]
ASF subversion and git services commented on QPID-5305:
-------------------------------------------------------
Commit 1539509 from [~astitcher] in branch 'qpid/trunk'
[ https://svn.apache.org/r1539509 ]
QPID-5305: Make legacystore fully initialise buffers to avoid undefined
disk file contents (this silences a complaint from valgrind)
NO-JIRA: Fix odd whitespace
NO-JIRA: Remove unneeded include path mangling
> Valgrind reports uninitialised values sent to system call in legacystore
> ------------------------------------------------------------------------
>
> Key: QPID-5305
> URL: https://issues.apache.org/jira/browse/QPID-5305
> Project: Qpid
> Issue Type: Bug
> Affects Versions: 0.25
> Environment: unix
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Fix For: 0.25
>
>
> Running the legacystore tests under valgrind highlight that it doesn't
> initialise all the values it sends to disk.
> Even if these bytes are actually never used when the store is read, having
> this behaviour makes it hard to use valgrind to check that the store doesn't
> have other problems.
> There is a compile time option to enable initialising of the full written
> buffer, I think it is wise to enable this option always, so that testing
> using valgrind is productive.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]