/[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.2 - (hide annotations) (download)
Thu Nov 3 22:54:19 2011 UTC (12 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: php-5_3_3-15_el5_sme, php-5_3_3-16_el5_sme, php-5_3_3-14_el5_sme, php-5_3_3-1_el5_sme_6, php-5_3_3-13_el5_sme_1, php-5_3_3-1_el5_sme_3, php-5_3_3-13_el5_sme_2, php-5_3_3-17_el5_sme, php-5_3_3-13_el5_sme, HEAD
Changes since 1.1: +20 -0 lines
* Thu Nov 2 2011 Shad L. Lords <slords@mail.com> - 5.3.3-1.3.sme
- Obsolete php-domxml and php-dom [SME: 6733]
- Update Obsoletes and Conflicts [SME: 6436]

1 slords 1.2
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