<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 13: static variable in Buffer</title><link href="https://sourceforge.net/p/sharpssh/bugs/13/" rel="alternate"/><link href="https://sourceforge.net/p/sharpssh/bugs/13/feed.atom" rel="self"/><id>https://sourceforge.net/p/sharpssh/bugs/13/</id><updated>2009-01-26T13:11:12Z</updated><subtitle>Recent changes to 13: static variable in Buffer</subtitle><entry><title>static variable in Buffer</title><link href="https://sourceforge.net/p/sharpssh/bugs/13/" rel="alternate"/><published>2009-01-26T13:11:12Z</published><updated>2009-01-26T13:11:12Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net385e5ee3045f30fc98c29d7afcd537db8c905e80</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;there is a multihreading bug in the class Tamir.SharpSsh.jsch.Buffer, field:&lt;br /&gt;
static byte[] tmp=new byte[4];&lt;br /&gt;
( java version is :   final byte[] tmp=new byte[4]; )&lt;br /&gt;
so if multiple session / channels are used ( in multiple threads ) then sent data may be corrupt ( when putInt is used at the same time )&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>