[SERVER-24116] Reverse indexes do not handle entries with leading null bytes Created: 09/May/16  Updated: 20/Nov/16  Resolved: 16/May/16

Status: Closed
Project: Core Server
Component/s: Index Maintenance, Internal Code
Affects Version/s: 3.0.0
Fix Version/s: 3.0.13, 3.2.7, 3.3.8

Type: Bug Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Robert Guo (Inactive)
Resolution: Done Votes: 0
Labels: code-and-test
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: TIG 14 (05/13/16)
Participants:
Linked BF Score: 0

 Description   

KeyString does not correctly decode index entries with a leading 0.

mmapv1 is not affected as it does not use KeyStrings



 Comments   
Comment by Githook User [ 16/May/16 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}

Message: SERVER-24116 fix KeyString's parsing of strings with leading null

(cherry picked from commit 6a0904bd38a2deb2de127865943d57ca7cfa6927)
Branch: v3.0
https://github.com/mongodb/mongo/commit/1898404a5301f386f68aeb2b4b4b43df71381be1

Comment by Githook User [ 16/May/16 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}

Message: SERVER-24116 fix KeyString's parsing of strings with leading null

(cherry picked from commit 6a0904bd38a2deb2de127865943d57ca7cfa6927)
Branch: v3.2
https://github.com/mongodb/mongo/commit/e752711398860b80e1acfee13ec277c77534977b

Comment by Githook User [ 16/May/16 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}

Message: SERVER-24116 fix KeyString's parsing of strings with leading null
Branch: master
https://github.com/mongodb/mongo/commit/6a0904bd38a2deb2de127865943d57ca7cfa6927

Generated at Thu Feb 08 04:05:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.