Hello,

 

There is a “NULL Pointer Dereference” risk to report:

Abstract:

sys/kern/subr_bus.c:1013 Access to filed ‘flags’ results in a derefernce of a 
null pointer (loaded from field ‘parent’).

Code segment:

In function “devclass_find_internal”,

1013  dc->parent = devclass_find_internal(parentname, NULL, TRUE);

1014  dc->parent->flags |= DC_HAS_CHILDREN;

Triggering conditions:

Once line 1013 failed in finding the ‘parent’, in line 1014(->flags) where a 
null point dereference occurred.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to