Description
If a nonexistent provider is referenced when calling the lcbcrypto_encrypt/decrypt_document calls, then a NULL entry with this name will be added to the instance->crypto map (this is default behaviour for the std::map [] operator). I have created a fix for this issue which I will push momentarily.
Attachments
For Gerrit Dashboard: CCBC-925 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
93754,2 | CCBC-925: Do not register nonexistent crypto providers during lookup | master | libcouchbase | Status: MERGED | +2 | +1 |
93756,3 | CCBC-925: Do not register nonexistent crypto providers during lookup | master | libcouchbase | Status: MERGED | +2 | +1 |
Build couchbase-server-5.5.0-2663 contains libcouchbase commit 94bd4033d6555c5feecb98b5874c9b0ab65a7e05 with commit message:
CCBC-925: Do not register nonexistent crypto providers during lookuphttps://github.com/couchbase/libcouchbase/commit/94bd4033d6555c5feecb98b5874c9b0ab65a7e05