jorton          Mon Jan 10 06:30:01 2005 EDT

  Modified files:              (Branch: PHP_5_0)
    /php-src/ext/mbstring/libmbfl/filters       mbfilter_htmlent.c 
  Log:
  MFH: Don't scribble over the stack; icc compiler warning fix
  from [EMAIL PROTECTED] via Red Hat bugzilla #143795.
  
  
http://cvs.php.net/diff.php/php-src/ext/mbstring/libmbfl/filters/mbfilter_htmlent.c?r1=1.5&r2=1.5.2.1&ty=u
Index: php-src/ext/mbstring/libmbfl/filters/mbfilter_htmlent.c
diff -u php-src/ext/mbstring/libmbfl/filters/mbfilter_htmlent.c:1.5 
php-src/ext/mbstring/libmbfl/filters/mbfilter_htmlent.c:1.5.2.1
--- php-src/ext/mbstring/libmbfl/filters/mbfilter_htmlent.c:1.5 Wed Feb  4 
02:24:06 2004
+++ php-src/ext/mbstring/libmbfl/filters/mbfilter_htmlent.c     Mon Jan 10 
06:30:01 2005
@@ -120,7 +120,7 @@
                }
 
                {
-                       int *p = tmp + sizeof(tmp);
+                       int *p = tmp + sizeof(tmp) / sizeof(tmp[0]);
 
                        CK((*filter->output_function)('#', filter->data));
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to