]> xenbits.xensource.com Git - xen.git/commit
vmap: ASSERT on NULL
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 17 Mar 2016 12:48:24 +0000 (13:48 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 17 Mar 2016 12:48:24 +0000 (13:48 +0100)
commit1e4faa2d25639856f776460e8cbbe2b48843dd20
treee18e91362dbfa34b898b3258c9e9d8bd69ea6d5e
parenteb6fe7a46997df408cda3e74038f7367fc1768af
vmap: ASSERT on NULL

The vmap_to_page macro (three levels deep!) can come up with
a NULL pointer. Lets add the proper ASSERT to catch this errant
behavior.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/common/vmap.c