mirror of https://github.com/nodejs/node.git
Buffer::Length(Buffer*) should not invoke itself recursively.
Closes GH-759.pull/22966/head
parent
9a8e843ca3
commit
594642b31d
|
@ -63,7 +63,7 @@ class Buffer : public ObjectWrap {
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline size_t Length(Buffer *b) {
|
static inline size_t Length(Buffer *b) {
|
||||||
return Buffer::Length(b);
|
return Buffer::Length(b->handle_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue