Commit cc0ce523 authored by Martin v. Löwis's avatar Martin v. Löwis

Bump size of sprintf buffer. Suggested by Alex Coventry.

parent 76e10520
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment