From f65b1a175f0c9ddb662c1ee7fd4b45d8824c900c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 12 Aug 2001 09:28:40 +0000 Subject: Bump size of sprintf buffer. Suggested by Alex Coventry. --- Modules/socketmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index f4c5726..16b81ac 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; -- cgit v0.12