Skip to content

[2.7] bpo-25943: Fix potential heap corruption in bsddb's _db_associateCallback()#8337

Merged
serhiy-storchaka merged 1 commit into
python:2.7from
ZackerySpytz:bpo-25943-bsddb
Jul 21, 2018
Merged

[2.7] bpo-25943: Fix potential heap corruption in bsddb's _db_associateCallback()#8337
serhiy-storchaka merged 1 commit into
python:2.7from
ZackerySpytz:bpo-25943-bsddb

Conversation

@ZackerySpytz

@ZackerySpytz ZackerySpytz commented Jul 19, 2018

Copy link
Copy Markdown
Contributor

There was a missing check for integer overflow, several function calls
were not checked for failure, and allocated memory was not freed if an
error occurred.

https://bugs.python.org/issue25943

…teCallback()

There was a missing check for integer overflow, several function calls
were not checked for failure, and allocated memory was not freed if an
error occurred.
@rhettinger

Copy link
Copy Markdown
Contributor

This looks good overall but I would feel more confident if Serhiy also reviewed it.

@serhiy-storchaka serhiy-storchaka added the type-bug An unexpected behavior, bug, or error label Jul 21, 2018
@serhiy-storchaka serhiy-storchaka merged commit 3252205 into python:2.7 Jul 21, 2018
@ZackerySpytz ZackerySpytz deleted the bpo-25943-bsddb branch July 22, 2018 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants