{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/8571","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/8571/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/8571/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/8571/events","html_url":"https://github.com/nodejs/node/issues/8571","id":177554930,"number":8571,"title":"v6.6.0 node::PBKDF2() Out of Memory","user":{"login":"scttcper","id":1400464,"avatar_url":"https://avatars.githubusercontent.com/u/1400464?v=3","gravatar_id":"","url":"https://api.github.com/users/scttcper","html_url":"https://github.com/scttcper","followers_url":"https://api.github.com/users/scttcper/followers","following_url":"https://api.github.com/users/scttcper/following{/other_user}","gists_url":"https://api.github.com/users/scttcper/gists{/gist_id}","starred_url":"https://api.github.com/users/scttcper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scttcper/subscriptions","organizations_url":"https://api.github.com/users/scttcper/orgs","repos_url":"https://api.github.com/users/scttcper/repos","events_url":"https://api.github.com/users/scttcper/events{/privacy}","received_events_url":"https://api.github.com/users/scttcper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/confirmed-bug","name":"confirmed-bug","color":"fc2929"},{"url":"https://api.github.com/repos/nodejs/node/labels/crypto","name":"crypto","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-09-17T04:25:41Z","updated_at":"2016-09-23T13:57:24Z","closed_at":"2016-09-22T05:49:56Z","body":"The following code crashes in v6.6.0 on OSX 10.11.6. v6.5.0 does not crash.\r\n\r\nrunning\r\n```javascript\r\nvar crypto = require('crypto');\r\nvar salt = new Buffer('McWpw6FL29zJ6E97Le3hKQ==', 'base64');\r\ncrypto.pbkdf2('', salt, 1, 32, \"sha256\", function(error, saltedPassword) {\r\n  console.log(error);\r\n  console.log(saltedPassword);\r\n});\r\n```\r\n\r\nresults in \r\n```\r\nFATAL ERROR: node::PBKDF2() Out of Memory\r\n 1: node::Abort() [/Users/scoope7/.nvm/versions/node/v6.6.0/bin/node]\r\n 2: node::FatalException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>) [/Users/scoope7/.nvm/versions/node/v6.6.0/bin/node]\r\n 3: node::ClearFatalExceptionHandlers(node::Environment*) [/Users/scoope7/.nvm/versions/node/v6.6.0/bin/node]\r\n 4: node::crypto::RandomBytesWork(uv_work_s*) [/Users/scoope7/.nvm/versions/node/v6.6.0/bin/node]\r\n 5: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) [/Users/scoope7/.nvm/versions/node/v6.6.0/bin/node]\r\n 6: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>) [/Users/scoope7/.nvm/versions/node/v6.6.0/bin/node]\r\n 7: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [/Users/scoope7/.nvm/versions/node/v6.6.0/bin/node]\r\n 8: 0xe4335f092a7\r\n[1]    45139 abort      node crash.js\r\n```\r\n\r\nThis was code extracted out of https://github.com/neumino/rethinkdbdash that was crashing a project."},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/249200213","html_url":"https://github.com/nodejs/node/issues/8571#issuecomment-249200213","issue_url":"https://api.github.com/repos/nodejs/node/issues/8571","id":249200213,"user":{"login":"TheAlphaNerd","id":498775,"avatar_url":"https://avatars.githubusercontent.com/u/498775?v=3","gravatar_id":"","url":"https://api.github.com/users/TheAlphaNerd","html_url":"https://github.com/TheAlphaNerd","followers_url":"https://api.github.com/users/TheAlphaNerd/followers","following_url":"https://api.github.com/users/TheAlphaNerd/following{/other_user}","gists_url":"https://api.github.com/users/TheAlphaNerd/gists{/gist_id}","starred_url":"https://api.github.com/users/TheAlphaNerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheAlphaNerd/subscriptions","organizations_url":"https://api.github.com/users/TheAlphaNerd/orgs","repos_url":"https://api.github.com/users/TheAlphaNerd/repos","events_url":"https://api.github.com/users/TheAlphaNerd/events{/privacy}","received_events_url":"https://api.github.com/users/TheAlphaNerd/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T13:57:24Z","updated_at":"2016-09-23T13:57:24Z","body":"@pkese unfortunately we do not do Friday releases for a number of reasons. There will be a security update coming out next Tuesday, and I believe we intent to ship the above fix as part of it.\r\n\r\nhttps://nodejs.org/en/blog/vulnerability/september-2016-security-releases/"}}
{"actor":{"display_login":"TheAlphaNerd"}}