Stefan Hajnoczi 4d490c7ce3 vhost: validate untrusted memory regions number field
Check if memory.nregions is valid right away.  This eliminates the
possibility of bugs when memory.nregions is used later on in
vhost_user_set_mem_table().

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2018-03-30 14:08:42 +02:00
..
2018-02-01 02:27:22 +01:00
2018-02-01 01:03:26 +01:00
2018-02-01 02:27:22 +01:00
2018-01-31 15:35:56 +01:00
2018-01-31 15:35:01 +01:00
2018-01-30 21:59:00 +01:00