<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>21802</bug_id>
          
          <creation_ts>2009-10-01 16:14:12 +0400</creation_ts>
          <short_desc>xls2csv, stack smashing detected</short_desc>
          <delta_ts>2009-10-13 18:01:55 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>catdoc</component>
          <version>unstable</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Bochenin">bochenin</reporter>
          <assigned_to name="Slava Semushin">php-coder</assigned_to>
          <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>100596</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Bochenin">bochenin</who>
    <bug_when>2009-10-01 16:14:12 +0400</bug_when>
    <thetext>bash-3.2$ rpm -qa|grep catdoc
catdoc-0.94.2-alt2  
         
bash-3.2$ xls2csv --help     
*** stack smashing detected ***: xls2csv terminated
======= Backtrace: =========                       
/lib/libc.so.6(__fortify_fail+0x40)[0xb7f865f0]    
/lib/libc.so.6(__fortify_fail+0x0)[0xb7f865b0]     
xls2csv[0x804b52d]                                 
xls2csv[0x804b6dc]                                 
xls2csv[0x804915f]                                 
/lib/libc.so.6(__libc_start_main+0xe6)[0xb7ebfb26] 
xls2csv[0x8049001]                                 
======= Memory map: ========                       
08048000-0804f000 r-xp 00000000 08:02 725244     /usr/bin/xls2csv
0804f000-08050000 r-xp 00007000 08:02 725244     /usr/bin/xls2csv
08050000-08051000 rwxp 00008000 08:02 725244     /usr/bin/xls2csv
08051000-08076000 rwxp 00000000 00:00 0          [heap]
b7e2c000-b7e49000 r-xp 00000000 08:02 324604     /lib/libgcc_s.so.1
b7e49000-b7e4a000 r-xp 0001c000 08:02 324604     /lib/libgcc_s.so.1
b7e4a000-b7e4b000 rwxp 0001d000 08:02 324604     /lib/libgcc_s.so.1
b7e69000-b7ea8000 r-xp 00000000 08:02 846203     /usr/lib/locale/ru_RU.utf8/LC_CTYPE
b7ea8000-b7ea9000 rwxp 00000000 00:00 0
b7ea9000-b7ff1000 r-xp 00000000 08:02 324557     /lib/libc-2.10.1.so
b7ff1000-b7ff2000 ---p 00148000 08:02 324557     /lib/libc-2.10.1.so
b7ff2000-b7ff4000 r-xp 00148000 08:02 324557     /lib/libc-2.10.1.so
b7ff4000-b7ff5000 rwxp 0014a000 08:02 324557     /lib/libc-2.10.1.so
b7ff5000-b7ff8000 rwxp 00000000 00:00 0
b7ff8000-b801e000 r-xp 00000000 08:02 325681     /lib/libm-2.10.1.so
b801e000-b801f000 r-xp 00026000 08:02 325681     /lib/libm-2.10.1.so
b801f000-b8020000 rwxp 00027000 08:02 325681     /lib/libm-2.10.1.so
b8020000-b8021000 rwxp 00000000 00:00 0
b8038000-b803f000 r-xs 00000000 08:02 733564     /usr/lib/gconv/gconv-modules.cache
b803f000-b8040000 r-xp 00000000 00:00 0          [vdso]
b8040000-b805a000 r-xp 00000000 08:02 324701     /lib/ld-2.10.1.so
b805a000-b805b000 r-xp 0001a000 08:02 324701     /lib/ld-2.10.1.so
b805b000-b805c000 rwxp 0001b000 08:02 324701     /lib/ld-2.10.1.so
bfed0000-bfee5000 rw-p 00000000 00:00 0          [stack]
Аварийный останов
bash-3.2$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101300</commentid>
    <comment_count>1</comment_count>
    <who name="Slava Semushin">php-coder</who>
    <bug_when>2009-10-12 13:15:03 +0400</bug_when>
    <thetext>Причина в патче catdoc-0.93.4-page-option.patch -- там есть off-by-one error и использование неинициализированной памяти. Вечером запушу изменения в git, и могу сделать NMU с исправлением.

2lav@: дашь NMU или сам исправишь?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101347</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2009-10-12 18:25:12 +0400</bug_when>
    <thetext>$ ssh git.alt acl sisyphus catdoc add php-coder
girar-acl: catdoc add: php-coder: Invalid argument(s)

$ ssh git.alt acl sisyphus catdoc add phpcoder
girar-acl: 1 command(s) queued</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101438</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2009-10-13 18:01:55 +0400</bug_when>
    <thetext>catdoc-0.94.2-alt3 -&gt; sisyphus:

* Mon Oct 12 2009 Slava Semushin &lt;php-coder@altlinux&gt; 0.94.2-alt3

- NMU
- Fixed xls2csv crashing (Closes: #21802)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>