Title: gunzipSync DOA in Node 14.15.2 · Issue #36615 · nodejs/node · GitHub
Open Graph Title: gunzipSync DOA in Node 14.15.2 · Issue #36615 · nodejs/node
X Title: gunzipSync DOA in Node 14.15.2 · Issue #36615 · nodejs/node
Description: Version: 14.15.2 Platform: Linux lbvm 5.4.0-56-generic #62~18.04.1-Ubuntu SMP Tue Nov 24 10:07:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Subsystem: What steps will reproduce the bug? Any code using gunzipSync will crash $ cat gunzip.js ...
Open Graph Description: Version: 14.15.2 Platform: Linux lbvm 5.4.0-56-generic #62~18.04.1-Ubuntu SMP Tue Nov 24 10:07:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Subsystem: What steps will reproduce the bug? Any code usin...
X Description: Version: 14.15.2 Platform: Linux lbvm 5.4.0-56-generic #62~18.04.1-Ubuntu SMP Tue Nov 24 10:07:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Subsystem: What steps will reproduce the bug? Any code usin...
Opengraph URL: https://github.com/nodejs/node/issues/36615
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"gunzipSync DOA in Node 14.15.2","articleBody":"* **Version**: 14.15.2\r\n* **Platform**: Linux lbvm 5.4.0-56-generic #62~18.04.1-Ubuntu SMP Tue Nov 24 10:07:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux\r\n* **Subsystem**:\r\n\r\n### What steps will reproduce the bug?\r\nAny code using `gunzipSync` will crash\r\n\r\n```\r\n$ cat gunzip.js \r\nconst { gunzipSync } = require('zlib');\r\nconsole.log(gunzipSync('fooobar'));\r\n\r\n$ node -v\r\nv14.15.2\r\n\r\n$ node gunzip.js \r\ninternal/streams/readable.js:193\r\n const isDuplex = this instanceof Stream.Duplex;\r\n ^\r\n\r\nTypeError: Right-hand side of 'instanceof' is not an object\r\n at Gunzip.Readable (internal/streams/readable.js:193:25)\r\n at Gunzip.Duplex (internal/streams/duplex.js:56:12)\r\n at Gunzip.Transform (internal/streams/transform.js:117:10)\r\n at Gunzip.ZlibBase (zlib.js:271:13)\r\n at Gunzip.Zlib (zlib.js:669:12)\r\n at new Gunzip (zlib.js:732:8)\r\n at syncBufferWrapper (zlib.js:765:29)\r\n at Object.\u003canonymous\u003e (/home/ledion/workspaces/js2bin/gunzip.js:2:13)\r\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\r\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\r\n```\r\n\r\nThe regression seems to have been introduced in 14.15.2 and is present in 14.15.3.\r\n\r\nMaybe related to #35239? cc @mcollina \r\n","author":{"url":"https://github.com/ledbit","@type":"Person","name":"ledbit"},"datePublished":"2020-12-24T05:01:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/36615/node/issues/36615"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5630120a-bfb6-4b83-9b2c-77da2de1fdf4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB4E:196F8D:295827F:37B2FDB:6992F361 |
| html-safe-nonce | de62bc4dc96894407ed761495ae41d87fbe4153e1a0ccf577c91a1c36fc1c802 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjRFOjE5NkY4RDoyOTU4MjdGOjM3QjJGREI6Njk5MkYzNjEiLCJ2aXNpdG9yX2lkIjoiNzg3NTMyNTE5NjE4OTc1ODMwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 968a36f342b6d0e7d8ad584b08ddb76f03f55915da416e7f6fc527aab1941083 |
| hovercard-subject-tag | issue:774182559 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/36615/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6ef213604ac7b12f36be885b0583efeeda5744d5ef3d4acdb5a9aac28bea602e/nodejs/node/issues/36615 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6ef213604ac7b12f36be885b0583efeeda5744d5ef3d4acdb5a9aac28bea602e/nodejs/node/issues/36615 |
| og:image:alt | Version: 14.15.2 Platform: Linux lbvm 5.4.0-56-generic #62~18.04.1-Ubuntu SMP Tue Nov 24 10:07:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Subsystem: What steps will reproduce the bug? Any code usin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ledbit |
| hostname | github.com |
| expected-hostname | github.com |
| None | 348cc0594c4976eb4050dc9547ecf65057ee89a2b7ed0652b983b9b539f57145 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ce72317238c729e85014e1d867fd30d09b7f94ba |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width