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;
|
struct addrinfo hints, *res0, *res;
|
||||||
PyObject *pobj = (PyObject *)NULL;
|
PyObject *pobj = (PyObject *)NULL;
|
||||||
char pbuf[10];
|
char pbuf[30];
|
||||||
char *hptr, *pptr;
|
char *hptr, *pptr;
|
||||||
int family, socktype, protocol, flags;
|
int family, socktype, protocol, flags;
|
||||||
int error;
|
int error;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user