{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "",
    "ClosedDate": null,
    "CommentCount": 0,
    "Custom": null,
    "Description": "Using GZipStream from DotNetZip to decompress a response from IIS 7.x (HttpWebResponse) with activated gzip compression (Content-Encoding: gzip)\ndoes not recognize data corruption in the stream.\n \nI've been testing a lot of compression stuff in the last days and all went well so far. Then i came to the idea to test out the crc check of the data. I have saved the gzip compressed response received from iis to a file (without decompressing it). After i had manipulated those data with a hex editor i opened the file in my program and used GZipStream to decompress it which runs without an error thrown. In that case i had expected to get an exception thrown or something else which indicates that the data is not correct.\n \nI then used the same compressed file now using the stream implementation from System.IO.Compression.GZipStream, run the same test and it threw an exception with the message \"The CRC in GZip footer does not match the CRC calculated from the decompressed data\"\n \nIt seems to be that DotNetZip is either not checking those CRC or there is an bug which lets the decompression run without any error.\n \nAttached the compressed file i used to test the library.",
    "LastUpdatedDate": "2013-02-21T18:42:50.697-08:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2012-05-18T00:06:22.513-07:00",
    "Status": {
      "Name": "Proposed",
      "Id": 1
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "GZipStream does not detect corrupted data",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 15175
  },
  "FileAttachments": [
    {
      "FileId": 4383,
      "FileName": "compressed.file.gzip",
      "DownloadUrl": ".\\4383"
    }
  ],
  "Comments": [
    {
      "Message": "After i had continued my test i detected that if Dispose() is called upon the GZipStream the CRC is checked and a ZlibException is thrown. But still i think thats not the right place for the verification of uncompressed data. I would recommend to include the verification in the read method when the end of the stream is reached. System.IO.Compression.GZipStream throws the exception on the last call to Read().",
      "PostedDate": "2012-05-18T01:20:31.08-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:42:50.697-08:00",
      "Id": -2147483648
    }
  ]
}