Open kevinburkenotion opened 5 years ago
The line tmp = new Buffer(buf.length) is considered insecure, instead you should use Buffer.alloc to avoid the possibility of leaking unzeroed memory.
tmp = new Buffer(buf.length)
Buffer.alloc
(I know it's overwritten on the next line, but this could change in a later version of the code)
The line
tmp = new Buffer(buf.length)
is considered insecure, instead you should useBuffer.alloc
to avoid the possibility of leaking unzeroed memory.(I know it's overwritten on the next line, but this could change in a later version of the code)