dwmkerr / node-imagemagick-cli

Access the ImageMagick CLI tools from Node. No dependencies, cross-platform, with support for ImageMagick 6 and 7.
8 stars 2 forks source link

Update exec.js #38

Open Dyon42 opened 4 years ago

Dyon42 commented 4 years ago

in some situations the buffer size needs to be bigger so i made a extra parameter for the buffer

it will accept an object like {maxBuffer: 1024 * 500} this is for 500kb

the default of node is just 200kb

guardrails[bot] commented 4 years ago

:warning: We detected security issues in this pull request:

Insecure Use of Dangerous Function (1) https://github.com/dwmkerr/node-imagemagick-cli/blob/2c29a7da4abb5dbaa0b516fba05a07226b77a0f0/src/exec.js#L49 More info on how to fix Insecure Use of Dangerous Function in [Javascript](https://www.guardrails.io/docs/en/vulnerabilities/javascript/insecure_use_of_dangerous_function.html?utm_source=ghpr).

👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.