mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
Buffer::Length(Buffer*) should not invoke itself recursively.
Closes GH-759.
This commit is contained in:
parent
9a8e843ca3
commit
594642b31d
@ -63,7 +63,7 @@ class Buffer : public ObjectWrap {
|
||||
}
|
||||
|
||||
static inline size_t Length(Buffer *b) {
|
||||
return Buffer::Length(b);
|
||||
return Buffer::Length(b->handle_);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user