{"action":"created","issue":{"url":"https://api.github.com/repos/irssi/irssi/issues/292","labels_url":"https://api.github.com/repos/irssi/irssi/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/irssi/irssi/issues/292/comments","events_url":"https://api.github.com/repos/irssi/irssi/issues/292/events","html_url":"https://github.com/irssi/irssi/pull/292","id":107596652,"number":292,"title":"Fix FS#905, mangled text when pasted line length exceeds 400","user":{"login":"dequis","id":94108,"avatar_url":"https://avatars.githubusercontent.com/u/94108?v=3","gravatar_id":"","url":"https://api.github.com/users/dequis","html_url":"https://github.com/dequis","followers_url":"https://api.github.com/users/dequis/followers","following_url":"https://api.github.com/users/dequis/following{/other_user}","gists_url":"https://api.github.com/users/dequis/gists{/gist_id}","starred_url":"https://api.github.com/users/dequis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dequis/subscriptions","organizations_url":"https://api.github.com/users/dequis/orgs","repos_url":"https://api.github.com/users/dequis/repos","events_url":"https://api.github.com/users/dequis/events{/privacy}","received_events_url":"https://api.github.com/users/dequis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-21T20:55:19Z","updated_at":"2015-09-21T22:14:22Z","closed_at":"2015-09-21T21:00:31Z","pull_request":{"url":"https://api.github.com/repos/irssi/irssi/pulls/292","html_url":"https://github.com/irssi/irssi/pull/292","diff_url":"https://github.com/irssi/irssi/pull/292.diff","patch_url":"https://github.com/irssi/irssi/pull/292.patch"},"body":"http://bugs.irssi.org/index.php?do=details&task_id=905\r\n\r\nNot using the patch from that ticket, the issue turned out to be that\r\n(dest - last_lf_pos) returned number of unichr, not bytes, so that's 4\r\ntimes less than what the size parameter of memmove() should be.\r\n\r\n-----\r\n\r\nCherry picked from #277, that one needs rebasing so that the commit doesn't appear twice in the history."},"comment":{"url":"https://api.github.com/repos/irssi/irssi/issues/comments/142125019","html_url":"https://github.com/irssi/irssi/pull/292#issuecomment-142125019","issue_url":"https://api.github.com/repos/irssi/irssi/issues/292","id":142125019,"user":{"login":"GeertHauwaerts","id":7902071,"avatar_url":"https://avatars.githubusercontent.com/u/7902071?v=3","gravatar_id":"","url":"https://api.github.com/users/GeertHauwaerts","html_url":"https://github.com/GeertHauwaerts","followers_url":"https://api.github.com/users/GeertHauwaerts/followers","following_url":"https://api.github.com/users/GeertHauwaerts/following{/other_user}","gists_url":"https://api.github.com/users/GeertHauwaerts/gists{/gist_id}","starred_url":"https://api.github.com/users/GeertHauwaerts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeertHauwaerts/subscriptions","organizations_url":"https://api.github.com/users/GeertHauwaerts/orgs","repos_url":"https://api.github.com/users/GeertHauwaerts/repos","events_url":"https://api.github.com/users/GeertHauwaerts/events{/privacy}","received_events_url":"https://api.github.com/users/GeertHauwaerts/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T22:14:22Z","updated_at":"2015-09-21T22:14:22Z","body":"FS#905 is now closed."}}