{"action":"closed","issue":{"url":"https://api.github.com/repos/OphidiaBigData/ophidia-server/issues/4","repository_url":"https://api.github.com/repos/OphidiaBigData/ophidia-server","labels_url":"https://api.github.com/repos/OphidiaBigData/ophidia-server/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/OphidiaBigData/ophidia-server/issues/4/comments","events_url":"https://api.github.com/repos/OphidiaBigData/ophidia-server/issues/4/events","html_url":"https://github.com/OphidiaBigData/ophidia-server/issues/4","id":145232803,"number":4,"title":"on_exit delete: possible crash due to buffer overflow","user":{"login":"minomicetto","id":2253996,"avatar_url":"https://avatars.githubusercontent.com/u/2253996?v=3","gravatar_id":"","url":"https://api.github.com/users/minomicetto","html_url":"https://github.com/minomicetto","followers_url":"https://api.github.com/users/minomicetto/followers","following_url":"https://api.github.com/users/minomicetto/following{/other_user}","gists_url":"https://api.github.com/users/minomicetto/gists{/gist_id}","starred_url":"https://api.github.com/users/minomicetto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minomicetto/subscriptions","organizations_url":"https://api.github.com/users/minomicetto/orgs","repos_url":"https://api.github.com/users/minomicetto/repos","events_url":"https://api.github.com/users/minomicetto/events{/privacy}","received_events_url":"https://api.github.com/users/minomicetto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OphidiaBigData/ophidia-server/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-01T17:06:20Z","updated_at":"2016-06-23T09:22:10Z","closed_at":"2016-06-23T09:22:10Z","body":"Buffer used to append ids of cubes to be dropped at the end of a workflow could overflow, resulting in a server crash. The following backtrace shows an example.\r\n\r\n```\r\n[Fri Apr  1 18:55:37 2016][DEBUG][oph_filters.c][154]   Process argument cube_filter='609:611,619,615,614,613,616,612,618,617,620,622,626,623,625,621,624,627:630,633,632,631,634:635,637,636,641,638,\r\n642,639:640,643:647,650,649,648,651:655,657:658,656,659:664,666:667,665,668:671,674,673,672,675:687,689,688,690:693,695,694,696:699,701,700,702:705,707,706,709,708,711,710,712:713,715,714,716:720,72\r\n2,721,723:752,754,753,755:761,763,762,764:772,774,773,775:776'\r\n*** buffer overflow detected ***: /ophidia-server/install/bin/oph_server terminated\r\n======= Backtrace: =========\r\n/lib64/libc.so.6(__fortify_fail+0x37)[0x3db0902827]\r\n/lib64/libc.so.6[0x3db0900710]\r\n/lib64/libc.so.6[0x3db08ff854]\r\n/ophidia-server/install/lib/liboph_filters.so.0(oph_filter_using_subset+0x276)[0x7f98d60c28a6]\r\n/ophidia-server/install/lib/liboph_filters.so.0(_oph_filter+0x338)[0x7f98d60c3058]\r\n/ophidia-server/install/lib/liboph_massive_operations.so.0(_oph_mf_parse_KV+0x2f6)[0x7f98d62c6a26]\r\n/ophidia-server/install/lib/liboph_massive_operations.so.0(_oph_mf_parse_query+0x318)[0x7f98d62c7828]\r\n/ophidia-server/install/lib/liboph_massive_operations.so.0(oph_mf_parse_query_unsafe+0x2e)[0x7f98d62c7f5e]\r\n/ophidia-server/install/lib/liboph_workflow_engine.so.0(oph_check_for_massive_operation+0x31e)[0x7f98d66d6c4e]\r\n/ophidia-server/install/lib/liboph_workflow_engine.so.0(oph_workflow_execute+0x2156)[0x7f98d66da9a6]\r\n/ophidia-server/install/lib/liboph_workflow_engine.so.0(oph_workflow_notify+0x15d1)[0x7f98d66ddc81]\r\n/ophidia-server/install/lib/liboph_notify.so.0(oph__oph_notify+0x2ca)[0x7f98d7528d3a]\r\n/ophidia-server/install/lib/libsoapServer.so.0(soap_serve_oph__oph_notify+0xb6)[0x7f98d897e226]\r\n/ophidia-server/install/lib/libsoapServer.so.0(soap_serve+0x64)[0x7f98d897e684]\r\n/ophidia-server/install/bin/oph_server(process_request+0x2d)[0x402ecd]\r\n/lib64/libpthread.so.0[0x3db0c079d1]\r\n/lib64/libc.so.6(clone+0x6d)[0x3db08e8b6d]\r\n```"}}
{"actor":{"display_login":"eldoo"}}