cvs: /php3 ChangeLog /php3/functions string.c

From: Date: Mon, 14 Feb 2000 10:07:25 +0000
Subject: cvs: /php3 ChangeLog /php3/functions string.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-15515@lists.php.net to get a copy of this message
thies Mon Feb 14 02:07:25 2000 EDT Modified files: /php3 ChangeLog /php3/functions string.c Log: backport strip_tags fix Index: php3/ChangeLog diff -u php3/ChangeLog:1.822 php3/ChangeLog:1.823 --- php3/ChangeLog:1.822 Fri Feb 11 21:37:51 2000 +++ php3/ChangeLog Mon Feb 14 02:07:24 2000 @@ -2,6 +2,7 @@ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ???, Version 3.0.15 +- Fixed crash in strip_tags() and related functions. - Fixed passthru() to no longer return any value. (Andrei) - base64_decode() will decode POST data correct. (Thies) Patch submitted by: Turadg Aleahmad <turadg@wise.berkeley.edu> Index: php3/functions/string.c diff -u php3/functions/string.c:1.208 php3/functions/string.c:1.209 --- php3/functions/string.c:1.208 Fri Dec 31 20:31:17 1999 +++ php3/functions/string.c Mon Feb 14 02:07:24 2000 @@ -29,7 +29,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.208 2000/01/01 04:31:17 sas Exp $ */ +/* $Id: string.c,v 1.209 2000/02/14 10:07:24 thies Exp $ */ #include <stdio.h> #include "php.h" #include "internal_functions.h" @@ -1861,7 +1861,7 @@ int php_tag_find(char *tag, int len, char *set) { char c, *n, *t; int i=0, state=0, done=0; - char *norm = emalloc(len); + char *norm = emalloc(len+1); n = norm; t = tag;

« previous php.dev (#15515) next »