Warmcat homepage andy@warmcat.com
libwebsockets
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1756843438, "reponame":"openssl", "desc":"OpenSSL", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/openssl", "f":3, "items": [ {"schema":"libjg2-1", "cid":"d33dd13cc175fc6c638ed221a495d33f", "commit": {"type":"commit", "time": 1431342928, "time_ofs": 60, "oid_tree": { "oid": "338a0262a2537f7bab1139a70d4fd7f61c3d0ed9", "alias": []}, "oid":{ "oid": "344c271eb339fc2982e9a3584a94e51112d84584", "alias": []}, "msg": "Add missing NULL check in X509V3_parse_list()", "sig_commit": { "git_time": { "time": 1431342928, "offset": 60 }, "name": "Matt Caswell", "email": "matt@openssl.org", "md5": "10f7b441a32d5790efad9fc68cae4af2" }, "sig_author": { "git_time": { "time": 1431029553, "offset": -240 }, "name": "Kurt Cancemi", "email": "kurt@x64architecture.com", "md5": "2fd0c3f17efded066208e74d8e7f307e" }}, "body": "Add missing NULL check in X509V3_parse_list()\n\nMatt's note: I added a call to X509V3err to Kurt's original patch.\n\nRT#3840\n\nSigned-off-by: Matt Caswell \u003cmatt@openssl.org\u003e\nReviewed-by: Rich Salz \u003crsalz@openssl.org\u003e\n" , "diff": "diff --git a/crypto/x509v3/v3_utl.c b/crypto/x509v3/v3_utl.c\nindex debd807..c6aab4b 100644\n--- a/crypto/x509v3/v3_utl.c\n+++ b/crypto/x509v3/v3_utl.c\n@@ -286,6 +286,10 @@ STACK_OF(CONF_VALUE) *X509V3_parse_list(const char *line)\n int state;\n /* We are going to modify the line so copy it first */\n linebuf \u003d BUF_strdup(line);\n+ if (linebuf \u003d\u003d NULL) {\n+ X509V3err(X509V3_F_X509V3_PARSE_LIST, ERR_R_MALLOC_FAILURE);\n+ goto err;\n+ }\n state \u003d HDR_NAME;\n ntmp \u003d NULL;\n /* Go through all characters */\n","s":{"c":1756843438,"u": 8890}} ],"g": 10391,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}