Skip to content

CDRIVER-2256 fix _mongoc_validate_update errmsg #472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 12, 2017
Merged

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Dec 12, 2017

_mongoc_validate_update() validates the newObj parameter. The selector (i.e. first argument for update and replace) is not validated by these util functions.

This fixes the change introduced in this commit.

@ajdavis
Copy link
Member

ajdavis commented Dec 12, 2017

Merged to master and cherry-picked to r1.9.

@jmikola jmikola deleted the jmikola-patch-1 branch December 12, 2017 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants