qemu-e2k/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 build: move base QAPI files to libqemuutil.a 2013-01-12 18:42:51 +01:00
opts-visitor.c OptsVisitor: don't try to flatten overlong integer ranges 2013-08-20 11:52:00 -04:00
qapi-dealloc-visitor.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
qapi-visit-core.c qapi: make visit_type_size fallback to type_int 2013-07-29 19:33:33 -05:00
qmp-dispatch.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
qmp-input-visitor.c qapi: Anonymous unions 2013-07-26 21:10:11 +02:00
qmp-output-visitor.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
qmp-registry.c qapi: Fix unchecked strdup() by converting to g_strdup() 2013-01-30 11:14:46 +01:00
string-input-visitor.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
string-output-visitor.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00