Browse Source

MFB: Missing length limit parameter.

PHP-5.0
Sara Golemon 22 years ago
parent
commit
3838fb99de
  1. 2
      ext/sockets/sockets.c

2
ext/sockets/sockets.c

@ -322,7 +322,7 @@ static char *php_strerror(int error TSRMLS_DC)
buf = hstrerror(error);
#else
{
spprintf(&(SOCKETS_G(strerror_buf)), "Host lookup error %d", error);
spprintf(&(SOCKETS_G(strerror_buf)), 0, "Host lookup error %d", error);
buf = SOCKETS_G(strerror_buf);
}
#endif

Loading…
Cancel
Save