<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/lzo/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/lzo/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 11 Jul 2008 04:02:30 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/lzo/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Yet another Valgrind uninit warning (SECURITY?)</title><link>https://sourceforge.net/p/lzo/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here's another file that reveals still more Valgrind warnings:&lt;br /&gt;
&lt;a href="http://www.cs.berkeley.edu/~daw/tmp/bug9.lzo" rel="nofollow"&gt;http://www.cs.berkeley.edu/~daw/tmp/bug9.lzo&lt;/a&gt;&lt;br /&gt;
These are different warnings than the others I've reported so far, so I'm reporting separately as they may reflect a different set of bugs.&lt;/p&gt;
&lt;p&gt;Valgrind's output:&lt;br /&gt;
==5874== Memcheck, a memory error detector.&lt;br /&gt;
==5874== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.&lt;br /&gt;
==5874== Using LibVEX rev 1804, a library for dynamic binary translation.&lt;br /&gt;
==5874== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.&lt;br /&gt;
==5874== Using valgrind-3.3.0, a dynamic binary instrumentation framework.&lt;br /&gt;
==5874== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.&lt;br /&gt;
==5874== For more details, rerun with: -v&lt;br /&gt;
==5874== &lt;br /&gt;
==5874== Conditional jump or move depends on uninitialised value(s)&lt;br /&gt;
==5874==    at 0x3D53E13F31: lzo1x_decompress_safe (lzo1x_d.ch:249)&lt;br /&gt;
==5874==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==5874==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==5874==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==5874==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==5874==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
==5874== &lt;br /&gt;
==5874== Conditional jump or move depends on uninitialised value(s)&lt;br /&gt;
==5874==    at 0x3D53E13F36: lzo1x_decompress_safe (lzo1x_d.ch:249)&lt;br /&gt;
==5874==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==5874==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==5874==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==5874==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==5874==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
==5874== &lt;br /&gt;
==5874== Use of uninitialised value of size 8&lt;br /&gt;
==5874==    at 0x3D53E13F5D: lzo1x_decompress_safe (lzo1x_d.ch:398)&lt;br /&gt;
==5874==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==5874==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==5874==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==5874==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==5874==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
==5874== &lt;br /&gt;
==5874== Use of uninitialised value of size 8&lt;br /&gt;
==5874==    at 0x3D53E13F78: lzo1x_decompress_safe (lzo1x_d.ch:399)&lt;br /&gt;
==5874==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==5874==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==5874==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==5874==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==5874==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
==5874== &lt;br /&gt;
==5874== Use of uninitialised value of size 8&lt;br /&gt;
==5874==    at 0x3D53E13F89: lzo1x_decompress_safe (lzo1x_d.ch:399)&lt;br /&gt;
==5874==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==5874==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==5874==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==5874==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==5874==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
lzop: bug9.lzo: Compressed data violation&lt;br /&gt;
==5874== &lt;br /&gt;
==5874== ERROR SUMMARY: 8 errors from 5 contexts (suppressed: 4 from 1)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Wagner</dc:creator><pubDate>Fri, 11 Jul 2008 04:02:30 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net0970d50c41471f18ef91a31ffe237cb1a88258d4</guid></item><item><title>Still more Valgrind uninit warnings (SECURITY?)</title><link>https://sourceforge.net/p/lzo/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here's a file that reveals still more Valgrind warnings:&lt;br /&gt;
&lt;a href="http://www.cs.berkeley.edu/~daw/tmp/bug7.lzo" rel="nofollow"&gt;http://www.cs.berkeley.edu/~daw/tmp/bug7.lzo&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This might be related to bugs #2015363 and #2015365.&lt;/p&gt;
&lt;p&gt;Valgrind output from valgrind lzop -d bug7.lzo:&lt;/p&gt;
&lt;p&gt;==22744== Memcheck, a memory error detector.&lt;br /&gt;
==22744== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.&lt;br /&gt;
==22744== Using LibVEX rev 1804, a library for dynamic binary translation.&lt;br /&gt;
==22744== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.&lt;br /&gt;
==22744== Using valgrind-3.3.0, a dynamic binary instrumentation framework.&lt;br /&gt;
==22744== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.&lt;br /&gt;
==22744== For more details, rerun with: -v&lt;br /&gt;
==22744== &lt;br /&gt;
==22744== Conditional jump or move depends on uninitialised value(s)&lt;br /&gt;
==22744==    at 0x3D53E14007: lzo1x_decompress_safe (lzo1x_d.ch:376)&lt;br /&gt;
==22744==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==22744==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==22744==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==22744==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==22744==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
==22744== &lt;br /&gt;
==22744== Conditional jump or move depends on uninitialised value(s)&lt;br /&gt;
==22744==    at 0x3D53E14010: lzo1x_decompress_safe (lzo1x_d.ch:376)&lt;br /&gt;
==22744==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==22744==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==22744==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==22744==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==22744==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
==22744== &lt;br /&gt;
==22744== Conditional jump or move depends on uninitialised value(s)&lt;br /&gt;
==22744==    at 0x3D53E14041: lzo1x_decompress_safe (lzo1x_d.ch:383)&lt;br /&gt;
==22744==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==22744==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==22744==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==22744==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==22744==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
==22744== &lt;br /&gt;
==22744== Use of uninitialised value of size 8&lt;br /&gt;
==22744==    at 0x3D53E13F5D: lzo1x_decompress_safe (lzo1x_d.ch:398)&lt;br /&gt;
==22744==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==22744==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==22744==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==22744==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==22744==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
==22744== &lt;br /&gt;
==22744== Use of uninitialised value of size 8&lt;br /&gt;
==22744==    at 0x3D53E13F78: lzo1x_decompress_safe (lzo1x_d.ch:399)&lt;br /&gt;
==22744==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==22744==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==22744==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==22744==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==22744==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
==22744== &lt;br /&gt;
==22744== Use of uninitialised value of size 8&lt;br /&gt;
==22744==    at 0x3D53E13F89: lzo1x_decompress_safe (lzo1x_d.ch:399)&lt;br /&gt;
==22744==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==22744==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==22744==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==22744==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==22744==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
==22744== &lt;br /&gt;
==22744== Conditional jump or move depends on uninitialised value(s)&lt;br /&gt;
==22744==    at 0x3D53E13CD8: lzo1x_decompress_safe (lzo1x_d.ch:410)&lt;br /&gt;
==22744==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==22744==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==22744==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==22744==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==22744==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
lzop: bug5b.lzo: Compressed data violation&lt;br /&gt;
==22744== &lt;br /&gt;
==22744== ERROR SUMMARY: 2649 errors from 7 contexts (suppressed: 4 from 1)&lt;/p&gt;
&lt;p&gt;This may well be a duplicate of the two earlier bugs I've reproduced (or at least related to them), but I wanted to share this test case as well since it seems to trigger even more errors, and from slightly different line numbers.&lt;/p&gt;
&lt;p&gt;Temporarily marked private, in case this has any security implications.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Wagner</dc:creator><pubDate>Thu, 10 Jul 2008 23:21:17 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net5f20ccb2b889fdfe8e0d25fe1a3da3bee434d626</guid></item><item><title>Valgrind: More uninit in lzo1x_decompress_safe() (SECURITY?)</title><link>https://sourceforge.net/p/lzo/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Valgrind reports multiple warnings: lzo1x_decompress_safe() read and uses uninitialized values. This is 100% reproducible.&lt;/p&gt;
&lt;p&gt;To reproduce, download this file:&lt;br /&gt;
&lt;a href="http://www.cs.berkeley.edu/~daw/tmp/bug4.lzo" rel="nofollow"&gt;http://www.cs.berkeley.edu/~daw/tmp/bug4.lzo&lt;/a&gt;&lt;br /&gt;
Now run valgrind lzop -d bug4.lzo. You get:&lt;/p&gt;
&lt;p&gt;==28708== Memcheck, a memory error detector.&lt;br /&gt;
==28708== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.&lt;br /&gt;
==28708== Using LibVEX rev 1804, a library for dynamic binary translation.&lt;br /&gt;
==28708== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.&lt;br /&gt;
==28708== Using valgrind-3.3.0, a dynamic binary instrumentation framework.&lt;br /&gt;
==28708== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.&lt;br /&gt;
==28708== For more details, rerun with: -v&lt;br /&gt;
==28708== &lt;br /&gt;
==28708== Conditional jump or move depends on uninitialised value(s)&lt;br /&gt;
==28708==    at 0x3D53E13C8F: lzo1x_decompress_safe (lzo1x_d.ch:191)&lt;br /&gt;
==28708==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==28708==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==28708==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==28708==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==28708==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
==28708== &lt;br /&gt;
==28708== Conditional jump or move depends on uninitialised value(s)&lt;br /&gt;
==28708==    at 0x3D53E13C98: lzo1x_decompress_safe (lzo1x_d.ch:191)&lt;br /&gt;
==28708==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==28708==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==28708==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==28708==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==28708==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
==28708== &lt;br /&gt;
==28708== Use of uninitialised value of size 8&lt;br /&gt;
==28708==    at 0x3D53E13CB1: lzo1x_decompress_safe (lzo1x_d.ch:192)&lt;br /&gt;
==28708==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==28708==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==28708==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==28708==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==28708==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
lzop: bug4.lzo: Compressed data violation&lt;br /&gt;
==28708== &lt;br /&gt;
==28708== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 4 from 1)&lt;/p&gt;
&lt;p&gt;In general this kind of uninitialized use bug can represent a potential for a security vulnerability. I have not analyzed whether this particular bug has any security implications, but because of this risk, I am marking this bug as private for now so that you can investigate and push out a security patch should this represent a security risk. I plan to mark this bug as&lt;br /&gt;
public on July 17th, unless I hear otherwise.&lt;/p&gt;
&lt;p&gt;Reproduced on Fedora 9 x86_64 with these RPMs:&lt;br /&gt;
lzop-1.02-0.6.rc1.fc9.x86_64&lt;br /&gt;
lzo-2.02-5.fc9.x86_64&lt;br /&gt;
lzo-debuginfo-2.02-5.fc9.x86_64&lt;/p&gt;
&lt;p&gt;See also bug #2015363.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Wagner</dc:creator><pubDate>Thu, 10 Jul 2008 20:44:37 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net1a16c4b8ad76c6b7cb387577c1de81b2b210118b</guid></item><item><title>Valgrind: uninit bug in lzo1x_decompress_safe() (SECURITY?)</title><link>https://sourceforge.net/p/lzo/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Valgrind reports a bug: lzo1x_decompress_safe() reads an uninitialized value.  This is 100% reproducible.&lt;/p&gt;
&lt;p&gt;To reproduce, download this file:&lt;br /&gt;
&lt;a href="http://www.cs.berkeley.edu/~daw/tmp/bug3.lzo" rel="nofollow"&gt;http://www.cs.berkeley.edu/~daw/tmp/bug3.lzo&lt;/a&gt;&lt;br /&gt;
Now run valgrind lzop -d bug3.lzo.  You get:&lt;/p&gt;
&lt;p&gt;==27446== Memcheck, a memory error detector.&lt;br /&gt;
==27446== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.&lt;br /&gt;
==27446== Using LibVEX rev 1804, a library for dynamic binary translation.&lt;br /&gt;
==27446== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.&lt;br /&gt;
==27446== Using valgrind-3.3.0, a dynamic binary instrumentation framework.&lt;br /&gt;
==27446== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.&lt;br /&gt;
==27446== For more details, rerun with: -v&lt;br /&gt;
==27446== &lt;br /&gt;
==27446== Conditional jump or move depends on uninitialised value(s)&lt;br /&gt;
==27446==    at 0x3D53E1415B: lzo1x_decompress_safe (lzo1x_d.ch:333)&lt;br /&gt;
==27446==    by 0x4083D9: lzo_decompress (p_lzo.c:516)&lt;br /&gt;
==27446==    by 0x4073B0: x_decompress (compress.c:315)&lt;br /&gt;
==27446==    by 0x405FE6: do_decompress (lzop.c:2035)&lt;br /&gt;
==27446==    by 0x40648E: do_one_file (lzop.c:2053)&lt;br /&gt;
==27446==    by 0x406B69: main (lzop.c:2115)&lt;br /&gt;
lzop: bug3.lzo: Compressed data violation&lt;br /&gt;
==27446== &lt;br /&gt;
==27446== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 4 from 1)&lt;/p&gt;
&lt;p&gt;In general this kind of uninitialized use bug can represent a potential for a security vulnerability.  I have not analyzed whether this particular bug has any security implications, but because of this risk, I am marking this bug as private for now so that you can investigate and push out a security patch should this represent a security risk.  I plan to mark this bug as public on July 17th, unless I hear otherwise.&lt;/p&gt;
&lt;p&gt;Reproduced on Fedora 9 x86_64 with these RPMs:&lt;br /&gt;
lzop-1.02-0.6.rc1.fc9.x86_64&lt;br /&gt;
lzo-2.02-5.fc9.x86_64&lt;br /&gt;
lzo-debuginfo-2.02-5.fc9.x86_64&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Wagner</dc:creator><pubDate>Thu, 10 Jul 2008 20:41:48 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net79e11486690046b513298c7b369e8f5dc4e7f15f</guid></item></channel></rss>