Title: ZLIB failing to inflate entire .gz file that contains an extra field in the header · Issue #6116 · nodejs/node · GitHub
Open Graph Title: ZLIB failing to inflate entire .gz file that contains an extra field in the header · Issue #6116 · nodejs/node
X Title: ZLIB failing to inflate entire .gz file that contains an extra field in the header · Issue #6116 · nodejs/node
Description: 4.4.2: OSX: 10.10.5: The Node ZLIB library only inflates the first 64k of a gzipped file (attached). The file has an extra field in the header, which may be causing the problem. GUNZIP on mac and linux correctly inflate it to it's full s...
Open Graph Description: 4.4.2: OSX: 10.10.5: The Node ZLIB library only inflates the first 64k of a gzipped file (attached). The file has an extra field in the header, which may be causing the problem. GUNZIP on mac and l...
X Description: 4.4.2: OSX: 10.10.5: The Node ZLIB library only inflates the first 64k of a gzipped file (attached). The file has an extra field in the header, which may be causing the problem. GUNZIP on mac and l...
Opengraph URL: https://github.com/nodejs/node/issues/6116
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ZLIB failing to inflate entire .gz file that contains an extra field in the header","articleBody":"\u003c!--\nThanks for wanting to report an issue you've found in Node.js. Please fill in\nthe template below by replacing the html comments with an appropriate answer.\nIf unsure about something, just do as best as you're able.\n\nversion: usually output of `node -v`\nplatform: either `uname -a` output, or if Windows, version and 32 or 64-bit.\nsubsystem: optional -- if known please specify affected core module name.\n\nIt will be much easier for us to fix the issue if a test case that reproduces\nthe problem is provided. Ideally this test case should not have any external\ndependencies. We understand that it is not always possible to reduce your code\nto a small test case, but we would appreciate to have as\nmuch data as possible.\n\nThank you!\n--\u003e\n- **4.4.2**:\n- **OSX**:\n- **10.10.5**:\n\n\u003c!-- Enter your issue details below this comment. --\u003e\n\nThe Node ZLIB library only inflates the first 64k of a gzipped file (attached). The file has an extra field in the header, which may be causing the problem. GUNZIP on mac and linux correctly inflate it to it's full size (~33M). I've also attached a simple test script which takes the gzip file on stdin and outputs the inflated file to stdout. If you run the test script with the attached gzip file you should get 33M but you only get 64K of data.\n[zlib_test.js.zip](https://github.com/nodejs/node/files/210211/zlib_test.js.zip)\n\n[IDb.part1.gz](https://github.com/nodejs/node/files/210214/IDb.part1.gz)\n\nNote: the attached gzip file has been sliced to make it smaller so that I could upload it here. Therefore gunzip will complain and say \"unexpected end of input\", however this file is displaying the same behavior as the original larger gzip file. \n","author":{"url":"https://github.com/chmille4","@type":"Person","name":"chmille4"},"datePublished":"2016-04-08T13:37:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/6116/node/issues/6116"}
| 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:c3d84d40-7f0b-190c-4a1f-4b4f208ef659 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CDB0:2C2F48:133D083:1ABEB65:6A4EA408 |
| html-safe-nonce | 648d6d6f6cf0b4258b56e578ccc14ce4b2e2538a0fefedd723bd6da2ec34bc50 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREIwOjJDMkY0ODoxMzNEMDgzOjFBQkVCNjU6NkE0RUE0MDgiLCJ2aXNpdG9yX2lkIjoiODUyMzkyMzk4NzI4MDg2NDI2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2bc5d01242bd7460281e54fe9d51dfffb50f9e727d7635e1a02d7d9d9380171c |
| hovercard-subject-tag | issue:146931244 |
| 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/6116/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fc9e0048bd71fe47b9d3cee9a18fca6aeb0c164ad0417f382c076b7057d24b2e/nodejs/node/issues/6116 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fc9e0048bd71fe47b9d3cee9a18fca6aeb0c164ad0417f382c076b7057d24b2e/nodejs/node/issues/6116 |
| og:image:alt | 4.4.2: OSX: 10.10.5: The Node ZLIB library only inflates the first 64k of a gzipped file (attached). The file has an extra field in the header, which may be causing the problem. GUNZIP on mac and l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chmille4 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width