[SERVER-19430] Definition of maxKey and minKey BSONObj objects is not endian clean Created: 15/Jul/15  Updated: 05/Feb/16  Resolved: 16/Jul/15

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.1.6

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platform 6 07/17/15
Participants:

 Description   

This code https://github.com/mongodb/mongo/blob/c6e7a0874e5fc2767a5d50f47d0441703fea73ac/src/mongo/bson/bsontypes.cpp#L34-L62 assumes a little endian architecture.



 Comments   
Comment by Githook User [ 16/Jul/15 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-19430 Fix endian in definition of maxKey and minKey
Branch: master
https://github.com/mongodb/mongo/commit/74fd5c88eaf762152ed2dd8a54b7809fe9d2b8e4

Generated at Thu Feb 08 03:50:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.