VirtualBox

Opened 15 years ago

Closed 15 years ago

#2776 closed defect (fixed)

convertfromraw stdin segfaults => Fixed in SVN

Reported by: Jeremy Visser Owned by:
Component: virtual disk Version: VirtualBox 2.1.0
Keywords: Cc:
Guest type: other Host type: Linux

Description

When attempting to convert a raw disk to a VDI from the commandline, it segfaults:

$ dd if=/dev/sdb | VBoxManage convertfromraw -format VDI stdin myimage.vdi

Converting from raw image file="stdin" to file="myimage.vdi"...
Segmentation fault

dd'ing to another dd works. Also, running VBoxManage convertfromraw without dd in the pipeline will result in the segfault.

Change History (4)

comment:1 by Klaus Espenlaub, 15 years ago

You spotted a few missing parameter checks. You're calling the command with too few parameters. The "stdin" case requires the size of the image as the last parameter, as shown when dumping the list of supported commands.

The other bug (that the format parameter is mandatory and not optional, in contrast to the usage output) didn't apply, as you specified the format explicitly.

Will be all fixed in 2.1.2.

comment:2 by Frank Mehnert, 15 years ago

Summary: convertfromraw stdin segfaultsconvertfromraw stdin segfaults => Fixed in SVN

comment:3 by Jeremy Visser, 15 years ago

Thanks, bro. :)

comment:4 by Frank Mehnert, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use