{"action":"created","issue":{"url":"https://api.github.com/repos/troglobit/pimd/issues/22","labels_url":"https://api.github.com/repos/troglobit/pimd/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/troglobit/pimd/issues/22/comments","events_url":"https://api.github.com/repos/troglobit/pimd/issues/22/events","html_url":"https://github.com/troglobit/pimd/issues/22","id":20400082,"number":22,"title":"Crash in (S,G) state when neighbor is lost","user":{"login":"YileKu","id":5595408,"avatar_url":"https://avatars.githubusercontent.com/u/5595408?v=3","gravatar_id":"","url":"https://api.github.com/users/YileKu","html_url":"https://github.com/YileKu","followers_url":"https://api.github.com/users/YileKu/followers","following_url":"https://api.github.com/users/YileKu/following{/other_user}","gists_url":"https://api.github.com/users/YileKu/gists{/gist_id}","starred_url":"https://api.github.com/users/YileKu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YileKu/subscriptions","organizations_url":"https://api.github.com/users/YileKu/orgs","repos_url":"https://api.github.com/users/YileKu/repos","events_url":"https://api.github.com/users/YileKu/events{/privacy}","received_events_url":"https://api.github.com/users/YileKu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2013-10-02T15:07:17Z","updated_at":"2015-04-01T20:38:56Z","closed_at":null,"body":"I had to add the following code to the bottom of delete_pim_nbr():\r\n\r\n     for (cand_rp_ptr = cand_rp_list; cand_rp_ptr != (cand_rp_t *)NULL;\r\n         cand_rp_ptr = cand_rp_ptr->next) {\r\n        for (rp_grp_entry_ptr = cand_rp_ptr->rp_grp_next;\r\n            rp_grp_entry_ptr != (rp_grp_entry_t *)NULL;\r\n            rp_grp_entry_ptr = rp_grp_entry_ptr->rp_grp_next)\r\n            {\r\n           for (grpentry_ptr = rp_grp_entry_ptr->grplink;\r\n               grpentry_ptr != (grpentry_t *)NULL;\r\n               grpentry_ptr = grpentry_ptr->next) {\r\n                mrtentry_srcs = grpentry_ptr->grp_route;\r\n                if (mrtentry_srcs != NULL ) {\r\n                  if(mrtentry_srcs->upstream != NULL) {\r\n                      if (mrtentry_srcs->upstream == nbr_delete) {\r\n                         mrtentry_srcs->upstream = NULL;\r\n                      }\r\n                  }\r\n             }\r\n        }\r\n    }\r\n    }\r\n\r\nage_routes was crashing because upstream had been freed, then someone else (timer_setTimer) was allocating the freed memory and clobbering the bjpm pointer.\r\nY-"},"comment":{"url":"https://api.github.com/repos/troglobit/pimd/issues/comments/88624772","html_url":"https://github.com/troglobit/pimd/issues/22#issuecomment-88624772","issue_url":"https://api.github.com/repos/troglobit/pimd/issues/22","id":88624772,"user":{"login":"mfspeer","id":3414173,"avatar_url":"https://avatars.githubusercontent.com/u/3414173?v=3","gravatar_id":"","url":"https://api.github.com/users/mfspeer","html_url":"https://github.com/mfspeer","followers_url":"https://api.github.com/users/mfspeer/followers","following_url":"https://api.github.com/users/mfspeer/following{/other_user}","gists_url":"https://api.github.com/users/mfspeer/gists{/gist_id}","starred_url":"https://api.github.com/users/mfspeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfspeer/subscriptions","organizations_url":"https://api.github.com/users/mfspeer/orgs","repos_url":"https://api.github.com/users/mfspeer/repos","events_url":"https://api.github.com/users/mfspeer/events{/privacy}","received_events_url":"https://api.github.com/users/mfspeer/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T20:38:56Z","updated_at":"2015-04-01T20:38:56Z","body":"Any update on suggested fix?\r\n"}}