/[smeserver]/rpms/php/sme8/php-5.3.3-CVE-2010-2950.patch
ViewVC logotype

Annotation of /rpms/php/sme8/php-5.3.3-CVE-2010-2950.patch

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


Revision 1.1.2.1 - (hide annotations) (download)
Fri Jun 29 14:45:08 2012 UTC (11 years, 11 months ago) by slords
Branch: redhat-upstream
CVS Tags: php-5_3_3-13_el5_9_1, php-5_3_3-13_el6
Changes since 1.1: +16 -0 lines
Upstream import

1 slords 1.1.2.1
2     https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2010-2950
3    
4     http://svn.php.net/viewvc?view=revision&revision=302565
5    
6     --- php-5.3.3/ext/phar/stream.c.cve2950
7     +++ php-5.3.3/ext/phar/stream.c
8     @@ -470,7 +470,7 @@ static int phar_stream_flush(php_stream
9     if (stream->mode[0] == 'w' || (stream->mode[0] == 'r' && stream->mode[1] == '+')) {
10     ret = phar_flush(((phar_entry_data *)stream->abstract)->phar, 0, 0, 0, &error TSRMLS_CC);
11     if (error) {
12     - php_stream_wrapper_log_error(stream->wrapper, REPORT_ERRORS TSRMLS_CC, error);
13     + php_stream_wrapper_log_error(stream->wrapper, REPORT_ERRORS TSRMLS_CC, "%s", error);
14     efree(error);
15     }
16     return ret;

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