[ https://issues.apache.org/jira/browse/QPID-4735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chuck Rolke resolved QPID-4735. ------------------------------- Resolution: Fixed Fix Version/s: 0.23 Fixed at Committed revision 1466652. Exposing the issue with the selftest function self.session.queue_declare did not work. Instead it was exposed directly with the acl.Lookup qmf functions. > C++ Broker ACL file size/count limit check bug when no value declared by user > ----------------------------------------------------------------------------- > > Key: QPID-4735 > URL: https://issues.apache.org/jira/browse/QPID-4735 > Project: Qpid > Issue Type: Bug > Components: C++ Broker > Affects Versions: 0.20 > Reporter: Chuck Rolke > Assignee: Chuck Rolke > Fix For: 0.23 > > > The error in the ACL code shows up when: > 1. An ACL rule specifies an 'upper limit' rule such as filemaxsizeupperlimit > 2. The queue_declare call from the user does not specify qpid.file_size in > the queue declaration. > The broker passes a file_size lookup value of 0 to the ACL for checking. > The ACL code (in error) sees that the lookup value is 0 and declares the > comparison a failure despite the fact that the value (0) is less than the > rule's upper limit. > The fix is not to check that a lookup value is zero but just go ahead with > the comparison. > The failure is easy to trigger in the self test. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org