- We forget that AE_BUFFER_OVERFLOW is normal and expected since our buffer length...
authorCameron Gutman <aicommander@gmail.com>
Wed, 10 Mar 2010 22:25:40 +0000 (22:25 +0000)
committerCameron Gutman <aicommander@gmail.com>
Wed, 10 Mar 2010 22:25:40 +0000 (22:25 +0000)
commit1733eb0a2f1b464b6d6482a167cd73b93f93216f
tree38f7bdfaa540a6b53a3a0fc384f14583d87d9b78
parent418f2cc0e16d0bbb6960cf94e559046cfbe48c46
 - We forget that AE_BUFFER_OVERFLOW is normal and expected since our buffer length is 0 so don't fail if that status is returned
 - For any device that actually had resources we would return STATUS_SUCCESS without building a resource list and if the device didn't have resources we would end up freeing a NULL pointer, storing stack trash in Irp->IoStatus.Information, and then returning STATUS_SUCCESS
 - Fixes reporting device resources (and possibly the VBox additions crash with ACPI enabled)

svn path=/trunk/; revision=46080
reactos/drivers/bus/acpi/buspdo.c