I upgraded from node 6.3.1 to 6.4.0, and my application broke. The specific line on which it broke is 97 in ntlm.js
The problem is that the variable pos, holding the buffer offset is 40, which is also the length of the buffer. When trying to buf.write the workstation and domain names, both "" (empty string), the method throws a RangeError because the offset points to the byte after the end of the array.
My temporary fix is to comment out the lines writing workstation and domain to the buffer, but that is not a general solution
I upgraded from node 6.3.1 to 6.4.0, and my application broke. The specific line on which it broke is 97 in ntlm.js
The problem is that the variable
pos
, holding the buffer offset is 40, which is also the length of the buffer. When trying tobuf.write
the workstation and domain names, both "" (empty string), the method throws aRangeError
because the offset points to the byte after the end of the array.My temporary fix is to comment out the lines writing workstation and domain to the buffer, but that is not a general solution