qemu/qapi
Laszlo Ersek 15a849be10 OptsVisitor: don't try to flatten overlong integer ranges
Prevent mistyped command line options from incurring high memory and CPU
usage at startup. 64K elements in a range should be enough for everyone
(TM).

The OPTS_VISITOR_RANGE_MAX macro is public so that unit tests can
construct corner cases with it.

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2013-08-20 11:52:00 -04:00
..
Makefile.objs
opts-visitor.c OptsVisitor: don't try to flatten overlong integer ranges 2013-08-20 11:52:00 -04:00
qapi-dealloc-visitor.c
qapi-visit-core.c qapi: make visit_type_size fallback to type_int 2013-07-29 19:33:33 -05:00
qmp-dispatch.c
qmp-input-visitor.c qapi: Anonymous unions 2013-07-26 21:10:11 +02:00
qmp-output-visitor.c
qmp-registry.c
string-input-visitor.c
string-output-visitor.c