From: Ben Noordhuis Date: Tue, 8 Mar 2011 20:46:20 +0000 (+0100) Subject: Buffer::Length(Buffer*) should not invoke itself recursively. X-Git-Tag: v0.4.3~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=594642b31dbaa32d99c634421c615dc09c9afb29;p=platform%2Fupstream%2Fnodejs.git Buffer::Length(Buffer*) should not invoke itself recursively. Closes GH-759. --- diff --git a/src/node_buffer.h b/src/node_buffer.h index 9a0e1d2..a548f2e 100644 --- a/src/node_buffer.h +++ b/src/node_buffer.h @@ -63,7 +63,7 @@ class Buffer : public ObjectWrap { } static inline size_t Length(Buffer *b) { - return Buffer::Length(b); + return Buffer::Length(b->handle_); }