dd segfault

Bug #64527 reported by a.sappia on 2006-10-07
256
Affects Status Importance Assigned to Milestone
coreutils (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: coreutils

try
# dd if=/dev/zero of=/var/tmp/blank.img bs=1k count=720
720+0 records in
720+0 records out
Segmentation fault
#

as I tried this happens just on ubuntu coreutils version...
SegFault may brings security related issues.

PaulSchulz (paulschulz) wrote :

A couple of questions for you?
- What version of ubuntu are you using?
- 32 or 64 bit? or powerpc?
- Does it work if you just do the following in your home directory, as you?

$ dd if=/dev/zero of=blank.img bs=1k count=720

I was able to run the command without any problems on i386 and powerpc, as root and as a user.

$ dd if=/dev/zero of=/var/tmp/blank.img bs=1k count=720
720+0 records in
720+0 records out
737280 bytes (737 kB) copied, 0.010394 seconds, 70.9 MB/s

Changed in coreutils:
status: Unconfirmed → Needs Info
PaulSchulz (paulschulz) wrote :

Thank you for reporting the bug. Is is a duplicate and a known issue with dd. See bug 64567 for details.

As a workaround, setting LANG=C will allow dd to work.

$ export LANG=C
$ dd if=/dev/zero of=/var/tmp/blank.img bs=1k count=720

PaulSchulz (paulschulz) wrote :

Sorry.. bug 42264

Changed in coreutils:
status: Needs Info → Confirmed
To post a comment you must log in.
This report contains Public Security information  Edit
Everyone can see this security related information.

Other bug subscribers