]> git.pld-linux.org Git - packages/php.git/blame - php-buff_ovf.patch
Update both-apxs.patch
[packages/php.git] / php-buff_ovf.patch
CommitLineData
c0240cb1 1diff -ur php-5.3.6-orig//ext/sockets/sockets.c php-5.3.6//ext/sockets/sockets.c
2--- php-5.3.6-orig//ext/sockets/sockets.c 2011-01-01 03:19:59.000000000 +0100
3+++ php-5.3.6//ext/sockets/sockets.c 2011-05-24 07:09:54.592779164 +0200
4@@ -1333,6 +1333,11 @@
5 break;
6
7 case AF_UNIX:
8+ if (addr_len >= sizeof(s_un.sun_path)) {
9+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Path too long", php_sock->type);
10+ RETURN_FALSE;
11+ }
12+
13 memset(&s_un, 0, sizeof(struct sockaddr_un));
14
15 s_un.sun_family = AF_UNIX;
16Tylko w php-5.3.6//ext/sockets: sockets.c~
This page took 0.029276 seconds and 4 git commands to generate.