isaacs/npmjs.org — pull request #61 by mfncooper (2012-05-10 18:22:15+00:00)
Title: Fix loop control corruption during _npmUser validation

The validation of versions includes a nested loop to validate _npmUser, and that inner loop reuses the same control vars as the outer loop. This causes corruption of the loop control, sometimes causing an infinite loop, and eventually a timeout error. The patch simply uses different names for the inner loop control vars.