diff options
author | Alex Dupre <ale@FreeBSD.org> | 2011-08-19 09:33:31 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2011-08-19 09:33:31 +0000 |
commit | cda471cf02917bbe0f37f5e0ac7b4b1771b9db8b (patch) | |
tree | 4e8834ea0d1c7835e3c42fe420cecb457c7611a5 /net/php5-sockets/files/patch-sockets.c | |
parent | Upgrade to 0.4.11. (diff) |
Update to 5.3.7 release.
Notes
Notes:
svn path=/head/; revision=280005
Diffstat (limited to 'net/php5-sockets/files/patch-sockets.c')
-rw-r--r-- | net/php5-sockets/files/patch-sockets.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net/php5-sockets/files/patch-sockets.c b/net/php5-sockets/files/patch-sockets.c deleted file mode 100644 index 68e0a8e5fd6e..000000000000 --- a/net/php5-sockets/files/patch-sockets.c +++ /dev/null @@ -1,14 +0,0 @@ ---- sockets.c.orig 2011/05/23 23:51:28 -+++ sockets.c 2011/05/24 00:05:50 -@@ -1336,6 +1336,11 @@ - break; - - case AF_UNIX: -+ if (addr_len >= sizeof(s_un.sun_path)) { -+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Path too long", php_sock->type); -+ RETURN_FALSE; -+ } -+ - memset(&s_un, 0, sizeof(struct sockaddr_un)); - - s_un.sun_family = AF_UNIX; |