{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1746505377,
"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":"5d0e4782c3adc67d247ee3bb34c6e668",
"commit": {"type":"commit",
"time": 1609844198,
"time_ofs": 0,
"oid_tree": { "oid": "3cdceb0b7cf98f5cdea7f3b9739104001588dd3d", "alias": []},
"oid":{ "oid": "cb1e893e2dc3bed755cd258a2f8bedd6bad7c335", "alias": []},
"msg": "client: connect: use memmove due to possible overlap",
"sig_commit": { "git_time": { "time": 1609844198, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1609662117, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }},
"body": "client: connect: use memmove due to possible overlap\n"
,
"diff": "diff --git a/lib/core-net/client/connect3.c b/lib/core-net/client/connect3.c\nindex 029143a..4411438 100644\n--- a/lib/core-net/client/connect3.c\n+++ b/lib/core-net/client/connect3.c\n@@ -385,7 +385,7 @@ ads_known:\n #if defined(LWS_WITH_UNIX_SOCK)\n \tif (!wsi-\u003eunix_skt)\n #endif\n-\t\tmemcpy(\u0026wsi-\u003esa46_peer, psa, n);\n+\t\tmemmove(\u0026wsi-\u003esa46_peer, psa, (unsigned int)n);\n \n \t/*\n \t * Finally, make the actual connection attempt\n","s":{"c":1746421172,"u": 4745}}
],"g": 483,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "7d0a"}