Opened 16 years ago
Closed 16 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 , 16 years ago
comment:2 by , 16 years ago
Summary: | convertfromraw stdin segfaults → convertfromraw stdin segfaults => Fixed in SVN |
---|
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.