Operational Defect Database

BugZero found this defect 61 days ago.

MongoDB | 2613490

The Abseil hash function fails to guarantee consistent hash values in the case of dynamic linking

Last update date:

3/19/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

According to Abseil's documentation, the hash function cannot ensure consistent hash values in the case of dynamic linking: https://github.com/abseil/abseil-cpp/blob/master/absl/hash/hash.h#L43-L46 // `absl::Hash` may also produce different values from different dynamically // loaded libraries. For this reason, `absl::Hash` values must never cross // boundaries in dynamically loaded libraries (including when used in types like // hash containers.) Even though we don't use dynamic linking for production builds we use it on some evergreen workflows. We need to understand if this is really a problem for us.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...