joyent/node — pull request #8058 by luciotato (2014-08-02 05:39:10+00:00)
Title: path: fix slice OOB in trim

internal function trim(arr). 2nd parameter of slice() should be slice's end index (not included). Because of function normalize() (called before trim()), "start" is always zero so the bug -for now- has no effect, but its a bug waiting to happen.