{"action":"opened","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/25247","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/25247/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/25247/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/25247/events","html_url":"https://github.com/nodejs/node/issues/25247","id":394655969,"node_id":"MDU6SXNzdWUzOTQ2NTU5Njk=","number":25247,"title":"Zero-byte allocation causes assertion failure","user":{"login":"tniessen","id":3109072,"node_id":"MDQ6VXNlcjMxMDkwNzI=","avatar_url":"https://avatars3.githubusercontent.com/u/3109072?v=4","gravatar_id":"","url":"https://api.github.com/users/tniessen","html_url":"https://github.com/tniessen","followers_url":"https://api.github.com/users/tniessen/followers","following_url":"https://api.github.com/users/tniessen/following{/other_user}","gists_url":"https://api.github.com/users/tniessen/gists{/gist_id}","starred_url":"https://api.github.com/users/tniessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tniessen/subscriptions","organizations_url":"https://api.github.com/users/tniessen/orgs","repos_url":"https://api.github.com/users/tniessen/repos","events_url":"https://api.github.com/users/tniessen/events{/privacy}","received_events_url":"https://api.github.com/users/tniessen/received_events","type":"User","site_admin":false},"labels":[{"id":151728674,"node_id":"MDU6TGFiZWwxNTE3Mjg2NzQ=","url":"https://api.github.com/repos/nodejs/node/labels/confirmed-bug","name":"confirmed-bug","color":"fc2929","default":false},{"id":155267357,"node_id":"MDU6TGFiZWwxNTUyNjczNTc=","url":"https://api.github.com/repos/nodejs/node/labels/crypto","name":"crypto","color":"009800","default":false},{"id":311053234,"node_id":"MDU6TGFiZWwzMTEwNTMyMzQ=","url":"https://api.github.com/repos/nodejs/node/labels/security","name":"security","color":"bb3344","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-28T15:05:56Z","updated_at":"2018-12-28T15:05:56Z","closed_at":null,"author_association":"MEMBER","body":"<!--\r\nThank you for reporting a possible bug in Node.js.\r\n\r\nPlease fill in as much of the template below as you can.\r\n\r\nVersion: output of `node -v`\r\nPlatform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)\r\nSubsystem: if known, please specify the affected core module name\r\n\r\nIf possible, please provide code that demonstrates the problem, keeping it as\r\nsimple and free of external dependencies as you can.\r\n-->\r\n\r\n* **Version**: 11.6.0\r\n* **Platform**: Ubuntu, Windows\r\n* **Subsystem**: crypto\r\n\r\n<!-- Please provide more details below this comment. -->\r\n\r\nPassing an empty string to any function that parses a private key causes an assertion failure:\r\n\r\n```\r\n> crypto.createPrivateKey({ key: '' })\r\nC:\\WINDOWS\\system32\\cmd.exe - node[12104]: src\\node_crypto.cc:2675: Assertion `(mem) != nullptr' failed.\r\n```"}}
{"actor":{"display_login":"tniessen"}}