{"action":"created","issue":{"url":"https://api.github.com/repos/Cyan4973/zstd/issues/37","labels_url":"https://api.github.com/repos/Cyan4973/zstd/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/Cyan4973/zstd/issues/37/comments","events_url":"https://api.github.com/repos/Cyan4973/zstd/issues/37/events","html_url":"https://github.com/Cyan4973/zstd/issues/37","id":91431682,"number":37,"title":"cSize overflow in ZSTD_compressSequences","user":{"login":"BohuTANG","id":172204,"avatar_url":"https://avatars.githubusercontent.com/u/172204?v=3","gravatar_id":"","url":"https://api.github.com/users/BohuTANG","html_url":"https://github.com/BohuTANG","followers_url":"https://api.github.com/users/BohuTANG/followers","following_url":"https://api.github.com/users/BohuTANG/following{/other_user}","gists_url":"https://api.github.com/users/BohuTANG/gists{/gist_id}","starred_url":"https://api.github.com/users/BohuTANG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BohuTANG/subscriptions","organizations_url":"https://api.github.com/users/BohuTANG/orgs","repos_url":"https://api.github.com/users/BohuTANG/repos","events_url":"https://api.github.com/users/BohuTANG/events{/privacy}","received_events_url":"https://api.github.com/users/BohuTANG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-27T08:11:31Z","updated_at":"2015-07-06T03:53:56Z","closed_at":null,"body":"This is with zstd as of commit 765207c54934d478488c236749b01c7d6fc63d70\r\nIn our case(TokuDB), zstd ZSTD_isError returns true sometimes, because:\r\n```\r\n#1  0x0000000000ca8836 in ZSTD_compressSequences (dst=0x2aaac4c0623a \"\\034\", maxDstSize=11084, seqStorePtr=Unhandled dwarf expression opcode 0xf3\r\n)\r\n...\r\nBreakpoint 8, ZSTD_isError (code=18446744073709551615)\r\n```\r\nmy\r\n```\r\nsrcLen=10486\r\ndstLen=11092\r\n```\r\n\r\nI guess it's a bug in zstd to cause cSize to be 2^64 -1."},"comment":{"url":"https://api.github.com/repos/Cyan4973/zstd/issues/comments/118707154","html_url":"https://github.com/Cyan4973/zstd/issues/37#issuecomment-118707154","issue_url":"https://api.github.com/repos/Cyan4973/zstd/issues/37","id":118707154,"user":{"login":"Cyan4973","id":750081,"avatar_url":"https://avatars.githubusercontent.com/u/750081?v=3","gravatar_id":"","url":"https://api.github.com/users/Cyan4973","html_url":"https://github.com/Cyan4973","followers_url":"https://api.github.com/users/Cyan4973/followers","following_url":"https://api.github.com/users/Cyan4973/following{/other_user}","gists_url":"https://api.github.com/users/Cyan4973/gists{/gist_id}","starred_url":"https://api.github.com/users/Cyan4973/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cyan4973/subscriptions","organizations_url":"https://api.github.com/users/Cyan4973/orgs","repos_url":"https://api.github.com/users/Cyan4973/repos","events_url":"https://api.github.com/users/Cyan4973/events{/privacy}","received_events_url":"https://api.github.com/users/Cyan4973/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T03:53:56Z","updated_at":"2015-07-06T03:53:56Z","body":"Without access to a sample to reproduce the issue, I'm not able to tell."}}