From: Wez Furlong Date: Sun, 7 Apr 2002 10:56:30 +0000 (+0000) Subject: fix for #16469 X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~829 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f2344104fb22ef48b3a59382d8cf843d9ceb13a;p=php fix for #16469 --- diff --git a/ext/standard/string.c b/ext/standard/string.c index fcec74a2ca..f6bda9a231 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -3330,7 +3330,7 @@ PHPAPI void php_strip_tags(char *rbuf, int len, int *stateptr, char *allow, int { char *tbuf, *buf, *p, *tp, *rp, c, lc; int br, i=0; - int state; + int state = 0; if (stateptr) state = *stateptr;