{"action":"created","issue":{"url":"https://api.github.com/repos/zetamatta/nyagos/issues/38","labels_url":"https://api.github.com/repos/zetamatta/nyagos/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/zetamatta/nyagos/issues/38/comments","events_url":"https://api.github.com/repos/zetamatta/nyagos/issues/38/events","html_url":"https://github.com/zetamatta/nyagos/issues/38","id":54338240,"number":38,"title":"nyagos.gethistory()の引数にヒストリ数を超える値を与えると落ちる","user":{"login":"nocd5","id":1814879,"avatar_url":"https://avatars.githubusercontent.com/u/1814879?v=3","gravatar_id":"","url":"https://api.github.com/users/nocd5","html_url":"https://github.com/nocd5","followers_url":"https://api.github.com/users/nocd5/followers","following_url":"https://api.github.com/users/nocd5/following{/other_user}","gists_url":"https://api.github.com/users/nocd5/gists{/gist_id}","starred_url":"https://api.github.com/users/nocd5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nocd5/subscriptions","organizations_url":"https://api.github.com/users/nocd5/orgs","repos_url":"https://api.github.com/users/nocd5/repos","events_url":"https://api.github.com/users/nocd5/events{/privacy}","received_events_url":"https://api.github.com/users/nocd5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-14T15:55:17Z","updated_at":"2015-01-14T16:22:15Z","closed_at":null,"body":"例えばヒストリ数が2000の場合に\r\n```\r\nlua_e \"nyagos.gethistory(2002)\"\r\n```\r\nとすると落ちます(2001でないのは、上記コマンドが実行時にヒストリに追加され、リスト長が2001になるため)。\r\n\r\nリスト範囲外の参照なのですが、\r\n落ちるのは期待動作ではないと思ったので報告させていただきます。"},"comment":{"url":"https://api.github.com/repos/zetamatta/nyagos/issues/comments/69942767","html_url":"https://github.com/zetamatta/nyagos/issues/38#issuecomment-69942767","issue_url":"https://api.github.com/repos/zetamatta/nyagos/issues/38","id":69942767,"user":{"login":"zetamatta","id":3752189,"avatar_url":"https://avatars.githubusercontent.com/u/3752189?v=3","gravatar_id":"","url":"https://api.github.com/users/zetamatta","html_url":"https://github.com/zetamatta","followers_url":"https://api.github.com/users/zetamatta/followers","following_url":"https://api.github.com/users/zetamatta/following{/other_user}","gists_url":"https://api.github.com/users/zetamatta/gists{/gist_id}","starred_url":"https://api.github.com/users/zetamatta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zetamatta/subscriptions","organizations_url":"https://api.github.com/users/zetamatta/orgs","repos_url":"https://api.github.com/users/zetamatta/repos","events_url":"https://api.github.com/users/zetamatta/events{/privacy}","received_events_url":"https://api.github.com/users/zetamatta/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T16:22:15Z","updated_at":"2015-01-14T16:22:15Z","body":"ご報告ありがとうございます。クラッシュする件はとりいそぎ修正いたしました。\r\nNYAGOS の一行入力を、他のアプリケーションで使えるように諸々修正した際にエンバグしてしまったようです。\r\n他にも何か怪しい挙動がありましたら、お知らせください。（特にヒストリ関連）"}}