Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
mongodb
/
mongo-python-driver
Public
Notifications
You must be signed in to change notification settings
Fork
1.2k
Star
4.4k
Code
Pull requests
16
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Fix: prevent signed integer overflow in OP_MSG message sizes
- #2693
#2693
Merged
aclark4life
merged 13 commits into
mongodb:master
mongodb/mongo-python-driver:master
from
HyperPS:fix/int32-overflow-opmsg
HyperPS/mongo-python-driver:fix/int32-overflow-opmsg
Copy head branch name to clipboard
May 21, 2026
Conversation
Commits
13
(13)
Checks
Files changed
Merged
Fix: prevent signed integer overflow in OP_MSG message sizes
#2693
aclark4life
merged 13 commits into
mongodb:master
mongodb/mongo-python-driver:master
from
HyperPS:fix/int32-overflow-opmsg
HyperPS/mongo-python-driver:fix/int32-overflow-opmsg
Copy head branch name to clipboard
Commits
Commits on Jan 30, 2026
Fix: prevent signed integer overflow in OP_MSG message sizes
HyperPS
committed
2a0304e
View commit details
Copy full SHA for 2a0304e
Browse repository at this point
Commits on Feb 1, 2026
Fix: prevent signed integer overflow in OP_MSG message sizes
HyperPS
committed
e5cdb2e
View commit details
Copy full SHA for e5cdb2e
Browse repository at this point
Fix signed int32 overflow in message and buffer size calculations
HyperPS
committed
acc3f21
View commit details
Copy full SHA for acc3f21
Browse repository at this point
Apply suggestion from @Jibola
Show description for 3211211
HyperPS
and
Jibola
authored
3211211
View commit details
Copy full SHA for 3211211
Browse repository at this point
Update pymongo/_cmessagemodule.c
Show description for f170513
HyperPS
and
Jibola
authored
f170513
View commit details
Copy full SHA for f170513
Browse repository at this point
Commits on Feb 3, 2026
Merge branch 'master' into fix/int32-overflow-opmsg
HyperPS
authored
ef64bbf
View commit details
Copy full SHA for ef64bbf
Browse repository at this point
Commits on Feb 24, 2026
Revert all bson/buffer.c changes and keep only valid fix in _cmessagemodule.c
HyperPS
committed
5201951
View commit details
Copy full SHA for 5201951
Browse repository at this point
Revert all changes except fix: check downsize instead of size in buffer_write_bytes_ssize_t
HyperPS
committed
077648c
View commit details
Copy full SHA for 077648c
Browse repository at this point
Fix: restore trailing newline in bson/buffer.c
HyperPS
committed
4d57f95
View commit details
Copy full SHA for 4d57f95
Browse repository at this point
Revert all cosmetic changes, keep only downsize fix on line 63
HyperPS
committed
bba20d2
View commit details
Copy full SHA for bba20d2
Browse repository at this point
Merge branch 'master' into fix/int32-overflow-opmsg
HyperPS
authored
e252ccc
View commit details
Copy full SHA for e252ccc
Browse repository at this point
Commits on Apr 1, 2026
Apply suggestions from code review
Show description for 2f301ea
Jibola
authored
2f301ea
View commit details
Copy full SHA for 2f301ea
Browse repository at this point
Commits on Apr 3, 2026
Merge branch 'master' into fix/int32-overflow-opmsg
Jibola
authored
5c0ee69
View commit details
Copy full SHA for 5c0ee69
Browse repository at this point
You can’t perform that action at this time.