id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	guest	host
3510	Out of memory allocating the partition descriptor => fixed in svn	TerryE		[http://forums.virtualbox.org/viewtopic.php?f=7&t=14342 Forum Topic #14342] refers.\r\n\r\nA couple of people have reported this error which seems to relate to a logic flaw in VBoxInternalManage.cpp routine CmdCreateRawVMDK.  Looking at the code (search for the title to this report), this is in a loop which is checking that the partition is readable.  The way it seems to do this is to malloc '''...cPartDataSectors * 512''' (that is the size of the entire partition and then reads the entire partition into into this buffer).  Needless to say this will barf for anything other than small partition and result this error.\r\n\r\nThe confusing thing is that the field '''cPartDataSectors''' isn't what it's name implies.  It is only computed in in the case of extended partitions, meaning that you will only get this error when trying to map logical partitions.  This whole logic is definitely flawed.  	defect	closed	major	virtual disk	VirtualBox 2.1.4	fixed			other	other
