[ros-dev] [ros-diffs] [janderwald] 40694: - Fix allocation of CM_RESOURCE_LIST - Might fix bug 4354 See issue #4354 for more details.
Johannes Anderwald
janderwald at reactos.org
Sat Apr 25 15:22:46 CEST 2009
Timo Kreuzer wrote:
> Isn't that actually the same?
>
>
Hi,
IMO the old code only calculated the offset from PartialDescriptors
array to CM_RESOURCE_LIST. This works fine if there are no partial
descriptors. But it breaks if there are.
> It also ignores the number of full descriptors, which I guess is wrong.
> And it looks like the whole parsing code is broken. It ignores the
> number of partial descriptors and does FullList++
>
The MSDN states the number of CM_FULL_RESOURCE_DESCRIPTOR in
CM_RESOURCE_LIST is always 1 for WDM drivers.
The partial descriptors are handeled in the 2nd for loop.
> Timo
>
regards,
Johannes
More information about the Ros-dev
mailing list