Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sanitise pid parameter #31

Merged
merged 1 commit into from Dec 11, 2019
Merged

fix: sanitise pid parameter #31

merged 1 commit into from Dec 11, 2019

Commits on Dec 10, 2019

  1. fix: sanitise pid parameter

    This patch adds a simple check to the process ID passed in, ensuring it
    is a number, and throwing an error otherwise. The aim is to fix the
    issue explained here:
    
    - https://hackerone.com/reports/701183
    - https://snyk.io/vuln/SNYK-JS-TREEKILL-536781
    
    Fixes: #30
    robcresswell committed Dec 10, 2019
    Copy the full SHA
    e5d66d1 View commit details
    Browse the repository at this point in the history