{"action":"closed","issue":{"url":"https://api.github.com/repos/krs-world/bridges-cxx/issues/28","labels_url":"https://api.github.com/repos/krs-world/bridges-cxx/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/krs-world/bridges-cxx/issues/28/comments","events_url":"https://api.github.com/repos/krs-world/bridges-cxx/issues/28/events","html_url":"https://github.com/krs-world/bridges-cxx/issues/28","id":115784007,"number":28,"title":"Lacking null checks in Bridges.h","user":{"login":"dcarmer","id":8569832,"avatar_url":"https://avatars.githubusercontent.com/u/8569832?v=3","gravatar_id":"","url":"https://api.github.com/users/dcarmer","html_url":"https://github.com/dcarmer","followers_url":"https://api.github.com/users/dcarmer/followers","following_url":"https://api.github.com/users/dcarmer/following{/other_user}","gists_url":"https://api.github.com/users/dcarmer/gists{/gist_id}","starred_url":"https://api.github.com/users/dcarmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcarmer/subscriptions","organizations_url":"https://api.github.com/users/dcarmer/orgs","repos_url":"https://api.github.com/users/dcarmer/repos","events_url":"https://api.github.com/users/dcarmer/events{/privacy}","received_events_url":"https://api.github.com/users/dcarmer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/krs-world/bridges-cxx/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-09T03:20:29Z","updated_at":"2015-11-16T23:39:38Z","closed_at":"2015-11-16T23:39:38Z","body":"Several functions in Bridges.h check their input isn't null, but others are missing such checks.\r\n\r\nsetDataStrucutute(Element*, int) doesn't check if Element is null\r\nsetDataStrucutute(GraphAdjList*, int) doesn't check if GraphAdjList is null\r\nsetDataStrucutute(GraphAdjMatrix*, int) doesn't check if GraphAdjMatrix is null"}}