qemu-e2k/qapi
David Hildenbrand 4b69d4c3d7 qapi: Fix string-input-visitor to reject NaN and infinities
The string-input-visitor happily accepts NaN and infinities when parsing
numbers (doubles). They shouldn't. Fix that.

Also, add two test cases, testing if "NaN" and "inf" is properly
rejected.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20181121164421.20780-4-david@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-12-13 19:10:06 +01:00
..
block-core.json block: Add auto-read-only option 2018-11-05 15:09:55 +01:00
block.json pr-manager-helper: report event on connection/disconnection 2018-06-28 19:05:35 +02:00
char.json chardev: Add websocket support 2018-11-01 12:12:58 +04:00
common.json Record history of ppcemb target in common.json 2018-09-25 11:12:22 +10:00
crypto.json qapi: remove empty flat union branches and types 2018-06-22 16:33:46 +02:00
introspect.json json: Update references to RFC 7159 to RFC 8259 2018-08-24 20:27:14 +02:00
job.json qapi/job: The next release will be 3.0 2018-06-29 14:20:56 +02:00
Makefile.objs
migration.json qapi: Fix COLOStatus and query-colo-status since version 2018-10-31 09:38:59 +00:00
misc.json monitor: Suspend monitor instead dropping commands 2018-12-12 09:55:57 +01:00
net.json slirp: Implement RFC2132 TFTP server name 2018-10-21 21:24:55 +02:00
opts-visitor.c
qapi-clone-visitor.c
qapi-dealloc-visitor.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
qapi-schema.json job: Introduce qapi/job.json 2018-05-23 14:30:51 +02:00
qapi-util.c
qapi-visit-core.c
qmp-dispatch.c qmp: constify qmp_is_oob() 2018-08-30 16:08:47 +02:00
qmp-event.c qmp: Switch timestamp_put() to qdict_from_jsonf_nofail() 2018-07-03 23:18:56 +02:00
qmp-registry.c
qobject-input-visitor.c qjson: Have qobject_from_json() & friends reject empty and blank 2018-08-24 20:26:37 +02:00
qobject-output-visitor.c qobject: Modify qobject_ref() to return obj 2018-05-04 08:27:53 +02:00
rocker.json
run-state.json qapi: introduce new cmd option "allow-preconfig" 2018-05-30 13:19:09 -03:00
sockets.json
string-input-visitor.c qapi: Fix string-input-visitor to reject NaN and infinities 2018-12-13 19:10:06 +01:00
string-output-visitor.c
tpm.json
trace-events trace: forbid floating point types 2018-06-27 11:09:29 +01:00
trace.json
transaction.json qapi: add transaction support for x-block-dirty-bitmap-merge 2018-10-29 16:23:15 -04:00
ui.json qapi: add query-display-options command 2018-11-27 07:47:57 +01:00