Don't use _snprintf() on Windows, it's not safe.
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 8 May 2012 14:01:36 +0000 (16:01 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 8 May 2012 14:02:14 +0000 (16:02 +0200)
commit78e831a31c0ad31156457c7068726e3c0e93b266
treedd6eb5c5b80c84f03416d8c8460bd20a872ee4ad
parent1eb9fc5f336aa1f797aad4b3374bd5acbd31f19d
Don't use _snprintf() on Windows, it's not safe.

_snprintf() doesn't zero-terminate the buffer on overflow. Use the hand-rolled
version that lives in src/node_internals.h.
src/node.cc
src/node_crypto.cc
src/node_extensions.cc