[vbox-dev] [PATCH] fix a uninitialize fieldin pdm
Knut St. Osmundsen
knut.osmundsen at oracle.com
Sat Jun 11 01:23:47 PDT 2011
Hi Howard,
thanks for the fix!
This interface is only used by VBoxBFE. VBoxBFE does not get much (if any) attention, so that's why we haven't discovered the problem.
Kind Regards,
Knut.
On Jun 11, 2011, at 9:05 AM, Howard Su wrote:
> --- a/VirtualBox_OSE/src/VBox/VMM/VMMR3/PDMDriver.cpp
> +++ b/VirtualBox_OSE/src/VBox/VMM/VMMR3/PDMDriver.cpp
> @@ -88,6 +88,7 @@ VMMR3DECL(int) PDMR3RegisterDrivers(PVM pVM, FNPDMVBOXDRIVERSREGISTER pfnCallbac
> RegCB.Core.u32Version = PDM_DRVREG_CB_VERSION;
> RegCB.Core.pfnRegister = pdmR3DrvRegister;
> RegCB.pVM = pVM;
> + RegCB.pCfgNode = NULL;
>
> int rc = pfnCallback(&RegCB.Core, VBOX_VERSION);
> if (RT_FAILURE(rc))
>
> This caused some random crash in fedora14. I am surprized that this is not cached by other platform or testings.
>
> --
> -Howard
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20110611/70be993d/attachment-0001.html
More information about the vbox-dev
mailing list