]> granicus.if.org Git - php/commitdiff
IE we love you all...
authorStefan Esser <sesser@php.net>
Sat, 26 Jun 2004 07:43:02 +0000 (07:43 +0000)
committerStefan Esser <sesser@php.net>
Sat, 26 Jun 2004 07:43:02 +0000 (07:43 +0000)
ext/standard/string.c

index 464c6a798cfc234115b7315b563821745f71822d..77c94942802dfb7b1f31a38bb5d7c2aefe6e6371 100644 (file)
@@ -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;