Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

ssh2

Package Overview
Dependencies
1
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.8 to 0.2.9

14

lib/Channel.js

@@ -371,10 +371,10 @@ var inherits = require('util').inherits,

buf.write('env', 9, 3, 'ascii');
buf[13] = 0;
buf.writeUInt32BE(klen, 14, true);
buf.write(keys[i], 18, klen, 'ascii');
buf.writeUInt32BE(vlen, 18 + klen, true);
buf[12] = 0;
buf.writeUInt32BE(klen, 13, true);
buf.write(keys[i], 17, klen, 'ascii');
buf.writeUInt32BE(vlen, 17 + klen, true);
if (Buffer.isBuffer(env[keys[i]]))
env[keys[i]].copy(buf, 18 + klen + 4);
env[keys[i]].copy(buf, 17 + klen + 4);
else
buf.write(env[keys[i]], 18 + klen + 4, vlen, 'utf8');
buf.write(env[keys[i]], 17 + klen + 4, vlen, 'utf8');
ret = this._conn._send(buf);

@@ -723,2 +723,2 @@ }

return this._channel._sendSignal(signalName);
};
};
{ "name": "ssh2",
"version": "0.2.8",
"version": "0.2.9",
"author": "Brian White <mscdex@mscdex.net>",

@@ -4,0 +4,0 @@ "description": "An SSH2 client module written in pure JavaScript for node.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc