com php-src: correct the bug #67081 fix: ext/dom/documenttype.c
| From: | Anatol Belski | Date: | Wed, 16 Apr 2014 13:06:57 +0000 |
| Subject: | com php-src: correct the bug #67081 fix: ext/dom/documenttype.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-76922@lists.php.net to get a copy of this message | ||
Commit: 7a5f1663c6775bbdaf870e4c71ef8813d5d13179
Author: Anatol Belski <ab@php.net> Wed, 16 Apr 2014 15:06:57 +0200
Parents: 5224614f23eff18419f2c5489bebe60562e0ce2a
Branches: PHP-5.4 PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7a5f1663c6775bbdaf870e4c71ef8813d5d13179
Log:
correct the bug #67081 fix
Bugs:
https://bugs.php.net/67081
Changed paths:
M ext/dom/documenttype.c
Diff:
diff --git a/ext/dom/documenttype.c b/ext/dom/documenttype.c
index 406e468..9042457 100644
--- a/ext/dom/documenttype.c
+++ b/ext/dom/documenttype.c
@@ -211,7 +211,7 @@ int dom_documenttype_internal_subset_read(dom_object *obj, zval **retval TSRMLS_
xmlOutputBufferFlush(buff);
#ifdef LIBXML2_NEW_BUFFER
- smart_str_appendl(ret_buf, xmlOutputBufferGetContent(buff), xmlOutputBufferGetSize(buff));
+ smart_str_appendl(&ret_buf, xmlOutputBufferGetContent(buff), xmlOutputBufferGetSize(buff));
#else
smart_str_appendl(&ret_buf, buff->buffer->content, buff->buffer->use);
#endif