Warmcat homepage andy@warmcat.com
libwebsockets
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1756753320, "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":"02574b2d8c4ae2c803c70de53cfb24ee", "commit": {"type":"commit", "time": 1459712177, "time_ofs": 18446744073709551376, "oid_tree": { "oid": "f50974d71798eb132b997721a05d81675bbad0cb", "alias": []}, "oid":{ "oid": "c3a7e0c565c5d41e7d9b910a45c2248c2f3d5152", "alias": []}, "msg": "After saving errno clear it before calls to strtol et. al.", "sig_commit": { "git_time": { "time": 1459712177, "offset": -240 }, "name": "Viktor Dukhovni", "email": "openssl-users@dukhovni.org", "md5": "2c3e16c80b811b59e707226a9aeb9d84" }, "sig_author": { "git_time": { "time": 1459711294, "offset": -240 }, "name": "Viktor Dukhovni", "email": "openssl-users@dukhovni.org", "md5": "2c3e16c80b811b59e707226a9aeb9d84" }}, "body": "After saving errno clear it before calls to strtol et. al.\n\nReviewed-by: Richard Levitte \u003clevitte@openssl.org\u003e\n" , "diff": "diff --git a/apps/opt.c b/apps/opt.c\nindex 462894a..63d3215 100644\n--- a/apps/opt.c\n+++ b/apps/opt.c\n@@ -373,6 +373,7 @@ int opt_long(const char *value, long *result)\n long l;\n char *endp;\n \n+ errno \u003d 0;\n l \u003d strtol(value, \u0026endp, 0);\n if (*endp\n || endp \u003d\u003d value\n@@ -398,6 +399,7 @@ int opt_imax(const char *value, intmax_t *result)\n intmax_t m;\n char *endp;\n \n+ errno \u003d 0;\n m \u003d strtoimax(value, \u0026endp, 0);\n if (*endp\n || endp \u003d\u003d value\n@@ -420,6 +422,7 @@ int opt_umax(const char *value, uintmax_t *result)\n uintmax_t m;\n char *endp;\n \n+ errno \u003d 0;\n m \u003d strtoumax(value, \u0026endp, 0);\n if (*endp\n || endp \u003d\u003d value\n@@ -445,6 +448,7 @@ int opt_ulong(const char *value, unsigned long *result)\n char *endptr;\n unsigned long l;\n \n+ errno \u003d 0;\n l \u003d strtoul(value, \u0026endptr, 0);\n if (*endptr\n || endptr \u003d\u003d value\n","s":{"c":1756753320,"u": 2640}} ],"g": 3992,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}