-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Security 2022-07-25, Security 2022-08-08
-
5
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.
- related to
-
SERVER-49322 Evaluate feasibility and impact of enabling -fvisibility-inlines-hidden or -fvisibility=hidden
- Closed