Showing with 3 additions and 3 deletions.
  1. +2 −2 doc/api/vm.markdown
  2. +1 −1 src/node_crypto.cc
@@ -13,8 +13,8 @@ JavaScript code can be compiled and run immediately or compiled, saved, and run
## Caveats

The `vm` module has many known issues and edge cases. If you run into
issues or unexpected behavior, please consult
[the open issues on GitHub](https://github.com/joyent/node/issues/search?q=vm).
issues or unexpected behavior, please consult [the open issues on
GitHub](https://github.com/joyent/node/search?q=vm+state%3Aopen&type=Issues).
Some of the biggest problems are described below.

### Sandboxes
@@ -3309,7 +3309,7 @@ class Verify : public ObjectWrap {

unsigned char* hbuf = new unsigned char[hlen];
ssize_t hwritten = StringBytes::Write(
reinterpret_cast<char*>(hbuf), hlen, args[1], BINARY);
reinterpret_cast<char*>(hbuf), hlen, args[1], encoding);
assert(hwritten == hlen);

int r;