[ros-kernel] Bug in current source

Eric Kohl ekohl at rz-online.de
Fri Jan 9 20:39:34 CET 2004


"Ge van Geldorp" <ge at gse.nl> wrote:


> As you can see, NewKey is dereferenced now, against the previous
> advice... When connecting the hardware hive this dereference will cause
> the refcount of NewKey to go to 0, resulting in the deleting of the
> entire hive.

Ooops! This is a lethal step for a pointer-based hive. I'll revert that
modification.


> What I don't understand is why you don't see this problem using loadros
> though....

Loadros does not create a hardware hive. Ntoskrnl creates an ordinary
'hardware' key in the volatile hive if the hardware hive is missing from the
module list.


Regards,
Eric



More information about the Ros-kernel mailing list