Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Security 2022-07-25, Security 2022-08-08
-
5
Description
fle_crypto.h exposes an inline function called parseFromCDR which consumes a Validated<BSONObj> out of a ConstDataRange. The Validated<BSONObj> type requires a template specialization which is provided from rpc/object_check.h. In order to make this invocation work, either every caller of parseFromCDR must have access to the symbols for the template specialization.
These symbols are provided by including object_check.h into fle_crypto.cpp.However, when using fvisibility-inlines-hidden, the symbols are hidden from the shared object's export table.
Attachments
Issue Links
- related to
-
SERVER-49322 Evaluate feasibility and impact of enabling -fvisibility-inlines-hidden or -fvisibility=hidden
-
- Closed
-