{"action":"created","issue":{"url":"https://api.github.com/repos/ckolivas/lrzip/issues/38","labels_url":"https://api.github.com/repos/ckolivas/lrzip/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/ckolivas/lrzip/issues/38/comments","events_url":"https://api.github.com/repos/ckolivas/lrzip/issues/38/events","html_url":"https://github.com/ckolivas/lrzip/pull/38","id":60548794,"number":38,"title":"Correct adding slash to control->tmpdir. off-by-one error.","user":{"login":"pete4abw","id":10359685,"avatar_url":"https://avatars.githubusercontent.com/u/10359685?v=3","gravatar_id":"","url":"https://api.github.com/users/pete4abw","html_url":"https://github.com/pete4abw","followers_url":"https://api.github.com/users/pete4abw/followers","following_url":"https://api.github.com/users/pete4abw/following{/other_user}","gists_url":"https://api.github.com/users/pete4abw/gists{/gist_id}","starred_url":"https://api.github.com/users/pete4abw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pete4abw/subscriptions","organizations_url":"https://api.github.com/users/pete4abw/orgs","repos_url":"https://api.github.com/users/pete4abw/repos","events_url":"https://api.github.com/users/pete4abw/events{/privacy}","received_events_url":"https://api.github.com/users/pete4abw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-10T18:44:19Z","updated_at":"2015-03-10T20:25:35Z","closed_at":"2015-03-10T20:18:08Z","pull_request":{"url":"https://api.github.com/repos/ckolivas/lrzip/pulls/38","html_url":"https://github.com/ckolivas/lrzip/pull/38","diff_url":"https://github.com/ckolivas/lrzip/pull/38.diff","patch_url":"https://github.com/ckolivas/lrzip/pull/38.patch"},"body":"off by one error. sorry..."},"comment":{"url":"https://api.github.com/repos/ckolivas/lrzip/issues/comments/78140417","html_url":"https://github.com/ckolivas/lrzip/pull/38#issuecomment-78140417","issue_url":"https://api.github.com/repos/ckolivas/lrzip/issues/38","id":78140417,"user":{"login":"pete4abw","id":10359685,"avatar_url":"https://avatars.githubusercontent.com/u/10359685?v=3","gravatar_id":"","url":"https://api.github.com/users/pete4abw","html_url":"https://github.com/pete4abw","followers_url":"https://api.github.com/users/pete4abw/followers","following_url":"https://api.github.com/users/pete4abw/following{/other_user}","gists_url":"https://api.github.com/users/pete4abw/gists{/gist_id}","starred_url":"https://api.github.com/users/pete4abw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pete4abw/subscriptions","organizations_url":"https://api.github.com/users/pete4abw/orgs","repos_url":"https://api.github.com/users/pete4abw/repos","events_url":"https://api.github.com/users/pete4abw/events{/privacy}","received_events_url":"https://api.github.com/users/pete4abw/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T20:25:35Z","updated_at":"2015-03-10T20:25:35Z","body":"It was late. Here's debug output.\n\n1283            if (control->tmpdir[len] != '/')\n2: control->tmpdir = 0x659060 \"/tmp/dir/\"\n1: eptr = 0x7fffffffee0b \"/tmp/dir/\"\n(gdb) n\n1284                    control->tmpdir[len] = '/'; /* need a trailing\nslash */\n2: control->tmpdir = 0x659060 \"/tmp/dir/\"\n1: eptr = 0x7fffffffee0b \"/tmp/dir/\"\n(gdb) n\n1285            control->tmpdir[len+1] = '\\0';\n2: control->tmpdir = 0x659060 \"/tmp/dir//\"\n1: eptr = 0x7fffffffee0b \"/tmp/dir/\"\n(gdb) n\n1287            return true;\n2: control->tmpdir = 0x659060 \"/tmp/dir//\"\n1: eptr = 0x7fffffffee0b \"/tmp/dir/\"\n(gdb) n\n1288    }\n2: control->tmpdir = 0x659060 \"/tmp/dir//\"\n1: eptr = 0x7fffffffee0b \"/tmp/dir/\"\n\n"}}