Package: mc
Version: 1:4.6.0-4.6.1-pre3-3sarge1
Severity: important

Open an SSH (Shell) connection in the left or right pane. There are
directories, where the buffer allocated for dates are not long enough
and dates cannot fit in the character array. This manifests itself in a
"buffer overflow" like problem, when the beginning of the filename
contains a part of the date/time. Example screenshot:

  Left     File     Command     Options     Right
  #<#/mnt/md1/home/fviktor##########################v>##<#/#sh:[EMAIL 
PROTECTED]/home##############v>#
  #             Name             # Size  #   MTime    ##       Name         # 
Size  #   MTime    #
  #/..                           #UP--DIR#            ##/14:36 nicolk       #   
   0#Jan 17 21:47#
  #/.mc                          #   4096#Jan 17 21:42##/14:57 v95          #   
   0#Jan 17 21:47#
  #/.ssh                         #   4096#Jan 17 21:40##/14:58 gaborh       #   
   0#Jan 17 21:47#
  # .bash_history                #    133#Jan 10 15:39##/15:02 borzsonyim   #   
   0#Jan 17 21:47#
  # .bash_profile                #    567#Jan 17 19:58##/15:14 kaszasa      #   
   0#Jan 17 21:47#
  # .bashrc                      #   1834#Jan 17 19:58##/15:28 ridly        #   
   0#Jan 17 21:47#
  # .mysql_history               #      0#Jan 10 12:51##/15:34 vikie        #   
   0#Jan 17 21:47#
  #*mysql_intralog_interface     #     50#Jan 10 12:51##/16:06 tanar        #   
   0#Jan 17 21:47#
  #                              #       #            ##/16:25 v91          #   
   0#Jan 17 21:47#
  #                              #       #            ##/16:28 v93          #   
   0#Jan 17 21:47#
  #                              #       #            ##/16:36 kokaia  #        
                      #      0#Jan 17 21:47#
  #                              #       #            ##/16:43 gyorek  #        
                      #      0#Jan 17 21:47#
  #                              #       #            ##/17:42 stockerv  #      
                        #      0#Jan 17 21:47#
  #                              #       #            ##/18:36 bankp  #         
                     #      0#Jan 17 21:47#
  #                              #       #            ##/19:39 olosze  #        
                      #      0#Jan 17 21:47#
  #                              #       #            ##/2004 emesem  #         
                     #      0#Jan 17 21:47#
  #                              #       #            ##/2004 grosz  #          
                    #      0#Jan 17 21:47#
  #                              #       #            ##/2004 ildikom  #        
                      #      0#Jan 17 21:47#
  #                              #       #            ##/2004 jakline  #        
                      #      0#Jan 17 21:47#
  #                              #       #            ##/2004 koczord  #        
                      #      0#Jan 17 21:47#
  #                              #       #            ##/2004 laszlop  #        
                      #      0#Jan 17 21:47#
  #                              #       #            ##/2004 mendlik  #        
                      #      0#Jan 17 21:47#
  #                              #       #            ##/2005 erikar  #         
                     #      0#Jan 17 21:47#
  #                              #       #            ##/2005 gyozoz  #         
                     #      0#Jan 17 21:47#
  #                              #       #            ##/22:56 fokam  #         
                     #      0#Jan 17 21:47#
  #                              #       #            ##/adany  #               
               #   4096#Jan 11 14:40#
  #                              #       #            ##/andrasi  #             
                 #   4096#Sep  5 02:57#
  #                              #       #            ##/andras  #              
                #   4096#Jan 16 10:06#
  #                              #       #            ##/arczt  #               
               #   4096#Jan  5 12:08#
  #                              #       #            ##/ayge  #                
              #   4096#Jan 12 10:39#
  #                              #       #            ##/babelgo  #             
                 #   4096#Sep  5 03:00#
  
##########################################################################################################

The columns broke into pieces when I pasted the buffer here.
I tried to order them in a line with more or less success.
You can see the broken names starting with a year or a time.
Ordering of entries also reflect the bug, since times are
ordered first, then dates (2004-2005), then letters.
This could cause serious memory management problems.
The problem has been occoured on 3 different machines
with Debian Stable.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages mc depends on:
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libglib2.0-0             2.6.4-1         The GLib library of C routines
ii  libgpmg1                 1.19.6-19sarge1 General Purpose Mouse - shared lib

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to