{"action":"created","issue":{"url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/670","repository_url":"https://api.github.com/repos/Itseez/opencv_contrib","labels_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/670/labels{/name}","comments_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/670/comments","events_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/670/events","html_url":"https://github.com/Itseez/opencv_contrib/pull/670","id":154830077,"number":670,"title":"Update weighted_median_filter.cpp","user":{"login":"systembug","id":5527065,"avatar_url":"https://avatars.githubusercontent.com/u/5527065?v=3","gravatar_id":"","url":"https://api.github.com/users/systembug","html_url":"https://github.com/systembug","followers_url":"https://api.github.com/users/systembug/followers","following_url":"https://api.github.com/users/systembug/following{/other_user}","gists_url":"https://api.github.com/users/systembug/gists{/gist_id}","starred_url":"https://api.github.com/users/systembug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systembug/subscriptions","organizations_url":"https://api.github.com/users/systembug/orgs","repos_url":"https://api.github.com/users/systembug/repos","events_url":"https://api.github.com/users/systembug/events{/privacy}","received_events_url":"https://api.github.com/users/systembug/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-14T02:39:56Z","updated_at":"2016-05-14T12:49:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Itseez/opencv_contrib/pulls/670","html_url":"https://github.com/Itseez/opencv_contrib/pull/670","diff_url":"https://github.com/Itseez/opencv_contrib/pull/670.diff","patch_url":"https://github.com/Itseez/opencv_contrib/pull/670.patch"},"body":"Using cv::split function without any allocation in std::vector can cause to problem of the heap memory corruption."},"comment":{"url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/comments/219218668","html_url":"https://github.com/Itseez/opencv_contrib/pull/670#issuecomment-219218668","issue_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/670","id":219218668,"user":{"login":"systembug","id":5527065,"avatar_url":"https://avatars.githubusercontent.com/u/5527065?v=3","gravatar_id":"","url":"https://api.github.com/users/systembug","html_url":"https://github.com/systembug","followers_url":"https://api.github.com/users/systembug/followers","following_url":"https://api.github.com/users/systembug/following{/other_user}","gists_url":"https://api.github.com/users/systembug/gists{/gist_id}","starred_url":"https://api.github.com/users/systembug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systembug/subscriptions","organizations_url":"https://api.github.com/users/systembug/orgs","repos_url":"https://api.github.com/users/systembug/repos","events_url":"https://api.github.com/users/systembug/events{/privacy}","received_events_url":"https://api.github.com/users/systembug/received_events","type":"User","site_admin":false},"created_at":"2016-05-14T12:49:33Z","updated_at":"2016-05-14T12:49:33Z","body":"@paroj Well, not pre-allocated vector and empty vector is different meaning. In real case, these codes cause to a memory corruption assertion on debug mode in Visual Studio 2015. And in Android porting case, this problem causes to fatal signal."}}