cvs: php-src(PHP_5_0) /ext/mbstring/libmbfl/filters mbfilter_htmlent.c
| From: | Joe Orton | Date: | Mon, 10 Jan 2005 11:30:01 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /ext/mbstring/libmbfl/filters mbfilter_htmlent.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-29846@lists.php.net to get a copy of this message | ||
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 dcb314@hotmail.com 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));