node-restify icon indicating copy to clipboard operation
node-restify copied to clipboard

Fix a crash in multipartBodyParser if mapping files array #1819

Open guoyibj opened this issue 5 years ago • 1 comments

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.

guoyibj avatar Mar 16 '20 06:03 guoyibj

@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?

guoyibj avatar Jun 30 '20 08:06 guoyibj