{"action":"created","comment":{"url":"https://api.github.com/repos/maxmind/libmaxminddb/pulls/comments/56229341","id":56229341,"diff_hunk":"@@ -1481,21 +1520,21 @@ LOCAL uint32_t get_ptr_from(uint8_t ctrl, uint8_t const *const ptr,\n {\n     uint32_t new_offset;\n     switch (ptr_size) {\n-    case 0:","path":"src/maxminddb.c","position":241,"original_position":241,"commit_id":"fd6cfec1357f923234b3e479c1ef76ef0ad9dea8","original_commit_id":"fd6cfec1357f923234b3e479c1ef76ef0ad9dea8","user":{"login":"oschwald","id":278835,"avatar_url":"https://avatars.githubusercontent.com/u/278835?v=3","gravatar_id":"","url":"https://api.github.com/users/oschwald","html_url":"https://github.com/oschwald","followers_url":"https://api.github.com/users/oschwald/followers","following_url":"https://api.github.com/users/oschwald/following{/other_user}","gists_url":"https://api.github.com/users/oschwald/gists{/gist_id}","starred_url":"https://api.github.com/users/oschwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oschwald/subscriptions","organizations_url":"https://api.github.com/users/oschwald/orgs","repos_url":"https://api.github.com/users/oschwald/repos","events_url":"https://api.github.com/users/oschwald/events{/privacy}","received_events_url":"https://api.github.com/users/oschwald/received_events","type":"User","site_admin":false},"body":"This re-numbering is from make the psize/ptr_size actually the size.","created_at":"2016-03-15T19:54:21Z","updated_at":"2016-03-15T19:54:21Z","html_url":"https://github.com/maxmind/libmaxminddb/pull/109#discussion_r56229341","pull_request_url":"https://api.github.com/repos/maxmind/libmaxminddb/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/maxmind/libmaxminddb/pulls/comments/56229341"},"html":{"href":"https://github.com/maxmind/libmaxminddb/pull/109#discussion_r56229341"},"pull_request":{"href":"https://api.github.com/repos/maxmind/libmaxminddb/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/maxmind/libmaxminddb/pulls/109","id":62966344,"html_url":"https://github.com/maxmind/libmaxminddb/pull/109","diff_url":"https://github.com/maxmind/libmaxminddb/pull/109.diff","patch_url":"https://github.com/maxmind/libmaxminddb/pull/109.patch","issue_url":"https://api.github.com/repos/maxmind/libmaxminddb/issues/109","number":109,"state":"open","locked":false,"title":"Allow decoding of dbs with pointers in metadata","user":{"login":"oschwald","id":278835,"avatar_url":"https://avatars.githubusercontent.com/u/278835?v=3","gravatar_id":"","url":"https://api.github.com/users/oschwald","html_url":"https://github.com/oschwald","followers_url":"https://api.github.com/users/oschwald/followers","following_url":"https://api.github.com/users/oschwald/following{/other_user}","gists_url":"https://api.github.com/users/oschwald/gists{/gist_id}","starred_url":"https://api.github.com/users/oschwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oschwald/subscriptions","organizations_url":"https://api.github.com/users/oschwald/orgs","repos_url":"https://api.github.com/users/oschwald/repos","events_url":"https://api.github.com/users/oschwald/events{/privacy}","received_events_url":"https://api.github.com/users/oschwald/received_events","type":"User","site_admin":false},"body":"Closes #108 ","created_at":"2016-03-15T19:51:19Z","updated_at":"2016-03-15T19:54:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fc57dee4f9d53a53e01e1e341510ce3ae63f2b8d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/maxmind/libmaxminddb/pulls/109/commits","review_comments_url":"https://api.github.com/repos/maxmind/libmaxminddb/pulls/109/comments","review_comment_url":"https://api.github.com/repos/maxmind/libmaxminddb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maxmind/libmaxminddb/issues/109/comments","statuses_url":"https://api.github.com/repos/maxmind/libmaxminddb/statuses/fd6cfec1357f923234b3e479c1ef76ef0ad9dea8","head":{"label":"maxmind:greg/fix-metadata-pointers","ref":"greg/fix-metadata-pointers","sha":"fd6cfec1357f923234b3e479c1ef76ef0ad9dea8","user":{"login":"maxmind","id":1181834,"avatar_url":"https://avatars.githubusercontent.com/u/1181834?v=3","gravatar_id":"","url":"https://api.github.com/users/maxmind","html_url":"https://github.com/maxmind","followers_url":"https://api.github.com/users/maxmind/followers","following_url":"https://api.github.com/users/maxmind/following{/other_user}","gists_url":"https://api.github.com/users/maxmind/gists{/gist_id}","starred_url":"https://api.github.com/users/maxmind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxmind/subscriptions","organizations_url":"https://api.github.com/users/maxmind/orgs","repos_url":"https://api.github.com/users/maxmind/repos","events_url":"https://api.github.com/users/maxmind/events{/privacy}","received_events_url":"https://api.github.com/users/maxmind/received_events","type":"Organization","site_admin":false},"repo":{"id":8882852,"name":"libmaxminddb","full_name":"maxmind/libmaxminddb","owner":{"login":"maxmind","id":1181834,"avatar_url":"https://avatars.githubusercontent.com/u/1181834?v=3","gravatar_id":"","url":"https://api.github.com/users/maxmind","html_url":"https://github.com/maxmind","followers_url":"https://api.github.com/users/maxmind/followers","following_url":"https://api.github.com/users/maxmind/following{/other_user}","gists_url":"https://api.github.com/users/maxmind/gists{/gist_id}","starred_url":"https://api.github.com/users/maxmind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxmind/subscriptions","organizations_url":"https://api.github.com/users/maxmind/orgs","repos_url":"https://api.github.com/users/maxmind/repos","events_url":"https://api.github.com/users/maxmind/events{/privacy}","received_events_url":"https://api.github.com/users/maxmind/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/maxmind/libmaxminddb","description":"C library for the MaxMind DB file format","fork":false,"url":"https://api.github.com/repos/maxmind/libmaxminddb","forks_url":"https://api.github.com/repos/maxmind/libmaxminddb/forks","keys_url":"https://api.github.com/repos/maxmind/libmaxminddb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maxmind/libmaxminddb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maxmind/libmaxminddb/teams","hooks_url":"https://api.github.com/repos/maxmind/libmaxminddb/hooks","issue_events_url":"https://api.github.com/repos/maxmind/libmaxminddb/issues/events{/number}","events_url":"https://api.github.com/repos/maxmind/libmaxminddb/events","assignees_url":"https://api.github.com/repos/maxmind/libmaxminddb/assignees{/user}","branches_url":"https://api.github.com/repos/maxmind/libmaxminddb/branches{/branch}","tags_url":"https://api.github.com/repos/maxmind/libmaxminddb/tags","blobs_url":"https://api.github.com/repos/maxmind/libmaxminddb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maxmind/libmaxminddb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maxmind/libmaxminddb/git/refs{/sha}","trees_url":"https://api.github.com/repos/maxmind/libmaxminddb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maxmind/libmaxminddb/statuses/{sha}","languages_url":"https://api.github.com/repos/maxmind/libmaxminddb/languages","stargazers_url":"https://api.github.com/repos/maxmind/libmaxminddb/stargazers","contributors_url":"https://api.github.com/repos/maxmind/libmaxminddb/contributors","subscribers_url":"https://api.github.com/repos/maxmind/libmaxminddb/subscribers","subscription_url":"https://api.github.com/repos/maxmind/libmaxminddb/subscription","commits_url":"https://api.github.com/repos/maxmind/libmaxminddb/commits{/sha}","git_commits_url":"https://api.github.com/repos/maxmind/libmaxminddb/git/commits{/sha}","comments_url":"https://api.github.com/repos/maxmind/libmaxminddb/comments{/number}","issue_comment_url":"https://api.github.com/repos/maxmind/libmaxminddb/issues/comments{/number}","contents_url":"https://api.github.com/repos/maxmind/libmaxminddb/contents/{+path}","compare_url":"https://api.github.com/repos/maxmind/libmaxminddb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maxmind/libmaxminddb/merges","archive_url":"https://api.github.com/repos/maxmind/libmaxminddb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maxmind/libmaxminddb/downloads","issues_url":"https://api.github.com/repos/maxmind/libmaxminddb/issues{/number}","pulls_url":"https://api.github.com/repos/maxmind/libmaxminddb/pulls{/number}","milestones_url":"https://api.github.com/repos/maxmind/libmaxminddb/milestones{/number}","notifications_url":"https://api.github.com/repos/maxmind/libmaxminddb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maxmind/libmaxminddb/labels{/name}","releases_url":"https://api.github.com/repos/maxmind/libmaxminddb/releases{/id}","deployments_url":"https://api.github.com/repos/maxmind/libmaxminddb/deployments","created_at":"2013-03-19T16:09:00Z","updated_at":"2016-03-14T17:12:13Z","pushed_at":"2016-03-15T19:51:20Z","git_url":"git://github.com/maxmind/libmaxminddb.git","ssh_url":"git@github.com:maxmind/libmaxminddb.git","clone_url":"https://github.com/maxmind/libmaxminddb.git","svn_url":"https://github.com/maxmind/libmaxminddb","homepage":"http://maxmind.github.io/libmaxminddb/","size":1882,"stargazers_count":125,"watchers_count":125,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":50,"mirror_url":null,"open_issues_count":4,"forks":50,"open_issues":4,"watchers":125,"default_branch":"master"}},"base":{"label":"maxmind:master","ref":"master","sha":"a46eb85d4074fb50fbbd7ffac975fd646967461e","user":{"login":"maxmind","id":1181834,"avatar_url":"https://avatars.githubusercontent.com/u/1181834?v=3","gravatar_id":"","url":"https://api.github.com/users/maxmind","html_url":"https://github.com/maxmind","followers_url":"https://api.github.com/users/maxmind/followers","following_url":"https://api.github.com/users/maxmind/following{/other_user}","gists_url":"https://api.github.com/users/maxmind/gists{/gist_id}","starred_url":"https://api.github.com/users/maxmind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxmind/subscriptions","organizations_url":"https://api.github.com/users/maxmind/orgs","repos_url":"https://api.github.com/users/maxmind/repos","events_url":"https://api.github.com/users/maxmind/events{/privacy}","received_events_url":"https://api.github.com/users/maxmind/received_events","type":"Organization","site_admin":false},"repo":{"id":8882852,"name":"libmaxminddb","full_name":"maxmind/libmaxminddb","owner":{"login":"maxmind","id":1181834,"avatar_url":"https://avatars.githubusercontent.com/u/1181834?v=3","gravatar_id":"","url":"https://api.github.com/users/maxmind","html_url":"https://github.com/maxmind","followers_url":"https://api.github.com/users/maxmind/followers","following_url":"https://api.github.com/users/maxmind/following{/other_user}","gists_url":"https://api.github.com/users/maxmind/gists{/gist_id}","starred_url":"https://api.github.com/users/maxmind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxmind/subscriptions","organizations_url":"https://api.github.com/users/maxmind/orgs","repos_url":"https://api.github.com/users/maxmind/repos","events_url":"https://api.github.com/users/maxmind/events{/privacy}","received_events_url":"https://api.github.com/users/maxmind/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/maxmind/libmaxminddb","description":"C library for the MaxMind DB file format","fork":false,"url":"https://api.github.com/repos/maxmind/libmaxminddb","forks_url":"https://api.github.com/repos/maxmind/libmaxminddb/forks","keys_url":"https://api.github.com/repos/maxmind/libmaxminddb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maxmind/libmaxminddb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maxmind/libmaxminddb/teams","hooks_url":"https://api.github.com/repos/maxmind/libmaxminddb/hooks","issue_events_url":"https://api.github.com/repos/maxmind/libmaxminddb/issues/events{/number}","events_url":"https://api.github.com/repos/maxmind/libmaxminddb/events","assignees_url":"https://api.github.com/repos/maxmind/libmaxminddb/assignees{/user}","branches_url":"https://api.github.com/repos/maxmind/libmaxminddb/branches{/branch}","tags_url":"https://api.github.com/repos/maxmind/libmaxminddb/tags","blobs_url":"https://api.github.com/repos/maxmind/libmaxminddb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maxmind/libmaxminddb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maxmind/libmaxminddb/git/refs{/sha}","trees_url":"https://api.github.com/repos/maxmind/libmaxminddb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maxmind/libmaxminddb/statuses/{sha}","languages_url":"https://api.github.com/repos/maxmind/libmaxminddb/languages","stargazers_url":"https://api.github.com/repos/maxmind/libmaxminddb/stargazers","contributors_url":"https://api.github.com/repos/maxmind/libmaxminddb/contributors","subscribers_url":"https://api.github.com/repos/maxmind/libmaxminddb/subscribers","subscription_url":"https://api.github.com/repos/maxmind/libmaxminddb/subscription","commits_url":"https://api.github.com/repos/maxmind/libmaxminddb/commits{/sha}","git_commits_url":"https://api.github.com/repos/maxmind/libmaxminddb/git/commits{/sha}","comments_url":"https://api.github.com/repos/maxmind/libmaxminddb/comments{/number}","issue_comment_url":"https://api.github.com/repos/maxmind/libmaxminddb/issues/comments{/number}","contents_url":"https://api.github.com/repos/maxmind/libmaxminddb/contents/{+path}","compare_url":"https://api.github.com/repos/maxmind/libmaxminddb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maxmind/libmaxminddb/merges","archive_url":"https://api.github.com/repos/maxmind/libmaxminddb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maxmind/libmaxminddb/downloads","issues_url":"https://api.github.com/repos/maxmind/libmaxminddb/issues{/number}","pulls_url":"https://api.github.com/repos/maxmind/libmaxminddb/pulls{/number}","milestones_url":"https://api.github.com/repos/maxmind/libmaxminddb/milestones{/number}","notifications_url":"https://api.github.com/repos/maxmind/libmaxminddb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maxmind/libmaxminddb/labels{/name}","releases_url":"https://api.github.com/repos/maxmind/libmaxminddb/releases{/id}","deployments_url":"https://api.github.com/repos/maxmind/libmaxminddb/deployments","created_at":"2013-03-19T16:09:00Z","updated_at":"2016-03-14T17:12:13Z","pushed_at":"2016-03-15T19:51:20Z","git_url":"git://github.com/maxmind/libmaxminddb.git","ssh_url":"git@github.com:maxmind/libmaxminddb.git","clone_url":"https://github.com/maxmind/libmaxminddb.git","svn_url":"https://github.com/maxmind/libmaxminddb","homepage":"http://maxmind.github.io/libmaxminddb/","size":1882,"stargazers_count":125,"watchers_count":125,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":50,"mirror_url":null,"open_issues_count":4,"forks":50,"open_issues":4,"watchers":125,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/maxmind/libmaxminddb/pulls/109"},"html":{"href":"https://github.com/maxmind/libmaxminddb/pull/109"},"issue":{"href":"https://api.github.com/repos/maxmind/libmaxminddb/issues/109"},"comments":{"href":"https://api.github.com/repos/maxmind/libmaxminddb/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/maxmind/libmaxminddb/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/maxmind/libmaxminddb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maxmind/libmaxminddb/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/maxmind/libmaxminddb/statuses/fd6cfec1357f923234b3e479c1ef76ef0ad9dea8"}}}}