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

Taking address of a 0-length vector throws exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.30
    • qpid-cpp-0.34
    • C++ Broker, C++ Client
    • None
    • Windows, Visual Studio 2013

    Description

      In Debug-mode builds, std::vector in VS2013 will throw an exception if trying to do: &argv[0] if argv has 0 length. This construct happens in cpp/src/tests/BrokerFixture.h, so happens in many of the unit tests.

      Attachments

        Activity

          People

            shuston Stephen D. Huston
            shuston Stephen D. Huston
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: