{"action":"created","issue":{"url":"https://api.github.com/repos/oscarlab/graphene/issues/354","repository_url":"https://api.github.com/repos/oscarlab/graphene","labels_url":"https://api.github.com/repos/oscarlab/graphene/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/oscarlab/graphene/issues/354/comments","events_url":"https://api.github.com/repos/oscarlab/graphene/issues/354/events","html_url":"https://github.com/oscarlab/graphene/pull/354","id":387960446,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MzM0MTM4","number":354,"title":"Using uninitialized value ret in return statement","user":{"login":"bigdata-memory","id":10856796,"node_id":"MDQ6VXNlcjEwODU2Nzk2","avatar_url":"https://avatars1.githubusercontent.com/u/10856796?v=4","gravatar_id":"","url":"https://api.github.com/users/bigdata-memory","html_url":"https://github.com/bigdata-memory","followers_url":"https://api.github.com/users/bigdata-memory/followers","following_url":"https://api.github.com/users/bigdata-memory/following{/other_user}","gists_url":"https://api.github.com/users/bigdata-memory/gists{/gist_id}","starred_url":"https://api.github.com/users/bigdata-memory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigdata-memory/subscriptions","organizations_url":"https://api.github.com/users/bigdata-memory/orgs","repos_url":"https://api.github.com/users/bigdata-memory/repos","events_url":"https://api.github.com/users/bigdata-memory/events{/privacy}","received_events_url":"https://api.github.com/users/bigdata-memory/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-05T21:48:06Z","updated_at":"2018-12-05T21:56:13Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/oscarlab/graphene/pulls/354","html_url":"https://github.com/oscarlab/graphene/pull/354","diff_url":"https://github.com/oscarlab/graphene/pull/354.diff","patch_url":"https://github.com/oscarlab/graphene/pull/354.patch"},"body":"ret is declared without initialization. It depends on (ret = (*walk) (mount, arg) for the initial assignment;\r\nhowever, the list might be NULL and the assignment can not be performed leaving ret in un-initialized state.\r\nThus ret should be properly initialized in this case\r\n[482697]\r\n\r\nSigned-off-by: Gary <gang1.wang@intel.com>\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/oscarlab/graphene/354)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/oscarlab/graphene/issues/comments/444665712","html_url":"https://github.com/oscarlab/graphene/pull/354#issuecomment-444665712","issue_url":"https://api.github.com/repos/oscarlab/graphene/issues/354","id":444665712,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDY2NTcxMg==","user":{"login":"donporter","id":7039633,"node_id":"MDQ6VXNlcjcwMzk2MzM=","avatar_url":"https://avatars2.githubusercontent.com/u/7039633?v=4","gravatar_id":"","url":"https://api.github.com/users/donporter","html_url":"https://github.com/donporter","followers_url":"https://api.github.com/users/donporter/followers","following_url":"https://api.github.com/users/donporter/following{/other_user}","gists_url":"https://api.github.com/users/donporter/gists{/gist_id}","starred_url":"https://api.github.com/users/donporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donporter/subscriptions","organizations_url":"https://api.github.com/users/donporter/orgs","repos_url":"https://api.github.com/users/donporter/repos","events_url":"https://api.github.com/users/donporter/events{/privacy}","received_events_url":"https://api.github.com/users/donporter/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T21:56:13Z","updated_at":"2018-12-05T21:56:13Z","author_association":"MEMBER","body":"Ok to test"}}
{"actor":{"display_login":"donporter"}}