]> xenbits.xensource.com Git - mini-os.git/commit
Mini-OS: use BUG() instead of dereferencing NULL
authorJuergen Gross <jgross@suse.com>
Wed, 13 Dec 2023 09:49:06 +0000 (10:49 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 13 Dec 2023 09:49:06 +0000 (10:49 +0100)
commit23247d6586110ec3d73cae8a693c0db879a58184
tree6ecc4250dc514967afe76e39a22f6e0019f11a5a
parent078cba0bc93f48132a66764b36e95740b9e5630d
Mini-OS: use BUG() instead of dereferencing NULL

There are some places using a dereference of NULL to cause a crash.

Use BUG() instead.

Reported-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
lib/xmalloc.c