[Bug 264055] bhnd(4): null pointer dereference in bhnd_erom_iores_new()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Sep 2022 16:58:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264055 --- Comment #2 from Ed Maste <emaste@freebsd.org> --- Note this from the malloc(9) man page: M_WAITOK Indicates that it is OK to wait for resources. If the request cannot be immediately fulfilled, the current process is put to sleep to wait for resources to be released by other processes. The malloc(), mallocarray(), realloc(), and reallocf() functions cannot return NULL if M_WAITOK is specified. If the multiplication of nmemb and size would cause an integer overflow, the mallocarray() function induces a panic. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.