Bug 528445 - YAUZL throws exception for bad compression methods
Summary: YAUZL throws exception for bad compression methods
Status: ASSIGNED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Node (show other bugs)
Version: 16.0   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-12-11 11:23 EST by Michael Rennie CLA
Modified: 2018-05-15 15:20 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2017-12-11 11:23:07 EST
Saw this in my logs (not sure the steps):

[ERROR] server - Error: unsupported compression method: 12
    at /mysever/orionode/node_modules/yauzl/index.js:515:25
    at /mysever/orionode/node_modules/yauzl/index.js:622:5
    at /mysever/orionode/node_modules/fd-slicer/index.js:32:7
    at callback (/mysever/orionode/node_modules/graceful-fs/polyfills.js:128:19)
Comment 1 Michael Rennie CLA 2017-12-11 12:22:27 EST
Looks like yauzl only supports two compression methods:

https://www.npmjs.com/package/yauzl#no-support-for-obscure-compression-methods

....and compression method 12 is bzip2.