{"action":"created","issue":{"url":"https://api.github.com/repos/wifidog/wifidog-gateway/issues/148","labels_url":"https://api.github.com/repos/wifidog/wifidog-gateway/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/wifidog/wifidog-gateway/issues/148/comments","events_url":"https://api.github.com/repos/wifidog/wifidog-gateway/issues/148/events","html_url":"https://github.com/wifidog/wifidog-gateway/issues/148","id":63684201,"number":148,"title":"wdctl status access invalid memory","user":{"login":"florida63","id":4621065,"avatar_url":"https://avatars.githubusercontent.com/u/4621065?v=3","gravatar_id":"","url":"https://api.github.com/users/florida63","html_url":"https://github.com/florida63","followers_url":"https://api.github.com/users/florida63/followers","following_url":"https://api.github.com/users/florida63/following{/other_user}","gists_url":"https://api.github.com/users/florida63/gists{/gist_id}","starred_url":"https://api.github.com/users/florida63/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florida63/subscriptions","organizations_url":"https://api.github.com/users/florida63/orgs","repos_url":"https://api.github.com/users/florida63/repos","events_url":"https://api.github.com/users/florida63/events{/privacy}","received_events_url":"https://api.github.com/users/florida63/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wifidog/wifidog-gateway/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/wifidog/wifidog-gateway/labels/regression","name":"regression","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"acv","id":780313,"avatar_url":"https://avatars.githubusercontent.com/u/780313?v=3","gravatar_id":"","url":"https://api.github.com/users/acv","html_url":"https://github.com/acv","followers_url":"https://api.github.com/users/acv/followers","following_url":"https://api.github.com/users/acv/following{/other_user}","gists_url":"https://api.github.com/users/acv/gists{/gist_id}","starred_url":"https://api.github.com/users/acv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acv/subscriptions","organizations_url":"https://api.github.com/users/acv/orgs","repos_url":"https://api.github.com/users/acv/repos","events_url":"https://api.github.com/users/acv/events{/privacy}","received_events_url":"https://api.github.com/users/acv/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/wifidog/wifidog-gateway/milestones/3","html_url":"https://github.com/wifidog/wifidog-gateway/milestones/1.2.1","labels_url":"https://api.github.com/repos/wifidog/wifidog-gateway/milestones/3/labels","id":1033605,"number":3,"title":"1.2.1","description":null,"creator":{"login":"mhaas","id":260872,"avatar_url":"https://avatars.githubusercontent.com/u/260872?v=3","gravatar_id":"","url":"https://api.github.com/users/mhaas","html_url":"https://github.com/mhaas","followers_url":"https://api.github.com/users/mhaas/followers","following_url":"https://api.github.com/users/mhaas/following{/other_user}","gists_url":"https://api.github.com/users/mhaas/gists{/gist_id}","starred_url":"https://api.github.com/users/mhaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhaas/subscriptions","organizations_url":"https://api.github.com/users/mhaas/orgs","repos_url":"https://api.github.com/users/mhaas/repos","events_url":"https://api.github.com/users/mhaas/events{/privacy}","received_events_url":"https://api.github.com/users/mhaas/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2015-03-23T09:34:04Z","updated_at":"2015-03-24T09:27:07Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2015-03-23T10:07:35Z","updated_at":"2015-03-24T12:44:59Z","closed_at":null,"body":"when auth is not accessible wdctl status very slow return\r\n\r\nwhen there is an answer why \"\\��\\��\"\r\nroot@Auz2:/etc# wdctl status\r\n[3][Sat Jan  1 03:47:13 2000][5165](centralserver.c:148) Failed to connect to any of the auth servers\r\n\\��*\\��*.1WiFiDog status\r\n\r\nVersion: 1.2.1\r\nUptime: 0d 0h 4m 24s\r\nHas been restarted: yes (from PID 4381)\r\nInternet Connectivity: yes\r\nAuth server reachable: no\r\nClients served this session:\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wifidog/wifidog-gateway/issues/comments/85482563","html_url":"https://github.com/wifidog/wifidog-gateway/issues/148#issuecomment-85482563","issue_url":"https://api.github.com/repos/wifidog/wifidog-gateway/issues/148","id":85482563,"user":{"login":"acv","id":780313,"avatar_url":"https://avatars.githubusercontent.com/u/780313?v=3","gravatar_id":"","url":"https://api.github.com/users/acv","html_url":"https://github.com/acv","followers_url":"https://api.github.com/users/acv/followers","following_url":"https://api.github.com/users/acv/following{/other_user}","gists_url":"https://api.github.com/users/acv/gists{/gist_id}","starred_url":"https://api.github.com/users/acv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acv/subscriptions","organizations_url":"https://api.github.com/users/acv/orgs","repos_url":"https://api.github.com/users/acv/repos","events_url":"https://api.github.com/users/acv/events{/privacy}","received_events_url":"https://api.github.com/users/acv/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T12:44:59Z","updated_at":"2015-03-24T12:44:59Z","body":"@mhaas, I was thinking just that. Since we use `safe_malloc()` everywhere, I thought we could just put the `memset` in the `safe_malloc` then audit the code to remove double `memset`.\r\n\r\nSeems the smartest way to go about it."}}