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

Diff 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 | View Patch Patch

Revision 1.1 by slords, Fri Jun 29 14:45:08 2012 UTC Revision 1.1.2.1 by slords, Fri Jun 29 14:45:08 2012 UTC
# Line 0  Line 1 
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;


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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