From: Martin v. Löwis Date: Sun, 12 Aug 2001 09:28:40 +0000 (+0000) Subject: Bump size of sprintf buffer. Suggested by Alex Coventry. X-Git-Tag: v2.2a3~615 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f65b1a175f0c9ddb662c1ee7fd4b45d8824c900c;p=thirdparty%2FPython%2Fcpython.git Bump size of sprintf buffer. Suggested by Alex Coventry. --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index f4c5726440a0..16b81ac9a75d 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -2344,7 +2344,7 @@ PySocket_getaddrinfo(PyObject *self, PyObject *args) { struct addrinfo hints, *res0, *res; PyObject *pobj = (PyObject *)NULL; - char pbuf[10]; + char pbuf[30]; char *hptr, *pptr; int family, socktype, protocol, flags; int error;