Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1752656461, "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":"7a3d08d0df92480c2f2a98018f3c4bfa", "commit": {"type":"commit", "time": 1422746386, "time_ofs": 480, "oid_tree": { "oid": "179d5ea4007922df9911a4ff8911a061bec3e323", "alias": []}, "oid":{ "oid": "1dce6c06eabba01780ab647e640135f00aabffd9", "alias": []}, "msg": "client avoid double free on error path", "sig_commit": { "git_time": { "time": 1422746386, "offset": 480 }, "name": "Andy Green", "email": "andy.green@linaro.org", "md5": "4863edaebb4491aa6049a4d2d9c98c2c" }, "sig_author": { "git_time": { "time": 1422746386, "offset": 480 }, "name": "Andy Green", "email": "andy.green@linaro.org", "md5": "4863edaebb4491aa6049a4d2d9c98c2c" }}, "body": "client avoid double free on error path\n\nvia dj1yfk on trac #99\n\nSigned-off-by: Andy Green \u003candy.green@linaro.org\u003e" , "diff": "diff --git a/lib/client.c b/lib/client.c\nindex 831f985..c9cd156 100755\n--- a/lib/client.c\n+++ b/lib/client.c\n@@ -794,7 +794,7 @@ bail2:\n \n \t/* free up his parsing allocations */\n \n-\tlws_free(wsi-\u003eu.hdr.ah);\n+\tlws_free2(wsi-\u003eu.hdr.ah);\n \n \tlibwebsocket_close_and_free_session(context, wsi, close_reason);\n \n","s":{"c":1752656461,"u": 1819}} ],"g": 2827,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}