{"action":"created","issue":{"url":"https://api.github.com/repos/radare/radare2/issues/7527","repository_url":"https://api.github.com/repos/radare/radare2","labels_url":"https://api.github.com/repos/radare/radare2/issues/7527/labels{/name}","comments_url":"https://api.github.com/repos/radare/radare2/issues/7527/comments","events_url":"https://api.github.com/repos/radare/radare2/issues/7527/events","html_url":"https://github.com/radare/radare2/issues/7527","id":229831214,"number":7527,"title":"seek undo/redo doesn't work correctly","user":{"login":"dmwit","id":203613,"avatar_url":"https://avatars1.githubusercontent.com/u/203613?v=3","gravatar_id":"","url":"https://api.github.com/users/dmwit","html_url":"https://github.com/dmwit","followers_url":"https://api.github.com/users/dmwit/followers","following_url":"https://api.github.com/users/dmwit/following{/other_user}","gists_url":"https://api.github.com/users/dmwit/gists{/gist_id}","starred_url":"https://api.github.com/users/dmwit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmwit/subscriptions","organizations_url":"https://api.github.com/users/dmwit/orgs","repos_url":"https://api.github.com/users/dmwit/repos","events_url":"https://api.github.com/users/dmwit/events{/privacy}","received_events_url":"https://api.github.com/users/dmwit/received_events","type":"User","site_admin":false},"labels":[{"id":8289060,"url":"https://api.github.com/repos/radare/radare2/labels/bug","name":"bug","color":"fc2929","default":true},{"id":224769504,"url":"https://api.github.com/repos/radare/radare2/labels/test-required","name":"test-required","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/radare/radare2/milestones/20","html_url":"https://github.com/radare/radare2/milestone/20","labels_url":"https://api.github.com/repos/radare/radare2/milestones/20/labels","id":2267381,"number":20,"title":"1.5.0","description":"","creator":{"login":"radare","id":917142,"avatar_url":"https://avatars2.githubusercontent.com/u/917142?v=3","gravatar_id":"","url":"https://api.github.com/users/radare","html_url":"https://github.com/radare","followers_url":"https://api.github.com/users/radare/followers","following_url":"https://api.github.com/users/radare/following{/other_user}","gists_url":"https://api.github.com/users/radare/gists{/gist_id}","starred_url":"https://api.github.com/users/radare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radare/subscriptions","organizations_url":"https://api.github.com/users/radare/orgs","repos_url":"https://api.github.com/users/radare/repos","events_url":"https://api.github.com/users/radare/events{/privacy}","received_events_url":"https://api.github.com/users/radare/received_events","type":"User","site_admin":false},"open_issues":116,"closed_issues":26,"state":"open","created_at":"2017-01-20T16:17:41Z","updated_at":"2017-05-19T12:23:22Z","due_on":"2017-05-29T07:00:00Z","closed_at":null},"comments":4,"created_at":"2017-05-18T23:24:17Z","updated_at":"2017-05-19T21:22:27Z","closed_at":null,"body":"Here's a short demonstration:\r\n\r\n    [0x00008000]> s 0x8010\r\n    [0x00008010]> pd 1\r\n                0x00008010      00             brk\r\n    [0x00008010]> s-\r\n    [0x00008000]> s+\r\n    [0x00008010]> pd 1\r\n                0x00008010      0100           ora (0x00,x)\r\n\r\nI've attached a file that can be used to reproduce this. It is the same file as in #7517; copying my description of the file from there:\r\n\r\n> Unzip it and run `r2 test.nes` to give it a go. The test file is all zeros, except for the NES header in the first 16 bytes and a `1`, `2`, and `3` byte at the beginning of each of the three declared PRG ROMs (at file offsets 0x10, 0x4010, and 0x8010, respectively). You can see the `1` and `2` bytes at 0x8000 and 0xc000, respectively, in r2.\r\n\r\nI've confirmed that this bug exists in the master and siol branches. In both cases, it seems to be showing some (but not all) of the bytes from the \"undone\" address at the \"redone\" address -- but the number of bytes affected differs in the two branches."},"comment":{"url":"https://api.github.com/repos/radare/radare2/issues/comments/302814248","html_url":"https://github.com/radare/radare2/issues/7527#issuecomment-302814248","issue_url":"https://api.github.com/repos/radare/radare2/issues/7527","id":302814248,"user":{"login":"dmwit","id":203613,"avatar_url":"https://avatars1.githubusercontent.com/u/203613?v=3","gravatar_id":"","url":"https://api.github.com/users/dmwit","html_url":"https://github.com/dmwit","followers_url":"https://api.github.com/users/dmwit/followers","following_url":"https://api.github.com/users/dmwit/following{/other_user}","gists_url":"https://api.github.com/users/dmwit/gists{/gist_id}","starred_url":"https://api.github.com/users/dmwit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmwit/subscriptions","organizations_url":"https://api.github.com/users/dmwit/orgs","repos_url":"https://api.github.com/users/dmwit/repos","events_url":"https://api.github.com/users/dmwit/events{/privacy}","received_events_url":"https://api.github.com/users/dmwit/received_events","type":"User","site_admin":false},"created_at":"2017-05-19T21:22:27Z","updated_at":"2017-05-19T21:22:27Z","body":"[I've created a test script.](https://github.com/radare/radare2-regressions/pull/851)"}}
{"actor":{"display_login":"dmwit"}}