-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
Fully Compatible
-
Programmability 2026-08-04
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
This dbtest uses a BSONObj with a corrupt size. On little endian systems, the corruption is in the form of it over-reporting its size, so the same message is still thrown. On big endian systems, the corruption is in the form of it reporting a negative size, so that message isn't thrown (a different one appropriate to the situation is though, so no bug).
This change fixes the test so it works consistently no matter the endianness of the host system.