Package: ha
Version: 0.999p+dfsg-3
Severity: important

        ha(1) seems to silently corrupt filenames of 48 octets or
        longer, and while $ ha a is successful, a subsequent archive
        integrity testing with $ ha t results in a segmentation fault
        should the name of an archive member exceed 64 octets in length.

        Consider, e. g. (the \001, \002, \003, \244, \341, and \350
        octets are replaced by C-like \-octal escapes for convenience;
        please note that using \341 irrespective of the current locale's
        encoding is also a bug):

$ (for i in 47 48 64 65 ; do
       f=$(apg -M l -m "$i" -x "$i" -n 1) \
           && touch -- "$f" && ha a "$f".ha "$f" ; \
       ha t "$f".ha ; \
   done) 
HA 0.999\341 Copyright (c) 1995 Harri Hirvola

New archive : dexnovnotconotvejvadiajalvitvohoyttejvujaibsilo.ha

ha: Wrong size for U32B

ha: Wrong size for S32B

Packing CPY 100.0 %  dexnovnotconotvejvadiajalvitvohoyttejvujaibsilo
HA 0.999\341 Copyright (c) 1995 Harri Hirvola

Archive : dexnovnotconotvejvadiajalvitvohoyttejvujaibsilo.ha (1 files)

ha: Wrong size for U32B

ha: Wrong size for S32B

Testing CPY 100 %  dexnovnotconotvejvadiajalvitvohoyttejvujaibsilo
HA 0.999\341 Copyright (c) 1995 Harri Hirvola

New archive : igjuskifowcimkattyisecirewawufmavhotfaquegtowmip.ha

ha: Wrong size for U32B

ha: Wrong size for S32B

Packing CPY 100.0 %  igjuskifowcimkattyisecirewawufmavhotfaquegtowmip
HA 0.999\341 Copyright (c) 1995 Harri Hirvola

Archive : igjuskifowcimkattyisecirewawufmavhotfaquegtowmip.ha (1 files)

ha: Wrong size for U32B

ha: Wrong size for S32B

Testing CPY 100 %  
igjuskifowcimkattyisecirewawufmavhotfaquegtowmip\002\244\001\350\003\350\003
HA 0.999\341 Copyright (c) 1995 Harri Hirvola

New archive : 
muvsiotisabwotshevhywiobgikhebislibdyweechghifpadhajnonavutgewwa.ha

ha: Wrong size for U32B

ha: Wrong size for S32B

Packing CPY 100.0 %  
muvsiotisabwotshevhywiobgikhebislibdyweechghifpadhajnonavutgewwa
HA 0.999\341 Copyright (c) 1995 Harri Hirvola

Archive : muvsiotisabwotshevhywiobgikhebislibdyweechghifpadhajnonavutgewwa.ha 
(1 files)

ha: Wrong size for U32B

ha: Wrong size for S32B

Testing CPY 100 %  
muvsiotisabwotshevhywiobgikhebislibdyweechghifpa\002\244\001\350\003\350\003avutgewwa
HA 0.999\341 Copyright (c) 1995 Harri Hirvola

New archive : 
blobofboigyaydeitjowdyejwibnuhytlavkadgijeydedquoakfojbocveidebar.ha

ha: Wrong size for U32B

ha: Wrong size for S32B

Packing CPY 100.0 %  
blobofboigyaydeitjowdyejwibnuhytlavkadgijeydedquoakfojbocveidebar
HA 0.999\341 Copyright (c) 1995 Harri Hirvola
*** glibc detected *** ha: realloc(): invalid next size: 0x0000000000d72040 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x75b76)[0x7f30f8759b76]
/lib/x86_64-linux-gnu/libc.so.6(+0x7b74c)[0x7f30f875f74c]
/lib/x86_64-linux-gnu/libc.so.6(realloc+0xf0)[0x7f30f875fa60]
ha[0x401f73]
ha[0x402087]
ha[0x4025c3]
ha[0x406183]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f30f8702ead]
ha[0x401399]
======= Memory map: ========
00400000-0040d000 r-xp 00000000 00:12 7225                               
/live/overlay/usr/bin/ha
0060c000-0060e000 rw-p 0000c000 00:12 7225                               
/live/overlay/usr/bin/ha
0060e000-0061b000 rw-p 00000000 00:00 0 
00d72000-00d93000 rw-p 00000000 00:00 0                                  [heap]
7f30f4000000-7f30f4021000 rw-p 00000000 00:00 0 
7f30f4021000-7f30f8000000 ---p 00000000 00:00 0 
7f30f84ce000-7f30f84e3000 r-xp 00000000 00:10 68134                      
/live/image/z50533d.debian.invalid/lib/x86_64-linux-gnu/libgcc_s.so.1
7f30f84e3000-7f30f86e3000 ---p 00015000 00:10 68134                      
/live/image/z50533d.debian.invalid/lib/x86_64-linux-gnu/libgcc_s.so.1
7f30f86e3000-7f30f86e4000 rw-p 00015000 00:10 68134                      
/live/image/z50533d.debian.invalid/lib/x86_64-linux-gnu/libgcc_s.so.1
7f30f86e4000-7f30f8861000 r-xp 00000000 00:10 68127                      
/live/image/z50533d.debian.invalid/lib/x86_64-linux-gnu/libc-2.13.so
7f30f8861000-7f30f8a61000 ---p 0017d000 00:10 68127                      
/live/image/z50533d.debian.invalid/lib/x86_64-linux-gnu/libc-2.13.so
7f30f8a61000-7f30f8a65000 r--p 0017d000 00:10 68127                      
/live/image/z50533d.debian.invalid/lib/x86_64-linux-gnu/libc-2.13.so
7f30f8a65000-7f30f8a66000 rw-p 00181000 00:10 68127                      
/live/image/z50533d.debian.invalid/lib/x86_64-linux-gnu/libc-2.13.so
7f30f8a66000-7f30f8a6b000 rw-p 00000000 00:00 0 
7f30f8a6b000-7f30f8a8b000 r-xp 00000000 00:10 68119                      
/live/image/z50533d.debian.invalid/lib/x86_64-linux-gnu/ld-2.13.so
7f30f8c62000-7f30f8c65000 rw-p 00000000 00:00 0 
7f30f8c88000-7f30f8c8a000 rw-p 00000000 00:00 0 
7f30f8c8a000-7f30f8c8b000 r--p 0001f000 00:10 68119                      
/live/image/z50533d.debian.invalid/lib/x86_64-linux-gnu/ld-2.13.so
7f30f8c8b000-7f30f8c8c000 rw-p 00020000 00:10 68119                      
/live/image/z50533d.debian.invalid/lib/x86_64-linux-gnu/ld-2.13.so
7f30f8c8c000-7f30f8c8d000 rw-p 00000000 00:00 0 
7fff19058000-7fff19079000 rw-p 00000000 00:00 0                          [stack]
7fff191c0000-7fff191c1000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  
[vsyscall]
$ 

-- 
FSF associate member #7257


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to