Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1753076343, "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":"b24e43a8aa67131afa7fed0749fb6546", "commit": {"type":"commit", "time": 1563049734, "time_ofs": 18446744073709551196, "oid_tree": { "oid": "3d39bdc631d119603da213f2394626af52f18cfe", "alias": []}, "oid":{ "oid": "dec100775615b4e70cf01f334d8fba31c4f2e748", "alias": []}, "msg": "COVA10141: add additional deref checks", "sig_commit": { "git_time": { "time": 1563049734, "offset": -420 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1563043172, "offset": -420 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }}, "body": "COVA10141: add additional deref checks" , "diff": "diff --git a/lib/core-net/close.c b/lib/core-net/close.c\nindex 9612b57..a404f1a 100644\n--- a/lib/core-net/close.c\n+++ b/lib/core-net/close.c\n@@ -342,7 +342,7 @@ just_kill_connection:\n \tif (!wsi-\u003etold_user_closed \u0026\u0026 wsi-\u003euser_space \u0026\u0026\n \t wsi-\u003eprotocol_bind_balance \u0026\u0026 wsi-\u003eprotocol) {\n \t\tlwsl_debug(\u0022%s: %p: DROP_PROTOCOL %s\u005cn\u0022, __func__, wsi,\n-\t\t wsi-\u003eprotocol-\u003ename);\n+\t\t\t wsi-\u003eprotocol ? wsi-\u003eprotocol-\u003ename: \u0022NULL\u0022);\n \t\twsi-\u003eprotocol-\u003ecallback(wsi,\n \t\t\t\twsi-\u003erole_ops-\u003eprotocol_unbind_cb[\n \t\t\t\t !!lwsi_role_server(wsi)],\n","s":{"c":1753076343,"u": 2207}} ],"g": 3055,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}