Buffer overflow in mkdisk

Bug #415432 reported by mathew
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xtrs (Ubuntu)
New
Undecided
Unassigned

Bug Description

Trying to create a hard disk image for use with xtrs, as per the man page:

$ mkdisk -h harddisk.hdv
*** buffer overflow detected ***: mkdisk terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7edfda8]
/lib/tls/i686/cmov/libc.so.6[0xb7eddeb0]
/lib/tls/i686/cmov/libc.so.6(__strcpy_chk+0x44)[0xb7edd184]
mkdisk[0x80492c0]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7df8775]
mkdisk[0x8048841]
======= Memory map: ========
08048000-0804a000 r-xp 00000000 08:03 338909 /usr/bin/mkdisk
0804a000-0804b000 r--p 00001000 08:03 338909 /usr/bin/mkdisk
0804b000-0804c000 rw-p 00002000 08:03 338909 /usr/bin/mkdisk
09d2d000-09d4e000 rw-p 09d2d000 00:00 0 [heap]
b7dd2000-b7ddf000 r-xp 00000000 08:03 301985 /lib/libgcc_s.so.1
b7ddf000-b7de0000 r--p 0000c000 08:03 301985 /lib/libgcc_s.so.1
b7de0000-b7de1000 rw-p 0000d000 08:03 301985 /lib/libgcc_s.so.1
b7de1000-b7de2000 rw-p b7de1000 00:00 0
b7de2000-b7f3e000 r-xp 00000000 08:03 319595 /lib/tls/i686/cmov/libc-2.9.so
b7f3e000-b7f3f000 ---p 0015c000 08:03 319595 /lib/tls/i686/cmov/libc-2.9.so
b7f3f000-b7f41000 r--p 0015c000 08:03 319595 /lib/tls/i686/cmov/libc-2.9.so
b7f41000-b7f42000 rw-p 0015e000 08:03 319595 /lib/tls/i686/cmov/libc-2.9.so
b7f42000-b7f45000 rw-p b7f42000 00:00 0
b7f5a000-b7f5c000 rw-p b7f5a000 00:00 0
b7f5c000-b7f5d000 r-xp b7f5c000 00:00 0 [vdso]
b7f5d000-b7f79000 r-xp 00000000 08:03 301943 /lib/ld-2.9.so
b7f79000-b7f7a000 r--p 0001b000 08:03 301943 /lib/ld-2.9.so
b7f7a000-b7f7b000 rw-p 0001c000 08:03 301943 /lib/ld-2.9.so
bfb66000-bfb7b000 rw-p bffeb000 00:00 0 [stack]
Aborted

$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
$ apt-cache policy xtrs
xtrs:
  Installed: 4.9c-3ubuntu2
  Candidate: 4.9c-3ubuntu2
  Version table:
 *** 4.9c-3ubuntu2 0
        500 http://us.archive.ubuntu.com jaunty/multiverse Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.