Skip to content
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

Added function bson_init_finished_data_size with size check for buffer #163

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kapojko
Copy link

@kapojko kapojko commented Dec 4, 2013

This function is necessary when reading BSON object from external source, for example, from network datagram.

Yury Kapoyko added 2 commits December 4, 2013 15:47
`dataSize` parameter (in comparision with "classic" function
`bson_init_finished_data`). This variant performs additional
check for buffer size before treating it as a raw BSON data.
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.

1 participant