[GODRIVER-893] bsonrw.valueReader skip does not properly skip regular expressions Created: 21/Mar/19  Updated: 28/Oct/23  Resolved: 26/Mar/19

Status: Closed
Project: Go Driver
Component/s: BSON
Affects Version/s: 1.0.0
Fix Version/s: 1.0.1

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

Issue Links:
Problem/Incident
causes GODRIVER-880 Cannot query when having a regular ex... Closed

 Description   

When skipping a regular expression, the null byte for options is not found properly.



 Comments   
Comment by Githook User [ 26/Mar/19 ]

Author:

{'email': 'kris@mongodb.com', 'name': 'Kris Brandow', 'username': 'skriptble'}

Message: Fix length determination for regex

GODRIVER-893
GODRIVER-880

Change-Id: I833df440fd652ec2e079244d91edaf1b2530053d
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/03f71cffc6c1b6c1de8b5c6d988d04916f4fbf7d

Comment by Kristofer Brandow (Inactive) [ 21/Mar/19 ]

Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/448668.

Generated at Thu Feb 08 08:35:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.