Markus Armbruster faad584adb qapi: Assert non-input visitors see only valid narrow integers
visit_type_intN() and visit_type_uintN() fail when the value is out of
bounds.

This is appropriate with an input visitor: the value comes from input,
and input may be bad.

It should never happen with the other visitors: the value comes from
the caller, and callers must keep it within bounds.  Assert that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200424084338.26803-10-armbru@redhat.com>
2020-04-30 07:26:40 +02:00
..
2020-03-19 17:58:05 +01:00
2020-03-06 17:21:28 +01:00
2020-03-06 17:21:28 +01:00
2020-03-06 17:21:27 +01:00
2020-02-15 11:41:50 +01:00