<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — uninitialized variables in Sniffer Application]]></title>
		<link>https://www.wolfssl.com/forums/topic333-uninitialized-variables-in-sniffer-application.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic333.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in uninitialized variables in Sniffer Application.]]></description>
		<lastBuildDate>Tue, 12 Mar 2013 08:20:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: uninitialized variables in Sniffer Application]]></title>
			<link>https://www.wolfssl.com/forums/post947.html#p947</link>
			<description><![CDATA[<p>Hey,<br />sry for the late reply.<br />I am using the sniffer application in order to monitor one of my servers for personal use. since I am using it rather constantly, I am encountering some of these errors.</p><br /><p>thanks,<br />Dan</p>]]></description>
			<author><![CDATA[null@example.com (SheldonCooper)]]></author>
			<pubDate>Tue, 12 Mar 2013 08:20:45 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post947.html#p947</guid>
		</item>
		<item>
			<title><![CDATA[Re: uninitialized variables in Sniffer Application]]></title>
			<link>https://www.wolfssl.com/forums/post918.html#p918</link>
			<description><![CDATA[<p>Thanks for the suggestions!&nbsp; We&#039;ve added those to the github dev branch.&nbsp; How are you using the ssl sniffer?&nbsp; Thanks again.</p>]]></description>
			<author><![CDATA[null@example.com (todd)]]></author>
			<pubDate>Tue, 26 Feb 2013 17:08:54 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post918.html#p918</guid>
		</item>
		<item>
			<title><![CDATA[uninitialized variables in Sniffer Application]]></title>
			<link>https://www.wolfssl.com/forums/post917.html#p917</link>
			<description><![CDATA[<p>Hey All,<br />I have been using the Sniffer Application over the past few months - I noticed that once in a very long time, the application crushes with a seg fault. I have set up a testing environment and by inspecting the core files I have discovered the following variables were uninitialized and most likely have caused the seg fault (I was unable to reproduce the crush after fixing those):<br />in src/Internal.c:<br />in function InitSSL - need to add:</p><div class="codebox"><pre><code>ssl-&gt;keys.encryptSz = 0;
InitCipherSpecs(&amp;(ssl-&gt;specs));</code></pre></div><p>I suspect that after a long enough time, a new session is allocated with a &quot;dirty&quot; encryptSz and this causes a memory corruption followed by a seg fault later on.</p><p>second initialization required is interesting: the function &quot;InitCipherSpecs&quot; is actually supplied in the sniffer application but never used, I just added a call in the SSL object initialization method and it appears to have resolved the second seg fault i have encountered. </p><p>thanks in advance for considering these additions,</p><p>Dan</p>]]></description>
			<author><![CDATA[null@example.com (SheldonCooper)]]></author>
			<pubDate>Tue, 26 Feb 2013 08:26:01 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post917.html#p917</guid>
		</item>
	</channel>
</rss>
