{"action":"created","issue":{"url":"https://api.github.com/repos/MailCore/mailcore2/issues/1317","labels_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1317/labels{/name}","comments_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1317/comments","events_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1317/events","html_url":"https://github.com/MailCore/mailcore2/issues/1317","id":123036330,"number":1317,"title":"iOS crash in mailmessage_get_bodystructure","user":{"login":"gc179","id":13775381,"avatar_url":"https://avatars.githubusercontent.com/u/13775381?v=3","gravatar_id":"","url":"https://api.github.com/users/gc179","html_url":"https://github.com/gc179","followers_url":"https://api.github.com/users/gc179/followers","following_url":"https://api.github.com/users/gc179/following{/other_user}","gists_url":"https://api.github.com/users/gc179/gists{/gist_id}","starred_url":"https://api.github.com/users/gc179/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gc179/subscriptions","organizations_url":"https://api.github.com/users/gc179/orgs","repos_url":"https://api.github.com/users/gc179/repos","events_url":"https://api.github.com/users/gc179/events{/privacy}","received_events_url":"https://api.github.com/users/gc179/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-18T22:23:33Z","updated_at":"2015-12-18T22:46:22Z","closed_at":"2015-12-18T22:46:22Z","body":"I'm fetching an IMAP message and checking for error or nil data then calling [MCOMessageParser messageParserWithData:data].\r\n\r\nI've gotten a few crash reports, all seemingly from the same user and possibly the same message.\r\n\r\nThe crash appears to be in mail message_get_bodystructure in libetpan.\r\n\r\nUnfortunately I do not have the source of the message in question since it's a crash report from Apple.\r\n\r\nOne question in particular, am I using the correct/latest version of libetpan? My project's buildetpan-ios.sh looks like this: (I haven't changed it myself)\r\n\r\n#!/bin/sh\r\n\r\npushd \"`dirname \"$0\"`\" > /dev/null\r\nscriptpath=\"`pwd`\"\r\npopd > /dev/null\r\n\r\n. \"$scriptpath/include.sh/build-dep.sh\"\r\n\r\nurl=\"https://github.com/dinhviethoa/libetpan.git\"\r\nrev=9d88f56dde0eb709161814d7483af7a500ab8fac\r\nname=\"libetpan-ios\"\r\nxcode_target=\"libetpan ios\"\r\nxcode_project=\"libetpan.xcodeproj\"\r\nlibrary=\"libetpan-ios.a\"\r\nembedded_deps=\"libsasl-ios\"\r\n\r\nbuild_git_ios\r\n\r\nThanks for any help."},"comment":{"url":"https://api.github.com/repos/MailCore/mailcore2/issues/comments/165914086","html_url":"https://github.com/MailCore/mailcore2/issues/1317#issuecomment-165914086","issue_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1317","id":165914086,"user":{"login":"dinhviethoa","id":332168,"avatar_url":"https://avatars.githubusercontent.com/u/332168?v=3","gravatar_id":"","url":"https://api.github.com/users/dinhviethoa","html_url":"https://github.com/dinhviethoa","followers_url":"https://api.github.com/users/dinhviethoa/followers","following_url":"https://api.github.com/users/dinhviethoa/following{/other_user}","gists_url":"https://api.github.com/users/dinhviethoa/gists{/gist_id}","starred_url":"https://api.github.com/users/dinhviethoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinhviethoa/subscriptions","organizations_url":"https://api.github.com/users/dinhviethoa/orgs","repos_url":"https://api.github.com/users/dinhviethoa/repos","events_url":"https://api.github.com/users/dinhviethoa/events{/privacy}","received_events_url":"https://api.github.com/users/dinhviethoa/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T22:46:22Z","updated_at":"2015-12-18T22:46:22Z","body":"I can't help if you don't have the message or the detailed crash report.\r\nPlease reopen if you can add more details.\r\n"}}