{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1753165434,
"reponame":"libwebsockets",
"desc":"libwebsockets lightweight C networking library",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets",
"f":3,
"items": [
{"schema":"libjg2-1",
"cid":"6fc54933699953cff5f0cb1f56b7da83",
"commit": {"type":"commit",
"time": 1586084791,
"time_ofs": 60,
"oid_tree": { "oid": "8969c613761b14dc4fdf19b3874c3533b4de2515", "alias": []},
"oid":{ "oid": "370ba6f5eda09b70fb4494fe82b6169859722034", "alias": []},
"msg": "lws_struct: handle empty char array serialization",
"sig_commit": { "git_time": { "time": 1586084791, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1586084791, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }},
"body": "lws_struct: handle empty char array serialization"
,
"diff": "diff --git a/lib/misc/lws-struct-lejp.c b/lib/misc/lws-struct-lejp.c\nindex 7e94f26..477bd55 100644\n--- a/lib/misc/lws-struct-lejp.c\n+++ b/lib/misc/lws-struct-lejp.c\n@@ -478,6 +478,10 @@ lws_struct_json_serialize(lws_struct_serialize_t *js, uint8_t *buf,\n \t\t/* early check if the entry should be elided */\n \n \t\tswitch (map-\u003etype) {\n+\t\tcase LSMT_STRING_CHAR_ARRAY:\n+\t\t\tif (!q)\n+\t\t\t\tgoto up;\n+\t\t\tbreak;\n \t\tcase LSMT_STRING_PTR:\n \t\tcase LSMT_CHILD_PTR:\n \t\t\tq \u003d (char *)*(char **)q;\n","s":{"c":1753165434,"u": 2049}}
],"g": 3369,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}