{"action":"opened","issue":{"url":"https://api.github.com/repos/ARPA-SIMC/dballe/issues/74","repository_url":"https://api.github.com/repos/ARPA-SIMC/dballe","labels_url":"https://api.github.com/repos/ARPA-SIMC/dballe/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/ARPA-SIMC/dballe/issues/74/comments","events_url":"https://api.github.com/repos/ARPA-SIMC/dballe/issues/74/events","html_url":"https://github.com/ARPA-SIMC/dballe/issues/74","id":187037734,"number":74,"title":"--index argument limited to 6 characters?","user":{"login":"dcesari","id":681382,"avatar_url":"https://avatars.githubusercontent.com/u/681382?v=3","gravatar_id":"","url":"https://api.github.com/users/dcesari","html_url":"https://github.com/dcesari","followers_url":"https://api.github.com/users/dcesari/followers","following_url":"https://api.github.com/users/dcesari/following{/other_user}","gists_url":"https://api.github.com/users/dcesari/gists{/gist_id}","starred_url":"https://api.github.com/users/dcesari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcesari/subscriptions","organizations_url":"https://api.github.com/users/dcesari/orgs","repos_url":"https://api.github.com/users/dcesari/repos","events_url":"https://api.github.com/users/dcesari/events{/privacy}","received_events_url":"https://api.github.com/users/dcesari/received_events","type":"User","site_admin":false},"labels":[{"id":244486572,"url":"https://api.github.com/repos/ARPA-SIMC/dballe/labels/bug","name":"bug","color":"e99695","default":true}],"state":"open","locked":false,"assignee":{"login":"spanezz","id":1324501,"avatar_url":"https://avatars.githubusercontent.com/u/1324501?v=3","gravatar_id":"","url":"https://api.github.com/users/spanezz","html_url":"https://github.com/spanezz","followers_url":"https://api.github.com/users/spanezz/followers","following_url":"https://api.github.com/users/spanezz/following{/other_user}","gists_url":"https://api.github.com/users/spanezz/gists{/gist_id}","starred_url":"https://api.github.com/users/spanezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spanezz/subscriptions","organizations_url":"https://api.github.com/users/spanezz/orgs","repos_url":"https://api.github.com/users/spanezz/repos","events_url":"https://api.github.com/users/spanezz/events{/privacy}","received_events_url":"https://api.github.com/users/spanezz/received_events","type":"User","site_admin":false},"assignees":[{"login":"spanezz","id":1324501,"avatar_url":"https://avatars.githubusercontent.com/u/1324501?v=3","gravatar_id":"","url":"https://api.github.com/users/spanezz","html_url":"https://github.com/spanezz","followers_url":"https://api.github.com/users/spanezz/followers","following_url":"https://api.github.com/users/spanezz/following{/other_user}","gists_url":"https://api.github.com/users/spanezz/gists{/gist_id}","starred_url":"https://api.github.com/users/spanezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spanezz/subscriptions","organizations_url":"https://api.github.com/users/spanezz/orgs","repos_url":"https://api.github.com/users/spanezz/repos","events_url":"https://api.github.com/users/spanezz/events{/privacy}","received_events_url":"https://api.github.com/users/spanezz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-11-03T11:44:09Z","updated_at":"2016-11-03T11:44:09Z","closed_at":null,"body":"With any bufr file as input:\r\n\r\n```\r\ndbamsg cat --index=99-101 ./extra/bufr/temp-gts3.bufr >/dev/null\r\n# ok\r\ndbamsg cat --index=100-101 ./extra/bufr/temp-gts3.bufr >/dev/null\r\nCannot parse index string 100-101\r\n# bad\r\n# and even:\r\ndbamsg cat --index='99-101 ' ./extra/bufr/temp-gts3.bufr >/dev/null\r\nCannot parse index string 99-101 \r\n```\r\nBy debugging I get the feeling there is some buffer overflow on `index` string in processor.cc.\r\n\r\n"}}
{"actor":{"display_login":"dcesari"}}