Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5305

Valgrind reports uninitialised values sent to system call in legacystore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.25
    • 0.25
    • C++ Broker
    • None
    • unix

    Description

      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.

      Attachments

        Activity

          People

            astitcher Andrew Stitcher
            astitcher Andrew Stitcher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: