[Pkg-javascript-commits] [node-expat] 126/371: EntityDecl: obey value_length parameter

Jonas Smedegaard dr at jones.dk
Sun Feb 28 09:59:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-expat.

commit 1e212730e86274847e4e5242375cfcf8569573ab
Author: Astro <astro at spaceboyz.net>
Date:   Mon Jan 23 21:11:02 2012 +0100

    EntityDecl: obey value_length parameter
---
 node-expat.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/node-expat.cc b/node-expat.cc
index 6243f07..35b39be 100644
--- a/node-expat.cc
+++ b/node-expat.cc
@@ -351,7 +351,7 @@ private:
     Handle<Value> argv[8] = { sym_entityDecl,
                               entityName ? String::New(entityName) : Null(),
                               Boolean::New(is_parameter_entity),
-                              value ? String::New(value) : Null(),
+                              value ? String::New(value, value_length) : Null(),
                               base ? String::New(base) : Null(),
                               systemId ? String::New(systemId) : Null(),
                               publicId ? String::New(publicId) : Null(),

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git



More information about the Pkg-javascript-commits mailing list