From a27d5d842a4875d088babb68c5f9f22114108454 Mon Sep 17 00:00:00 2001 From: Stefan Esser Date: Sat, 26 Jun 2004 07:43:02 +0000 Subject: [PATCH] IE we love you all... --- ext/standard/string.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/standard/string.c b/ext/standard/string.c index 464c6a798cf..77c94942802 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -3916,6 +3916,8 @@ PHPAPI size_t php_strip_tags(char *rbuf, int len, int *stateptr, char *allow, in while (i < len) { switch (c) { + case '\0': + break; case '<': if (isspace(*(p + 1))) { goto reg_char;