OK, here is a backtrace from a gdb - rebuilt cpio with nostrip and debug
in the DEB_BUILD_OPTIONS

Program received signal SIGSEGV, Segmentation fault.
read_in_binary (file_hdr=0x7fff141d36c0, short_hdr=0xff7f1d141033, in_des=0)
    at copyin.c:1272
1272      file_hdr->c_dev_maj = major (short_hdr->c_dev);
(gdb) where
#0  read_in_binary (file_hdr=0x7fff141d36c0, short_hdr=0xff7f1d141033, 
    in_des=0) at copyin.c:1272
#1  0x0000000000405939 in read_for_checksum (in_file_des=4285691, 
    file_size=<value optimized out>, 
    file_name=0x8e81f6a54e6e08a3 <Address 0x8e81f6a54e6e08a3 out of bounds>)
    at copyout.c:51
#2  0x0000000000000000 in ?? ()
(gdb) list
1267              warned = 1;
1268            }
1269          swab_array ((char *) &short_hdr, 13);
1270        }
1271
1272      file_hdr->c_dev_maj = major (short_hdr->c_dev);
1273      file_hdr->c_dev_min = minor (short_hdr->c_dev);
1274      file_hdr->c_ino = short_hdr->c_ino;
1275      file_hdr->c_mode = short_hdr->c_mode;
1276      file_hdr->c_uid = short_hdr->c_uid;
(gdb) p short_hdr
$1 = (struct old_cpio_header *) 0xff7f1d141033
(gdb) p *short_hdr
Cannot access memory at address 0xff7f1d141033
(gdb)

-- 
[gutsy] cpio segs on bad input
https://bugs.launchpad.net/bugs/139928
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to