Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
acl: Fix return value of acl_attribute_get_acl
If matching acl entry is not found, it must return 0 and not 1 because it did not find anything. Fixes dsync: Panic: file mailbox-attribute.c: line 362 (mailbox_attribute_get_stream): assertion failed: (value_r->value != NULL || value_r->value_stream != NULL) Broken in 37c72fa Found by @dl8bh
- Loading branch information
4ff4bd0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did not fix my problem, if this patch was meant to be included in 2.3.2 (iirc it turned out in our IRC debugging session, that acl containing "@" in usernames are not handled correctly):
4ff4bd0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It didn't make it into v2.3.2 QA, so it'll be in v2.3.3.
4ff4bd0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just realized this myself minutes after posting this, but thanks for answering anyways :-)