[CSHARP-788] Strengthen checks for nulls in CStrings Created: 22/Jul/13  Updated: 20/Mar/14  Resolved: 22/Jul/13

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.8.1
Fix Version/s: 1.8.2

Type: Improvement Priority: Minor - P4
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to DRIVERS-101 BSON cstring with null bytes should n... Closed

 Description   

The C# driver already checks that element names, collection names and database names don't have nulls in them.

But there are still a few uncommon ways that a null byte could be introduced into a CString that need to be closed.



 Comments   
Comment by auto [ 22/Jul/13 ]

Author:

{u'username': u'rstam', u'name': u'Robert Stam', u'email': u'robert@10gen.com'}

Message: CSHARP-788: Strengthen checks for nulls in CStrings.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/a7fbdb3b60208118529f05e69f2b58e61eda66d8

Generated at Wed Feb 07 21:37:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.