<?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 — cyassl-2.4.0 ParseCert() is smashing stack (YASSL_API_TESTING)]]></title>
		<link>https://www.wolfssl.com/forums/topic234-cyassl240-parsecert-is-smashing-stack-yasslapitesting.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic234.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in cyassl-2.4.0 ParseCert() is smashing stack (YASSL_API_TESTING).]]></description>
		<lastBuildDate>Wed, 04 Jul 2012 08:50:14 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: cyassl-2.4.0 ParseCert() is smashing stack (YASSL_API_TESTING)]]></title>
			<link>https://www.wolfssl.com/forums/post550.html#p550</link>
			<description><![CDATA[<p>Hi Todd,</p><p>Please find below a gdb trace of it happening with --enable-yassl-testing</p><p>This is with version 0.9-73 of our code and libcyassl-2.4.0.&nbsp; We have tested with versions &gt;= 0.9-73 and the same issue happens.&nbsp; When we downgrade cyassl to version 2.2.0, then the problem goes away.</p><p>Many thanks,<br />*Joe</p><br /><p>^C<br />Program received signal SIGINT, Interrupt.<br />0x00007ffff70b32d3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:82<br />82&nbsp; &nbsp; ../sysdeps/unix/syscall-template.S: No such file or directory.<br />&nbsp; &nbsp; in ../sysdeps/unix/syscall-template.S<br />(gdb) break bloxx_sslbump<br />Breakpoint 1 at 0x40c160: file src/bloxx.c, line 786.<br />(gdb) c<br />Continuing.<br />Wed Jul&nbsp; 4 09:43:51 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:09 2012: Accepted a connection, sent to thread 0<br />Wed Jul&nbsp; 4 09:44:09 2012: Peer is from 172.21.127.11 port 51238<br />Wed Jul&nbsp; 4 09:44:09 2012: In ReadCb<br />Wed Jul&nbsp; 4 09:44:09 2012: Checking DownStream Headers<br />Wed Jul&nbsp; 4 09:44:09 2012: End of headers at 175<br />Wed Jul&nbsp; 4 09:44:09 2012: CONNECT 173.194.67.104:443 HTTP/1.1<br />User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1<br />Proxy-Connection: keep-alive<br />Host: 173.194.67.104</p><p>Wed Jul&nbsp; 4 09:44:09 2012: Trying to caputre proxy auth header if there<br />Wed Jul&nbsp; 4 09:44:09 2012: Search of evbuffer failed<br />Wed Jul&nbsp; 4 09:44:09 2012: No proxy auth header, ok<br />Wed Jul&nbsp; 4 09:44:09 2012: In FirstBumpInRequest<br />Wed Jul&nbsp; 4 09:44:09 2012: In GetRequestInfo<br />Wed Jul&nbsp; 4 09:44:09 2012: <br />&nbsp; &nbsp; request method&nbsp; = CONNECT<br />&nbsp; &nbsp; request uri&nbsp; &nbsp; &nbsp;= 173.194.67.104:443<br />&nbsp; &nbsp; request version = HTTP/1.1<br />&nbsp; &nbsp; request host&nbsp; &nbsp; = 173.194.67.104<br />&nbsp; &nbsp; request port&nbsp; &nbsp; = 443</p><p>Wed Jul&nbsp; 4 09:44:09 2012: In IsCertCached<br />Wed Jul&nbsp; 4 09:44:09 2012: Starting to get peer&#039;s cert<br />Wed Jul&nbsp; 4 09:44:09 2012: Check Headers continue<br />Wed Jul&nbsp; 4 09:44:09 2012: In EventCb<br />Wed Jul&nbsp; 4 09:44:09 2012: Connected to certStream nonblocking OK<br />Wed Jul&nbsp; 4 09:44:09 2012: Calling SSL_connect cert<br />Wed Jul&nbsp; 4 09:44:09 2012: Cyassl SendCb sent<br />Wed Jul&nbsp; 4 09:44:09 2012: CyaSSL Receive Cb requesting sz = 5<br />Wed Jul&nbsp; 4 09:44:09 2012: Cyassl ReceiveCb doesn&#039;t have any data ready yet<br />Wed Jul&nbsp; 4 09:44:09 2012: SSL_connect cert continue non/blocking<br />Wed Jul&nbsp; 4 09:44:09 2012: In ReadCb<br />Wed Jul&nbsp; 4 09:44:09 2012: Calling SSL_connect cert<br />Wed Jul&nbsp; 4 09:44:09 2012: CyaSSL Receive Cb requesting sz = 5<br />Wed Jul&nbsp; 4 09:44:09 2012: Cyassl ReceiveCb got data<br />Wed Jul&nbsp; 4 09:44:09 2012: CyaSSL Receive Cb requesting sz = 74<br />Wed Jul&nbsp; 4 09:44:09 2012: Cyassl ReceiveCb got data<br />Wed Jul&nbsp; 4 09:44:09 2012: CyaSSL Receive Cb requesting sz = 5<br />Wed Jul&nbsp; 4 09:44:09 2012: Cyassl ReceiveCb got data<br />Wed Jul&nbsp; 4 09:44:09 2012: CyaSSL Receive Cb requesting sz = 1625<br />Wed Jul&nbsp; 4 09:44:09 2012: Cyassl ReceiveCb got data<br />Wed Jul&nbsp; 4 09:44:09 2012: CyaSSL Receive Cb requesting sz = 5<br />Wed Jul&nbsp; 4 09:44:09 2012: Cyassl ReceiveCb got data<br />Wed Jul&nbsp; 4 09:44:09 2012: CyaSSL Receive Cb requesting sz = 4<br />Wed Jul&nbsp; 4 09:44:09 2012: Cyassl ReceiveCb got data<br />Wed Jul&nbsp; 4 09:44:09 2012: SSL_connect cert success<br />Wed Jul&nbsp; 4 09:44:09 2012: Peer&#039;s cert is 805 bytes</p><p>Wed Jul&nbsp; 4 09:44:09 2012: Spoofed cert, now saving it<br />Wed Jul&nbsp; 4 09:44:09 2012: Caching spoofed cert<br />Wed Jul&nbsp; 4 09:44:09 2012: Scheduling downstream request<br />Wed Jul&nbsp; 4 09:44:09 2012: In ReadCb<br />Wed Jul&nbsp; 4 09:44:09 2012: Checking DownStream Headers<br />Wed Jul&nbsp; 4 09:44:09 2012: End of headers at 175<br />Wed Jul&nbsp; 4 09:44:09 2012: CONNECT 173.194.67.104:443 HTTP/1.1<br />User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1<br />Proxy-Connection: keep-alive<br />Host: 173.194.67.104</p><p>Wed Jul&nbsp; 4 09:44:09 2012: Trying to caputre proxy auth header if there<br />Wed Jul&nbsp; 4 09:44:09 2012: Search of evbuffer failed<br />Wed Jul&nbsp; 4 09:44:09 2012: No proxy auth header, ok<br />Wed Jul&nbsp; 4 09:44:09 2012: In FirstBumpInRequest<br />Wed Jul&nbsp; 4 09:44:09 2012: In GetRequestInfo<br />Wed Jul&nbsp; 4 09:44:09 2012: <br />&nbsp; &nbsp; request method&nbsp; = CONNECT<br />&nbsp; &nbsp; request uri&nbsp; &nbsp; &nbsp;= 173.194.67.104:443<br />&nbsp; &nbsp; request version = HTTP/1.1<br />&nbsp; &nbsp; request host&nbsp; &nbsp; = 173.194.67.104<br />&nbsp; &nbsp; request port&nbsp; &nbsp; = 443</p><p>Wed Jul&nbsp; 4 09:44:09 2012: In IsCertCached<br />Wed Jul&nbsp; 4 09:44:09 2012: We don&#039;t have bloxx answer yet, saving it<br />[Switching to Thread 0x7ffff6716700 (LWP 16392)]</p><p>Breakpoint 1, bloxx_sslbump (req=0x7ffff6705d00) at src/bloxx.c:786<br />786&nbsp; &nbsp; {<br />(gdb) watch cert.subjectCN<br />Hardware watchpoint 2: cert.subjectCN<br />(gdb) n<br />Wed Jul&nbsp; 4 09:44:19 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:19 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:19 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:19 2012: intofiy read error, will continue<br />787&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;assert(req);<br />(gdb) <br />Wed Jul&nbsp; 4 09:44:19 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:19 2012: intofiy read error, will continue<br />788&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;assert(req-&gt;src);<br />(gdb) <br />Wed Jul&nbsp; 4 09:44:20 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:20 2012: intofiy read error, will continue<br />789&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;assert(req-&gt;dst);<br />(gdb) <br />Wed Jul&nbsp; 4 09:44:20 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:20 2012: intofiy read error, will continue<br />790&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;assert(req-&gt;cert.data);<br />(gdb) <br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />791&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;assert(req-&gt;cert.len &gt; 0);<br />(gdb) <br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />798&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;DecodedCert cert = { };<br />(gdb) <br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:21 2012: intofiy read error, will continue<br />799&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;InitDecodedCert(&amp;cert,<br />(gdb) <br />Wed Jul&nbsp; 4 09:44:23 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:23 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:23 2012: intofiy read error, will continue<br />Hardware watchpoint 2: cert.subjectCN</p><p>Old value = 0x7ffff6705c79 &quot;&quot;<br />New value = 0x0<br />0x00007ffff736d120 in InitDecodedCert () from /usr/lib/libcyassl.so.3<br />(gdb) <br />Single stepping until exit from function InitDecodedCert, <br />which has no line number information.<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:24 2012: intofiy read error, will continue<br />bloxx_sslbump (req=&lt;value optimized out&gt;) at src/bloxx.c:803<br />803&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;if (ParseCert(&amp;cert, CERT_TYPE, NO_VERIFY, 0) != 0)<br />(gdb) <br />Wed Jul&nbsp; 4 09:44:25 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:25 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:25 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:25 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:25 2012: intofiy read error, will continue<br />Wed Jul&nbsp; 4 09:44:25 2012: intofiy read error, will continue<br />Hardware watchpoint 2: cert.subjectCN</p><p>Old value = 0x0<br />New value = 0x61cf68 &quot;www.google.com0\201\237\060\r\006\t*\206H\206\367\r\001\001\001\005&quot;<br />0x00007ffff73707d4 in ?? () from /usr/lib/libcyassl.so.3<br />(gdb) <br />Cannot find bounds of current function<br />(gdb)</p>]]></description>
			<author><![CDATA[null@example.com (joseph)]]></author>
			<pubDate>Wed, 04 Jul 2012 08:50:14 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post550.html#p550</guid>
		</item>
		<item>
			<title><![CDATA[Re: cyassl-2.4.0 ParseCert() is smashing stack (YASSL_API_TESTING)]]></title>
			<link>https://www.wolfssl.com/forums/post549.html#p549</link>
			<description><![CDATA[<p>The problem is that the stack smashing does not occur in version 2.2.0.</p><p>With the same version of our code (0.9-73), the stack smashing does not happen when we use cyassl-2.2.0 embedded SSL.&nbsp; The problem only when we upgrade to 2.4.0, again with version 0.9-73 (or later) or our code.</p><p>Since SSL_connect() calls ParseCert(), this increases the priority for us to resolve this.</p><p>In order to eliminate any of our code as suspect could you please suggest a simple unit test?</p><p>Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (joseph)]]></author>
			<pubDate>Wed, 04 Jul 2012 08:31:37 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post549.html#p549</guid>
		</item>
		<item>
			<title><![CDATA[Re: cyassl-2.4.0 ParseCert() is smashing stack (YASSL_API_TESTING)]]></title>
			<link>https://www.wolfssl.com/forums/post547.html#p547</link>
			<description><![CDATA[<p>No replacement is on the map yet.</p><p>If you --enable-yassl-testing the same ParseCert() is called with the same arguments.&nbsp; Also, SSL_connect() calls ParseCert().&nbsp; I&#039;ve never seen this stack problem in those instances.&nbsp; Is it possible something else is damaging the stack and you&#039;re just seeing it then?</p>]]></description>
			<author><![CDATA[null@example.com (todd)]]></author>
			<pubDate>Tue, 03 Jul 2012 18:38:21 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post547.html#p547</guid>
		</item>
		<item>
			<title><![CDATA[cyassl-2.4.0 ParseCert() is smashing stack (YASSL_API_TESTING)]]></title>
			<link>https://www.wolfssl.com/forums/post546.html#p546</link>
			<description><![CDATA[<p>Hi there,</p><p>As recommended, we&#039;re using the experimental API for decoding raw ASN1 certs, but have run into an issue in libcyassl-2.4.0 where the ParseCert function appears to be smashing the stack.</p><p>Please find the code snippet and gdb trace below.&nbsp; Is there a ParseCert() replacement on the roadmap?</p><p>Many thanks.<br />Joe</p><p><strong>Code snippet</strong></p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #define XDEBUG(...) fprintf(stderr, ##__VA_ARGS__)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XDEBUG(&quot;Bloxx: Going to parse cert\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (ParseCert(&amp;cert, CERT_TYPE, NO_VERIFY, 0) != 0)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XDEBUG(&quot;Bloxx: Failed to parse cert\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XERROR(&quot;Bloxx: [%s] Unable to decode certificate &quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;(unable to parse ASN1 DER buffer)&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;__FUNCTION__);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XDEBUG(&quot;Bloxx: Parsed cert\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XDEBUG(&quot;Bloxx: Serial Sz = %d\n&quot;, cert.serialSz);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #undef XDEBUG</p><br /><p><strong>Trace from gdb</strong></p><p>Tue Jul&nbsp; 3 09:39:25 2012: Loaded CA cert</p><p>...</p><p>Tue Jul&nbsp; 3 09:39:25 2012: Bloxx: init<br />Tue Jul&nbsp; 3 09:39:25 2012: Bloxx: [db] Connecting...<br />Tue Jul&nbsp; 3 09:39:25 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:25 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:25 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:25 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:25 2012: Bloxx: [db] Connected<br />^C<br />Program received signal SIGINT, Interrupt.<br />0x00007ffff6e872d3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:82<br />82&nbsp; &nbsp; ../sysdeps/unix/syscall-template.S: No such file or directory.<br />&nbsp; &nbsp; in ../sysdeps/unix/syscall-template.S<br />(gdb) break bloxx_sslbump<br />Breakpoint 1 at 0x40cc30: file src/bloxx.c, line 89.<br />(gdb) c<br />Continuing.<br />Tue Jul&nbsp; 3 09:39:38 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:51 2012: Accepted a connection, sent to thread 0<br />Tue Jul&nbsp; 3 09:39:51 2012: Peer is from 172.21.127.11 port 56971<br />Tue Jul&nbsp; 3 09:39:51 2012: In ReadCb<br />Tue Jul&nbsp; 3 09:39:51 2012: Checking DownStream Headers<br />Tue Jul&nbsp; 3 09:39:51 2012: End of headers at 173<br />Tue Jul&nbsp; 3 09:39:51 2012: CONNECT 74.125.132.94:443 HTTP/1.1<br />User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1<br />Proxy-Connection: keep-alive<br />Host: 74.125.132.94</p><p>Tue Jul&nbsp; 3 09:39:51 2012: Trying to caputre proxy auth header if there<br />Tue Jul&nbsp; 3 09:39:51 2012: Search of evbuffer failed<br />Tue Jul&nbsp; 3 09:39:51 2012: No proxy auth header, ok<br />Tue Jul&nbsp; 3 09:39:51 2012: In FirstBumpInRequest<br />Tue Jul&nbsp; 3 09:39:51 2012: In GetRequestInfo<br />Tue Jul&nbsp; 3 09:39:51 2012: <br />&nbsp; &nbsp; request method&nbsp; = CONNECT<br />&nbsp; &nbsp; request uri&nbsp; &nbsp; &nbsp;= 74.125.132.94:443<br />&nbsp; &nbsp; request version = HTTP/1.1<br />&nbsp; &nbsp; request host&nbsp; &nbsp; = 74.125.132.94<br />&nbsp; &nbsp; request port&nbsp; &nbsp; = 443</p><p>Tue Jul&nbsp; 3 09:39:51 2012: In IsCertCached<br />Tue Jul&nbsp; 3 09:39:51 2012: Starting to get peer&#039;s cert<br />Tue Jul&nbsp; 3 09:39:51 2012: Check Headers continue<br />Tue Jul&nbsp; 3 09:39:51 2012: In EventCb<br />Tue Jul&nbsp; 3 09:39:51 2012: Connected to certStream nonblocking OK<br />Tue Jul&nbsp; 3 09:39:51 2012: Calling SSL_connect cert<br />Tue Jul&nbsp; 3 09:39:51 2012: Cyassl SendCb sent<br />Tue Jul&nbsp; 3 09:39:51 2012: CyaSSL Receive Cb requesting sz = 5<br />Tue Jul&nbsp; 3 09:39:51 2012: Cyassl ReceiveCb doesn&#039;t have any data ready yet<br />Tue Jul&nbsp; 3 09:39:51 2012: SSL_connect cert continue non/blocking<br />Tue Jul&nbsp; 3 09:39:51 2012: In ReadCb<br />Tue Jul&nbsp; 3 09:39:51 2012: Calling SSL_connect cert<br />Tue Jul&nbsp; 3 09:39:51 2012: CyaSSL Receive Cb requesting sz = 5<br />Tue Jul&nbsp; 3 09:39:51 2012: Cyassl ReceiveCb got data<br />Tue Jul&nbsp; 3 09:39:51 2012: CyaSSL Receive Cb requesting sz = 74<br />Tue Jul&nbsp; 3 09:39:51 2012: Cyassl ReceiveCb got data<br />Tue Jul&nbsp; 3 09:39:51 2012: CyaSSL Receive Cb requesting sz = 5<br />Tue Jul&nbsp; 3 09:39:51 2012: Cyassl ReceiveCb got data<br />Tue Jul&nbsp; 3 09:39:51 2012: CyaSSL Receive Cb requesting sz = 7482<br />Tue Jul&nbsp; 3 09:39:51 2012: Cyassl ReceiveCb got data<br />Tue Jul&nbsp; 3 09:39:51 2012: CyaSSL Receive Cb requesting sz = 4730<br />Tue Jul&nbsp; 3 09:39:51 2012: Cyassl ReceiveCb doesn&#039;t have any data ready yet<br />Tue Jul&nbsp; 3 09:39:51 2012: SSL_connect cert continue non/blocking<br />Tue Jul&nbsp; 3 09:39:51 2012: In ReadCb<br />Tue Jul&nbsp; 3 09:39:51 2012: Calling SSL_connect cert<br />Tue Jul&nbsp; 3 09:39:51 2012: CyaSSL Receive Cb requesting sz = 4730<br />Tue Jul&nbsp; 3 09:39:51 2012: Cyassl ReceiveCb got data<br />Tue Jul&nbsp; 3 09:39:51 2012: CyaSSL Receive Cb requesting sz = 3470<br />Tue Jul&nbsp; 3 09:39:51 2012: Cyassl ReceiveCb doesn&#039;t have any data ready yet<br />Tue Jul&nbsp; 3 09:39:51 2012: SSL_connect cert continue non/blocking<br />Tue Jul&nbsp; 3 09:39:51 2012: In ReadCb<br />Tue Jul&nbsp; 3 09:39:51 2012: Calling SSL_connect cert<br />Tue Jul&nbsp; 3 09:39:51 2012: CyaSSL Receive Cb requesting sz = 3470<br />Tue Jul&nbsp; 3 09:39:51 2012: Cyassl ReceiveCb got data<br />Tue Jul&nbsp; 3 09:39:51 2012: CyaSSL Receive Cb requesting sz = 2052<br />Tue Jul&nbsp; 3 09:39:51 2012: Cyassl ReceiveCb doesn&#039;t have any data ready yet<br />Tue Jul&nbsp; 3 09:39:51 2012: SSL_connect cert continue non/blocking<br />Tue Jul&nbsp; 3 09:39:51 2012: In ReadCb<br />Tue Jul&nbsp; 3 09:39:51 2012: Calling SSL_connect cert<br />Tue Jul&nbsp; 3 09:39:51 2012: CyaSSL Receive Cb requesting sz = 2052<br />Tue Jul&nbsp; 3 09:39:51 2012: Cyassl ReceiveCb got data<br />Tue Jul&nbsp; 3 09:39:51 2012: CyaSSL Receive Cb requesting sz = 5<br />Tue Jul&nbsp; 3 09:39:51 2012: Cyassl ReceiveCb got data<br />Tue Jul&nbsp; 3 09:39:51 2012: CyaSSL Receive Cb requesting sz = 4<br />Tue Jul&nbsp; 3 09:39:51 2012: Cyassl ReceiveCb got data<br />Tue Jul&nbsp; 3 09:39:51 2012: SSL_connect cert success<br />Tue Jul&nbsp; 3 09:39:51 2012: Peer&#039;s cert is 6777 bytes</p><p>Tue Jul&nbsp; 3 09:39:51 2012: Spoofed cert, now saving it<br />Tue Jul&nbsp; 3 09:39:51 2012: Caching spoofed cert<br />Tue Jul&nbsp; 3 09:39:51 2012: Scheduling downstream request<br />Tue Jul&nbsp; 3 09:39:51 2012: In ReadCb<br />Tue Jul&nbsp; 3 09:39:51 2012: Checking DownStream Headers<br />Tue Jul&nbsp; 3 09:39:51 2012: End of headers at 173<br />Tue Jul&nbsp; 3 09:39:51 2012: CONNECT 74.125.132.94:443 HTTP/1.1<br />User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1<br />Proxy-Connection: keep-alive<br />Host: 74.125.132.94</p><p>Tue Jul&nbsp; 3 09:39:51 2012: Trying to caputre proxy auth header if there<br />Tue Jul&nbsp; 3 09:39:51 2012: Search of evbuffer failed<br />Tue Jul&nbsp; 3 09:39:51 2012: No proxy auth header, ok<br />Tue Jul&nbsp; 3 09:39:51 2012: In FirstBumpInRequest<br />Tue Jul&nbsp; 3 09:39:51 2012: In GetRequestInfo<br />Tue Jul&nbsp; 3 09:39:51 2012: <br />&nbsp; &nbsp; request method&nbsp; = CONNECT<br />&nbsp; &nbsp; request uri&nbsp; &nbsp; &nbsp;= 74.125.132.94:443<br />&nbsp; &nbsp; request version = HTTP/1.1<br />&nbsp; &nbsp; request host&nbsp; &nbsp; = 74.125.132.94<br />&nbsp; &nbsp; request port&nbsp; &nbsp; = 443</p><p>Tue Jul&nbsp; 3 09:39:51 2012: In IsCertCached<br />Tue Jul&nbsp; 3 09:39:51 2012: We don&#039;t have bloxx answer yet, saving it<br />[Switching to Thread 0x7ffff3c04700 (LWP 22326)]</p><p>Breakpoint 1, bloxx_sslbump (req=0x7ffff3bf3ce0) at src/bloxx.c:89<br />89&nbsp; &nbsp; {<br />(gdb) n<br />Tue Jul&nbsp; 3 09:39:53 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:53 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:53 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:53 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:53 2012: intofiy read error, will continue<br />90&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;assert(req);<br />(gdb) <br />Tue Jul&nbsp; 3 09:39:54 2012: intofiy read error, will continue<br />89&nbsp; &nbsp; {<br />(gdb) <br />Tue Jul&nbsp; 3 09:39:54 2012: intofiy read error, will continue<br />90&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;assert(req);<br />(gdb) <br />Tue Jul&nbsp; 3 09:39:54 2012: intofiy read error, will continue<br />91&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;assert(req-&gt;src);<br />(gdb) <br />Tue Jul&nbsp; 3 09:39:54 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:54 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:54 2012: intofiy read error, will continue<br />92&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;assert(req-&gt;dst);<br />(gdb) <br />Tue Jul&nbsp; 3 09:39:55 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:55 2012: intofiy read error, will continue<br />93&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;assert(req-&gt;cert.data);<br />(gdb) <br />Tue Jul&nbsp; 3 09:39:56 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:56 2012: intofiy read error, will continue<br />94&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;assert(req-&gt;cert.len &gt; 0);<br />(gdb) <br />Tue Jul&nbsp; 3 09:39:57 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:57 2012: intofiy read error, will continue<br />102&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;XDEBUG(&quot;Bloxx: [%s] Got req-&gt;src = &#039;%s&#039;&quot;,<br />(gdb) <br />Tue Jul&nbsp; 3 09:39:58 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:58 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:58 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:58 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:58 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:58 2012: Bloxx: [bloxx_sslbump] Got req-&gt;src = &#039;172.21.127.11&#039;<br />104&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;XDEBUG(&quot;Bloxx: [%s] Got req-&gt;dst = &#039;%s&#039;&quot;,<br />(gdb) <br />Tue Jul&nbsp; 3 09:39:59 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:59 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:59 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:39:59 2012: intofiy read error, will continue<br />111&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;if (inet_pton(AF_INET, req-&gt;dst, &amp;addr))<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:00 2012: intofiy read error, will continue<br />104&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;XDEBUG(&quot;Bloxx: [%s] Got req-&gt;dst = &#039;%s&#039;&quot;,<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:01 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:01 2012: Bloxx: [bloxx_sslbump] Got req-&gt;dst = &#039;74.125.132.94&#039;<br />Tue Jul&nbsp; 3 09:40:01 2012: intofiy read error, will continue<br />111&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;if (inet_pton(AF_INET, req-&gt;dst, &amp;addr))<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:02 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:02 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:02 2012: intofiy read error, will continue<br />109&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;struct in_addr addr = { };<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:02 2012: intofiy read error, will continue<br />111&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;if (inet_pton(AF_INET, req-&gt;dst, &amp;addr))<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:03 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:03 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:03 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:03 2012: intofiy read error, will continue<br />113&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XDEBUG(&quot;Bloxx: [%s] Detected IPv4 address (%s)&quot;,<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:04 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:04 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:04 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:04 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:04 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:04 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:04 2012: Bloxx: [bloxx_sslbump] Detected IPv4 address (74.125.132.94)<br />115&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XDEBUG(&quot;Bloxx: [%s] Checking for IPv4 tunnel rule&quot;,<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:05 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:05 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:05 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:05 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:05 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:05 2012: Bloxx: [bloxx_sslbump] Checking for IPv4 tunnel rule<br />118&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pthread_rwlock_rdlock(&amp;ip4Lock);<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:05 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:05 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:05 2012: intofiy read error, will continue<br />120&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (LookupHashTable(&amp;ip4Rules, (void *)&amp;addr, NULL))<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:06 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:06 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:06 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:06 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:06 2012: intofiy read error, will continue<br />128&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pthread_rwlock_unlock(&amp;ip4Lock);<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:07 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:07 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:07 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:07 2012: intofiy read error, will continue<br />148&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;if (bump)<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:07 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:07 2012: intofiy read error, will continue<br />151&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (IsDebugLevel())<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:08 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:08 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:08 2012: intofiy read error, will continue<br />153&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XDEBUG(&quot;Bloxx: [%s] Checking for certificate tunnel rule&quot;,<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:08 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:08 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:08 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:08 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:08 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:08 2012: Bloxx: [bloxx_sslbump] Checking for certificate tunnel rule<br />156&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XDEBUG(&quot;Bloxx: [%s] Decoding certificate&quot;,<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:08 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:08 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:08 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:08 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:08 2012: Bloxx: [bloxx_sslbump] Decoding certificate<br />160&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DecodedCert cert = { };<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:09 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:09 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:09 2012: intofiy read error, will continue<br />161&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;InitDecodedCert(&amp;cert,<br />(gdb) watch cert.subjectCN<br />Hardware watchpoint 2: cert.subjectCN<br />(gdb) n<br />Tue Jul&nbsp; 3 09:40:21 2012: intofiy read error, will continue<br />160&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DecodedCert cert = { };<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:23 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:23 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:23 2012: intofiy read error, will continue<br />161&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;InitDecodedCert(&amp;cert,<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:23 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:23 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:23 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:23 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:23 2012: intofiy read error, will continue<br />Hardware watchpoint 2: cert.subjectCN</p><p>Old value = 0x7ffff3bf3c40 &quot;&quot;<br />New value = 0x0<br />0x00007ffff7141120 in InitDecodedCert () from /usr/lib/libcyassl.so.3<br />(gdb) <br />Single stepping until exit from function InitDecodedCert, <br />which has no line number information.<br />Tue Jul&nbsp; 3 09:40:24 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:24 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:24 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:24 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:24 2012: intofiy read error, will continue<br />bloxx_sslbump (req=0x7ffff3bf3ce0) at src/bloxx.c:166<br />166&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XDEBUG(&quot;Bloxx: Going to parse cert\n&quot;);<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:25 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:25 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:25 2012: intofiy read error, will continue<br />Bloxx: Going to parse cert<br />167&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (ParseCert(&amp;cert, CERT_TYPE, NO_VERIFY, 0) != 0)<br />(gdb) <br />Tue Jul&nbsp; 3 09:40:26 2012: intofiy read error, will continue<br />Tue Jul&nbsp; 3 09:40:26 2012: intofiy read error, will continue<br />Hardware watchpoint 2: cert.subjectCN</p><p>Old value = 0x0<br />New value = 0x6603b0 &quot;google.com0\201\237\060\r\006\t*\206H\206\367\r\001\001\001\005&quot;<br />0x00007ffff71447d4 in ?? () from /usr/lib/libcyassl.so.3<br />(gdb) <br />Cannot find bounds of current function<br />(gdb)</p>]]></description>
			<author><![CDATA[null@example.com (joseph)]]></author>
			<pubDate>Tue, 03 Jul 2012 09:14:23 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post546.html#p546</guid>
		</item>
	</channel>
</rss>
