]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #22042: Avoid dangerous C cast in socket.setblocking()
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 23 Jul 2014 20:56:55 +0000 (22:56 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 23 Jul 2014 20:56:55 +0000 (22:56 +0200)
commitb6dab6bce83bc64d07abb9eeb9daec461414bc08
treecc174608ff79a2ef089fe227bac34d9205135bec
parentbaddc840d5e3bb5ca5b48b0ae9f93bea09b35f19
Issue #22042: Avoid dangerous C cast in socket.setblocking()

Avoid cast from (int*) to (u_long*), even if sizeof(int) == sizeof(u_long).
Modules/socketmodule.c