{"action":"created","issue":{"url":"https://api.github.com/repos/martinrybak/SQLClient/issues/21","labels_url":"https://api.github.com/repos/martinrybak/SQLClient/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/martinrybak/SQLClient/issues/21/comments","events_url":"https://api.github.com/repos/martinrybak/SQLClient/issues/21/events","html_url":"https://github.com/martinrybak/SQLClient/pull/21","id":53601824,"number":21,"title":"Solved Issue #17: Fetching image data","user":{"login":"aksh1t","id":1097857,"avatar_url":"https://avatars.githubusercontent.com/u/1097857?v=3","gravatar_id":"","url":"https://api.github.com/users/aksh1t","html_url":"https://github.com/aksh1t","followers_url":"https://api.github.com/users/aksh1t/followers","following_url":"https://api.github.com/users/aksh1t/following{/other_user}","gists_url":"https://api.github.com/users/aksh1t/gists{/gist_id}","starred_url":"https://api.github.com/users/aksh1t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aksh1t/subscriptions","organizations_url":"https://api.github.com/users/aksh1t/orgs","repos_url":"https://api.github.com/users/aksh1t/repos","events_url":"https://api.github.com/users/aksh1t/events{/privacy}","received_events_url":"https://api.github.com/users/aksh1t/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-07T06:24:26Z","updated_at":"2015-08-14T14:27:43Z","closed_at":"2015-08-14T14:27:43Z","pull_request":{"url":"https://api.github.com/repos/martinrybak/SQLClient/pulls/21","html_url":"https://github.com/martinrybak/SQLClient/pull/21","diff_url":"https://github.com/martinrybak/SQLClient/pull/21.diff","patch_url":"https://github.com/martinrybak/SQLClient/pull/21.patch"},"body":"Solved Issue#17.\r\n\r\nThe buffer size for IMAGE data (type = SYBIMAGE) was too small and used to cause buffer overflow error. On searching the documentation on FreeTDS, I found this: http://www.freetds.org/userguide/samplecode.htm#AEN6127\r\n\r\nCheck out the second item in Notes at the end. It says we need double buffer for SYBIMAGE type. And I added the conversion from hexadecimal array to UIImage at the end, so that the value will be a UIImage."},"comment":{"url":"https://api.github.com/repos/martinrybak/SQLClient/issues/comments/131122295","html_url":"https://github.com/martinrybak/SQLClient/pull/21#issuecomment-131122295","issue_url":"https://api.github.com/repos/martinrybak/SQLClient/issues/21","id":131122295,"user":{"login":"martinrybak","id":2292792,"avatar_url":"https://avatars.githubusercontent.com/u/2292792?v=3","gravatar_id":"","url":"https://api.github.com/users/martinrybak","html_url":"https://github.com/martinrybak","followers_url":"https://api.github.com/users/martinrybak/followers","following_url":"https://api.github.com/users/martinrybak/following{/other_user}","gists_url":"https://api.github.com/users/martinrybak/gists{/gist_id}","starred_url":"https://api.github.com/users/martinrybak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinrybak/subscriptions","organizations_url":"https://api.github.com/users/martinrybak/orgs","repos_url":"https://api.github.com/users/martinrybak/repos","events_url":"https://api.github.com/users/martinrybak/events{/privacy}","received_events_url":"https://api.github.com/users/martinrybak/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T14:27:43Z","updated_at":"2015-08-14T14:27:43Z","body":"Thanks!"}}