projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian: Fix references to OpenFlow in ovs-switch-config template
[openvswitch]
/
lib
/
json.c
diff --git
a/lib/json.c
b/lib/json.c
index 0339a368d960268981810677f1f0d2bd913d197f..10fa3c121011a88876a5b43097b70de89a608572 100644
(file)
--- a/
lib/json.c
+++ b/
lib/json.c
@@
-832,7
+832,7
@@
json_string_unescape(const char *in, size_t in_len, char **outp)
while (in < end) {
if (*in == '"') {
ds_clear(&out);
while (in < end) {
if (*in == '"') {
ds_clear(&out);
- ds_put_cstr(&out, "quoted string may not include unescape \"");
+ ds_put_cstr(&out, "quoted string may not include unescape
d
\"");
goto exit;
}
if (*in != '\\') {
goto exit;
}
if (*in != '\\') {
@@
-1213,6
+1213,7
@@
json_parser_push(struct json_parser *p,
p->parse_state = new_state;
return node;
} else {
p->parse_state = new_state;
return node;
} else {
+ json_destroy(new_json);
json_error(p, "input exceeds maximum nesting depth %d",
JSON_MAX_HEIGHT);
return NULL;
json_error(p, "input exceeds maximum nesting depth %d",
JSON_MAX_HEIGHT);
return NULL;