Bump size of sprintf buffer. Suggested by Alex Coventry.
This commit is contained in:
parent
b704238a6c
commit
f65b1a175f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue