{"action":"created","comment":{"url":"https://api.github.com/repos/UW-Hydro/VIC/pulls/comments/46777661","id":46777661,"diff_hunk":"@@ -229,7 +232,7 @@ read_vegparam(FILE  *vegparam,\n                         \"vegetat_type_num %d\", vegcel, vegetat_type_num);\n             }\n             Nfields = 0;\n-            vegarr[Nfields] = calloc(500, sizeof(char));\n+            vegarr[Nfields] = calloc(500, sizeof(*vegarr[Nfields]));","path":"vic/drivers/classic/src/read_vegparam.c","position":48,"original_position":48,"commit_id":"bb9c6473d60395167628efbec12cabf3e2e094ba","original_commit_id":"bb9c6473d60395167628efbec12cabf3e2e094ba","user":{"login":"bartnijssen","id":1106706,"avatar_url":"https://avatars.githubusercontent.com/u/1106706?v=3","gravatar_id":"","url":"https://api.github.com/users/bartnijssen","html_url":"https://github.com/bartnijssen","followers_url":"https://api.github.com/users/bartnijssen/followers","following_url":"https://api.github.com/users/bartnijssen/following{/other_user}","gists_url":"https://api.github.com/users/bartnijssen/gists{/gist_id}","starred_url":"https://api.github.com/users/bartnijssen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartnijssen/subscriptions","organizations_url":"https://api.github.com/users/bartnijssen/orgs","repos_url":"https://api.github.com/users/bartnijssen/repos","events_url":"https://api.github.com/users/bartnijssen/events{/privacy}","received_events_url":"https://api.github.com/users/bartnijssen/received_events","type":"User","site_admin":false},"body":"`*(left hand side)`","created_at":"2015-12-06T22:52:37Z","updated_at":"2015-12-06T22:52:37Z","html_url":"https://github.com/UW-Hydro/VIC/pull/257#discussion_r46777661","pull_request_url":"https://api.github.com/repos/UW-Hydro/VIC/pulls/257","_links":{"self":{"href":"https://api.github.com/repos/UW-Hydro/VIC/pulls/comments/46777661"},"html":{"href":"https://github.com/UW-Hydro/VIC/pull/257#discussion_r46777661"},"pull_request":{"href":"https://api.github.com/repos/UW-Hydro/VIC/pulls/257"}}},"pull_request":{"url":"https://api.github.com/repos/UW-Hydro/VIC/pulls/257","id":42319118,"html_url":"https://github.com/UW-Hydro/VIC/pull/257","diff_url":"https://github.com/UW-Hydro/VIC/pull/257.diff","patch_url":"https://github.com/UW-Hydro/VIC/pull/257.patch","issue_url":"https://api.github.com/repos/UW-Hydro/VIC/issues/257","number":257,"state":"open","locked":false,"title":"stop casting calloc and malloc results classic driver and deps","user":{"login":"jhamman","id":2443309,"avatar_url":"https://avatars.githubusercontent.com/u/2443309?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamman","html_url":"https://github.com/jhamman","followers_url":"https://api.github.com/users/jhamman/followers","following_url":"https://api.github.com/users/jhamman/following{/other_user}","gists_url":"https://api.github.com/users/jhamman/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamman/subscriptions","organizations_url":"https://api.github.com/users/jhamman/orgs","repos_url":"https://api.github.com/users/jhamman/repos","events_url":"https://api.github.com/users/jhamman/events{/privacy}","received_events_url":"https://api.github.com/users/jhamman/received_events","type":"User","site_admin":false},"body":"This is a first hack at #247.\r\n\r\nThe initial commit covers the classic driver, shared driver, and the vic_run sources.\r\n\r\ncloses #247.","created_at":"2015-08-13T06:37:15Z","updated_at":"2015-12-06T22:52:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81730897628c697808dda25ed6072521f8033810","assignee":{"login":"jhamman","id":2443309,"avatar_url":"https://avatars.githubusercontent.com/u/2443309?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamman","html_url":"https://github.com/jhamman","followers_url":"https://api.github.com/users/jhamman/followers","following_url":"https://api.github.com/users/jhamman/following{/other_user}","gists_url":"https://api.github.com/users/jhamman/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamman/subscriptions","organizations_url":"https://api.github.com/users/jhamman/orgs","repos_url":"https://api.github.com/users/jhamman/repos","events_url":"https://api.github.com/users/jhamman/events{/privacy}","received_events_url":"https://api.github.com/users/jhamman/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/UW-Hydro/VIC/milestones/2","html_url":"https://github.com/UW-Hydro/VIC/milestones/5.0","labels_url":"https://api.github.com/repos/UW-Hydro/VIC/milestones/2/labels","id":391482,"number":2,"title":"5.0","description":"VIC code reorganization, image mode driver with MPI.  No science changes from VIC.4.2 ","creator":{"login":"jhamman","id":2443309,"avatar_url":"https://avatars.githubusercontent.com/u/2443309?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamman","html_url":"https://github.com/jhamman","followers_url":"https://api.github.com/users/jhamman/followers","following_url":"https://api.github.com/users/jhamman/following{/other_user}","gists_url":"https://api.github.com/users/jhamman/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamman/subscriptions","organizations_url":"https://api.github.com/users/jhamman/orgs","repos_url":"https://api.github.com/users/jhamman/repos","events_url":"https://api.github.com/users/jhamman/events{/privacy}","received_events_url":"https://api.github.com/users/jhamman/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":48,"state":"open","created_at":"2013-07-31T19:03:06Z","updated_at":"2015-12-01T00:11:35Z","due_on":"2015-12-11T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/UW-Hydro/VIC/pulls/257/commits","review_comments_url":"https://api.github.com/repos/UW-Hydro/VIC/pulls/257/comments","review_comment_url":"https://api.github.com/repos/UW-Hydro/VIC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UW-Hydro/VIC/issues/257/comments","statuses_url":"https://api.github.com/repos/UW-Hydro/VIC/statuses/bb9c6473d60395167628efbec12cabf3e2e094ba","head":{"label":"jhamman:feature/cast_syntax","ref":"feature/cast_syntax","sha":"bb9c6473d60395167628efbec12cabf3e2e094ba","user":{"login":"jhamman","id":2443309,"avatar_url":"https://avatars.githubusercontent.com/u/2443309?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamman","html_url":"https://github.com/jhamman","followers_url":"https://api.github.com/users/jhamman/followers","following_url":"https://api.github.com/users/jhamman/following{/other_user}","gists_url":"https://api.github.com/users/jhamman/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamman/subscriptions","organizations_url":"https://api.github.com/users/jhamman/orgs","repos_url":"https://api.github.com/users/jhamman/repos","events_url":"https://api.github.com/users/jhamman/events{/privacy}","received_events_url":"https://api.github.com/users/jhamman/received_events","type":"User","site_admin":false},"repo":{"id":8168561,"name":"VIC","full_name":"jhamman/VIC","owner":{"login":"jhamman","id":2443309,"avatar_url":"https://avatars.githubusercontent.com/u/2443309?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamman","html_url":"https://github.com/jhamman","followers_url":"https://api.github.com/users/jhamman/followers","following_url":"https://api.github.com/users/jhamman/following{/other_user}","gists_url":"https://api.github.com/users/jhamman/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamman/subscriptions","organizations_url":"https://api.github.com/users/jhamman/orgs","repos_url":"https://api.github.com/users/jhamman/repos","events_url":"https://api.github.com/users/jhamman/events{/privacy}","received_events_url":"https://api.github.com/users/jhamman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhamman/VIC","description":"The Variable Infiltration Capacity (VIC) Macroscale Hydrologic Model","fork":true,"url":"https://api.github.com/repos/jhamman/VIC","forks_url":"https://api.github.com/repos/jhamman/VIC/forks","keys_url":"https://api.github.com/repos/jhamman/VIC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhamman/VIC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhamman/VIC/teams","hooks_url":"https://api.github.com/repos/jhamman/VIC/hooks","issue_events_url":"https://api.github.com/repos/jhamman/VIC/issues/events{/number}","events_url":"https://api.github.com/repos/jhamman/VIC/events","assignees_url":"https://api.github.com/repos/jhamman/VIC/assignees{/user}","branches_url":"https://api.github.com/repos/jhamman/VIC/branches{/branch}","tags_url":"https://api.github.com/repos/jhamman/VIC/tags","blobs_url":"https://api.github.com/repos/jhamman/VIC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhamman/VIC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhamman/VIC/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhamman/VIC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhamman/VIC/statuses/{sha}","languages_url":"https://api.github.com/repos/jhamman/VIC/languages","stargazers_url":"https://api.github.com/repos/jhamman/VIC/stargazers","contributors_url":"https://api.github.com/repos/jhamman/VIC/contributors","subscribers_url":"https://api.github.com/repos/jhamman/VIC/subscribers","subscription_url":"https://api.github.com/repos/jhamman/VIC/subscription","commits_url":"https://api.github.com/repos/jhamman/VIC/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhamman/VIC/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhamman/VIC/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhamman/VIC/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhamman/VIC/contents/{+path}","compare_url":"https://api.github.com/repos/jhamman/VIC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhamman/VIC/merges","archive_url":"https://api.github.com/repos/jhamman/VIC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhamman/VIC/downloads","issues_url":"https://api.github.com/repos/jhamman/VIC/issues{/number}","pulls_url":"https://api.github.com/repos/jhamman/VIC/pulls{/number}","milestones_url":"https://api.github.com/repos/jhamman/VIC/milestones{/number}","notifications_url":"https://api.github.com/repos/jhamman/VIC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhamman/VIC/labels{/name}","releases_url":"https://api.github.com/repos/jhamman/VIC/releases{/id}","created_at":"2013-02-12T22:13:59Z","updated_at":"2015-05-23T15:49:22Z","pushed_at":"2015-12-01T04:43:52Z","git_url":"git://github.com/jhamman/VIC.git","ssh_url":"git@github.com:jhamman/VIC.git","clone_url":"https://github.com/jhamman/VIC.git","svn_url":"https://github.com/jhamman/VIC","homepage":null,"size":13228,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"develop"}},"base":{"label":"UW-Hydro:develop","ref":"develop","sha":"1ad5abbd639f62de2b2c757bc8a8ea92884ddeba","user":{"login":"UW-Hydro","id":3475662,"avatar_url":"https://avatars.githubusercontent.com/u/3475662?v=3","gravatar_id":"","url":"https://api.github.com/users/UW-Hydro","html_url":"https://github.com/UW-Hydro","followers_url":"https://api.github.com/users/UW-Hydro/followers","following_url":"https://api.github.com/users/UW-Hydro/following{/other_user}","gists_url":"https://api.github.com/users/UW-Hydro/gists{/gist_id}","starred_url":"https://api.github.com/users/UW-Hydro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UW-Hydro/subscriptions","organizations_url":"https://api.github.com/users/UW-Hydro/orgs","repos_url":"https://api.github.com/users/UW-Hydro/repos","events_url":"https://api.github.com/users/UW-Hydro/events{/privacy}","received_events_url":"https://api.github.com/users/UW-Hydro/received_events","type":"Organization","site_admin":false},"repo":{"id":8064928,"name":"VIC","full_name":"UW-Hydro/VIC","owner":{"login":"UW-Hydro","id":3475662,"avatar_url":"https://avatars.githubusercontent.com/u/3475662?v=3","gravatar_id":"","url":"https://api.github.com/users/UW-Hydro","html_url":"https://github.com/UW-Hydro","followers_url":"https://api.github.com/users/UW-Hydro/followers","following_url":"https://api.github.com/users/UW-Hydro/following{/other_user}","gists_url":"https://api.github.com/users/UW-Hydro/gists{/gist_id}","starred_url":"https://api.github.com/users/UW-Hydro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UW-Hydro/subscriptions","organizations_url":"https://api.github.com/users/UW-Hydro/orgs","repos_url":"https://api.github.com/users/UW-Hydro/repos","events_url":"https://api.github.com/users/UW-Hydro/events{/privacy}","received_events_url":"https://api.github.com/users/UW-Hydro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UW-Hydro/VIC","description":"The Variable Infiltration Capacity (VIC) Macroscale Hydrologic Model","fork":false,"url":"https://api.github.com/repos/UW-Hydro/VIC","forks_url":"https://api.github.com/repos/UW-Hydro/VIC/forks","keys_url":"https://api.github.com/repos/UW-Hydro/VIC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UW-Hydro/VIC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UW-Hydro/VIC/teams","hooks_url":"https://api.github.com/repos/UW-Hydro/VIC/hooks","issue_events_url":"https://api.github.com/repos/UW-Hydro/VIC/issues/events{/number}","events_url":"https://api.github.com/repos/UW-Hydro/VIC/events","assignees_url":"https://api.github.com/repos/UW-Hydro/VIC/assignees{/user}","branches_url":"https://api.github.com/repos/UW-Hydro/VIC/branches{/branch}","tags_url":"https://api.github.com/repos/UW-Hydro/VIC/tags","blobs_url":"https://api.github.com/repos/UW-Hydro/VIC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UW-Hydro/VIC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UW-Hydro/VIC/git/refs{/sha}","trees_url":"https://api.github.com/repos/UW-Hydro/VIC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UW-Hydro/VIC/statuses/{sha}","languages_url":"https://api.github.com/repos/UW-Hydro/VIC/languages","stargazers_url":"https://api.github.com/repos/UW-Hydro/VIC/stargazers","contributors_url":"https://api.github.com/repos/UW-Hydro/VIC/contributors","subscribers_url":"https://api.github.com/repos/UW-Hydro/VIC/subscribers","subscription_url":"https://api.github.com/repos/UW-Hydro/VIC/subscription","commits_url":"https://api.github.com/repos/UW-Hydro/VIC/commits{/sha}","git_commits_url":"https://api.github.com/repos/UW-Hydro/VIC/git/commits{/sha}","comments_url":"https://api.github.com/repos/UW-Hydro/VIC/comments{/number}","issue_comment_url":"https://api.github.com/repos/UW-Hydro/VIC/issues/comments{/number}","contents_url":"https://api.github.com/repos/UW-Hydro/VIC/contents/{+path}","compare_url":"https://api.github.com/repos/UW-Hydro/VIC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UW-Hydro/VIC/merges","archive_url":"https://api.github.com/repos/UW-Hydro/VIC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UW-Hydro/VIC/downloads","issues_url":"https://api.github.com/repos/UW-Hydro/VIC/issues{/number}","pulls_url":"https://api.github.com/repos/UW-Hydro/VIC/pulls{/number}","milestones_url":"https://api.github.com/repos/UW-Hydro/VIC/milestones{/number}","notifications_url":"https://api.github.com/repos/UW-Hydro/VIC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UW-Hydro/VIC/labels{/name}","releases_url":"https://api.github.com/repos/UW-Hydro/VIC/releases{/id}","created_at":"2013-02-07T02:30:14Z","updated_at":"2015-09-27T03:26:50Z","pushed_at":"2015-12-01T23:05:30Z","git_url":"git://github.com/UW-Hydro/VIC.git","ssh_url":"git@github.com:UW-Hydro/VIC.git","clone_url":"https://github.com/UW-Hydro/VIC.git","svn_url":"https://github.com/UW-Hydro/VIC","homepage":"http://vic.readthedocs.org","size":18446,"stargazers_count":27,"watchers_count":27,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":102,"mirror_url":null,"open_issues_count":59,"forks":102,"open_issues":59,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UW-Hydro/VIC/pulls/257"},"html":{"href":"https://github.com/UW-Hydro/VIC/pull/257"},"issue":{"href":"https://api.github.com/repos/UW-Hydro/VIC/issues/257"},"comments":{"href":"https://api.github.com/repos/UW-Hydro/VIC/issues/257/comments"},"review_comments":{"href":"https://api.github.com/repos/UW-Hydro/VIC/pulls/257/comments"},"review_comment":{"href":"https://api.github.com/repos/UW-Hydro/VIC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UW-Hydro/VIC/pulls/257/commits"},"statuses":{"href":"https://api.github.com/repos/UW-Hydro/VIC/statuses/bb9c6473d60395167628efbec12cabf3e2e094ba"}}}}