[
https://issues.apache.org/jira/browse/QPID-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Huston resolved QPID-2474.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.7
Assignee: Steve Huston
Fixed on trunk r931345
> ACL file reader can trip vector iter validity checking
> ------------------------------------------------------
>
> Key: QPID-2474
> URL: https://issues.apache.org/jira/browse/QPID-2474
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.7
> Environment: Windows, Visual Studio
> Reporter: Steve Huston
> Assignee: Steve Huston
> Fix For: 0.7
>
>
> The ACL file reading can trigger Windows Visual C++ consistency check on
> vector iterator decrement.
> Running the C++ test suite's acl_test starts a broker with options:
> --data-dir C:/qpid/trunk/build/src/tests/data_dir --acl-file policy.acl
> --auth no
> This policy.acl file contains only:
> acl allow all all
> This trips VC checks in
> qpid::acl::AclReader::loadDecisionData(boost::shared_ptr<qpid::acl::AclData>
> d={...}) because the 'for' loop at line 92:
> for (rlCitr i = rules.end() - 1; cnt; i--, cnt--) {
> tries to back i off the beginning of the vector.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]