https://redmine.openinfosecfoundation.org/https://redmine.openinfosecfoundation.org/favicon.ico?17011170022010-06-30T05:26:41ZOpen Information Security FoundationSuricata - Bug #198: valgrind report a context error on SSLParserTest01https://redmine.openinfosecfoundation.org/issues/198?journal_id=7232010-06-30T05:26:41ZVictor Julienvictor@inliniac.net
<ul><li><strong>Due date</strong> set to <i>06/30/2010</i></li><li><strong>Assignee</strong> changed from <i>OISF Dev</i> to <i>Pablo Rincon</i></li><li><strong>Target version</strong> set to <i>1.0.0</i></li><li><strong>Estimated time</strong> set to <i>2.00 h</i></li></ul> Suricata - Bug #198: valgrind report a context error on SSLParserTest01https://redmine.openinfosecfoundation.org/issues/198?journal_id=7272010-06-30T10:12:18ZPablo Rinconpablo.rincon.crespo@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/273">0002-This-patch-for-app-layer-ssl-fix-the-bug-198-SSLPa.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/273/0002-This-patch-for-app-layer-ssl-fix-the-bug-198-SSLPa.patch">0002-This-patch-for-app-layer-ssl-fix-the-bug-198-SSLPa.patch</a> added</li><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>It's really weird, but it seems that the way of initializing the input was not handled properly by gcc on -O2 and -O3. I changed it to avoid the usage of brackets as array, and directly use a string with hexa data, fixing the length, since it has \0's, and now it doesn't report ctx errors. The problem was at the last 2 bytes, after two 0x00.</p> Suricata - Bug #198: valgrind report a context error on SSLParserTest01https://redmine.openinfosecfoundation.org/issues/198?journal_id=7322010-06-30T12:49:18ZVictor Julienvictor@inliniac.net
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied, thanks Pablo.</p>