qemu-e2k/qapi
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
..
audio.json qapi/audio: add documentation for AudioFormat 2020-03-16 10:18:07 +01:00
authz.json
block-core.json qapi: Mark deprecated QMP parts with feature 'deprecated' 2020-03-17 21:43:12 +01:00
block.json qapi: Mark deprecated QMP parts with feature 'deprecated' 2020-03-17 21:43:12 +01:00
char.json qapi: Belatedly update doc comment for @wait deprecation 2020-03-17 19:58:34 +01:00
common.json
control.json qapi: Mark deprecated QMP parts with feature 'deprecated' 2020-03-17 21:43:12 +01:00
crypto.json
dump.json
error.json
introspect.json qapi: Add feature flags to struct members 2020-03-17 21:25:47 +01:00
job.json
machine-target.json
machine.json Add rx-softmmu 2020-03-19 17:58:05 +01:00
Makefile.objs qemu-storage-daemon: Add --monitor option 2020-03-06 17:21:28 +01:00
migration.json qapi: Mark deprecated QMP parts with feature 'deprecated' 2020-03-17 21:43:12 +01:00
misc-target.json
misc.json qapi: Mark deprecated QMP parts with feature 'deprecated' 2020-03-17 21:43:12 +01:00
net.json net: Complete qapi-fication of netdev_add 2020-03-17 21:50:14 +01:00
opts-visitor.c
pragma.json qapi: Create 'pragma' module 2020-03-06 17:21:28 +01:00
qapi-clone-visitor.c
qapi-dealloc-visitor.c qapi: Fix Visitor contract for start_alternate() 2020-04-30 06:51:15 +02:00
qapi-schema.json qapi: Create 'pragma' module 2020-03-06 17:21:28 +01:00
qapi-util.c
qapi-visit-core.c qapi: Assert non-input visitors see only valid narrow integers 2020-04-30 07:26:40 +02:00
qdev.json
qmp-dispatch.c qmp: fix leak on callbacks that return both value and error 2020-04-02 14:55:46 -04:00
qmp-event.c
qmp-registry.c qmp: constify QmpCommand and list 2020-03-17 21:43:12 +01:00
qobject-input-visitor.c qobject: Eliminate qdict_iter(), use qdict_first(), qdict_next() 2020-04-30 06:51:15 +02:00
qobject-output-visitor.c
qom.json qapi: Flatten object-add 2020-03-06 17:21:27 +01:00
rdma.json
rocker.json
run-state.json
sockets.json
string-input-visitor.c
string-output-visitor.c
tpm.json
trace-events
trace.json
transaction.json qemu-storage-daemon: Add --monitor option 2020-03-06 17:21:28 +01:00
ui.json