]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport:
authorGuido van Rossum <guido@python.org>
Thu, 6 Jun 2002 20:10:16 +0000 (20:10 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 6 Jun 2002 20:10:16 +0000 (20:10 +0000)
commit93f2edba15da3ec98e4f7a7964400466e97b52c8
tree42b658bdf2be44d0e3c0db879db3d9879fac6835
parent56b36cdca14b10bc95a7840993dffa0eae4029cc
Backport:
The tp_new implementation should initialize the errorhandler field,
otherwise this code could segfault:

  from socket import socket
  s = socket.__new__(socket)
  s.recv(100)
Modules/socketmodule.c