summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorGeorge Schlossnagle <gschlossnagle@php.net>2003-07-20 20:16:07 +0000
committerGeorge Schlossnagle <gschlossnagle@php.net>2003-07-20 20:16:07 +0000
commit600f72f7b4652321b14d2abe247a4f3bdc7f7d98 (patch)
tree511f1b80be3c8d7f7af1c463924816c5420e26af /ext/reflection/php_reflection.c
parentcfe2eda4f6842e73e2d16d27e7ff0570bb0284e0 (diff)
downloadphp-git-600f72f7b4652321b14d2abe247a4f3bdc7f7d98.tar.gz
should nt here
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index a10455e0dc..493c25e9b2 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -117,6 +117,7 @@ string *string_write(string *str, char *buf, int len)
}
memcpy(str->string + str->len - 1, buf, len);
str->len += len;
+ str->string[str->len] = '\0';
return str;
}