Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 82469
Collapse All | Expand All

(-)Modules/socketmodule.c.orig (-1 / +1 lines)
Lines 3046-3052 Link Here
3046
#endif
3046
#endif
3047
	
3047
	
3048
	/* Guarantee NUL-termination for PyString_FromString() below */
3048
	/* Guarantee NUL-termination for PyString_FromString() below */
3049
	memset((void *) &ip[0], '\0', sizeof(ip) + 1);
3049
	memset((void *) &ip[0], '\0', sizeof(ip));
3050
3050
3051
	if (!PyArg_ParseTuple(args, "is#:inet_ntop", &af, &packed, &len)) {
3051
	if (!PyArg_ParseTuple(args, "is#:inet_ntop", &af, &packed, &len)) {
3052
		return NULL;
3052
		return NULL;

Return to bug 82469