Ticket #2776 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

convertfromraw stdin segfaults => Fixed in SVN

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


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

comment:1 Changed 11 years ago by klaus

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 Changed 11 years ago by frank

  • Summary changed from convertfromraw stdin segfaults to convertfromraw stdin segfaults => Fixed in SVN

comment:3 Changed 11 years ago by JeremyVisser

Thanks, bro. :)

comment:4 Changed 11 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use