node-restify
node-restify copied to clipboard
Fix a crash in multipartBodyParser if mapping files array #1819
Pre-Submission Checklist
- [*] Opened an issue discussing these changes before opening the PR
- [*] Ran the linter and tests via
make prepush - [*] Included comprehensive and convincing tests for changes
Issues
Closes:
- Issue #1819
Crash in multipartBodyParser if mapping files array
Changes
Fix the crash issue and add test code.
@ghermeto Test script in my MR is not suitable, I attached the reproducible projects in the ticket https://github.com/restify/node-restify/issues/1819, can you please download testServer.zip and testClient.zip and try them?