« Previous | Next » 

Revision 212eb8a5

ID212eb8a52e835e3a8e71742fc557b0f4a43bf21c
Parent dbbfbe74
Child e5fdc4d6

Added by Ben Noordhuis about 11 years ago

child_process: fix O(n*m) scan of cmd string

Don't scan the whole string for a "NODE_" substring, just check that
the string starts with the expected prefix.

This is a reprise of dbbfbe7 but this time for the child_process
module.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences