/[smeserver]/rpms/php/sme8/php-5.3.3-CVE-2011-1938.patch
ViewVC logotype

Annotation of /rpms/php/sme8/php-5.3.3-CVE-2011-1938.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.2.1 - (hide annotations) (download)
Thu Nov 3 22:49:53 2011 UTC (13 years ago) by slords
Branch: redhat-upstream
CVS Tags: php-5_3_3-1_el5_7_3, php-5_3_3-13_el5_9_1, php-5_3_3-1_el5_7_6, php-5_3_3-13_el6
Changes since 1.1: +20 -0 lines
Upstream renamed

1 slords 1.1.2.1
2     https://bugzilla.redhat.com/show_bug.cgi?id=709067
3    
4     http://svn.php.net/viewvc?view=revision&revision=311369
5     http://svn.php.net/viewvc?view=revision&revision=311370
6    
7     --- php-5.3.3/ext/sockets/sockets.c.cve1938
8     +++ php-5.3.3/ext/sockets/sockets.c
9     @@ -1333,6 +1333,11 @@ PHP_FUNCTION(socket_connect)
10     break;
11    
12     case AF_UNIX:
13     + if (addr_len >= sizeof(s_un.sun_path)) {
14     + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Path too long");
15     + RETURN_FALSE;
16     + }
17     +
18     memset(&s_un, 0, sizeof(struct sockaddr_un));
19    
20     s_un.sun_family = AF_UNIX;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed