diff options
| author | Tom Callaway <spot@fedoraproject.org> | 2017-02-09 10:12:44 -0500 |
|---|---|---|
| committer | Tom Callaway <spot@fedoraproject.org> | 2017-02-09 10:12:44 -0500 |
| commit | b7447739b8d3a722a2d8e7305690b6ac3c548882 (patch) | |
| tree | bb9d414070850f1216c68f99a418191dcba44a88 /lua-5.3.3-upstream-bug-2.patch | |
| parent | 53e62ec64ea07036d06fce91a99e6eaa76004876 (diff) | |
| download | lua-b7447739b8d3a722a2d8e7305690b6ac3c548882.tar.gz lua-b7447739b8d3a722a2d8e7305690b6ac3c548882.tar.xz lua-b7447739b8d3a722a2d8e7305690b6ac3c548882.zip | |
5.3.4
Diffstat (limited to 'lua-5.3.3-upstream-bug-2.patch')
| -rw-r--r-- | lua-5.3.3-upstream-bug-2.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lua-5.3.3-upstream-bug-2.patch b/lua-5.3.3-upstream-bug-2.patch deleted file mode 100644 index 96cf85a..0000000 --- a/lua-5.3.3-upstream-bug-2.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -up lua-5.3.3/src/loslib.c.readpast lua-5.3.3/src/loslib.c ---- lua-5.3.3/src/loslib.c.readpast 2016-07-25 16:04:13.916465061 -0400 -+++ lua-5.3.3/src/loslib.c 2016-07-25 16:04:19.756423878 -0400 -@@ -260,7 +260,8 @@ static int getfield (lua_State *L, const - static const char *checkoption (lua_State *L, const char *conv, char *buff) { - const char *option; - int oplen = 1; -- for (option = LUA_STRFTIMEOPTIONS; *option != '\0'; option += oplen) { -+ int convlen = (int)strlen(conv); -+ for (option = LUA_STRFTIMEOPTIONS; *option != '\0' && oplen <= convlen; option += oplen) { - if (*option == '|') /* next block? */ - oplen++; /* next length */ - else if (memcmp(conv, option, oplen) == 0) { /* match? */ |
