{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "fixed in changeset 79591.  First binary to get this fix&#58;  v1.9.1.6",
    "ClosedDate": "2011-06-21T19:58:59.027-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "From http://dotnetzip.codeplex.com/discussions/261961\n \nI think that a malformed zip file should throw ZipException or BadReadException when calling ZipFile.Read().  The following code throws an IOException with the message \"An attempt was made to move the file pointer before the beginning of the file.\"\n \nStack Trace:\nat System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.SeekCore(Int64 offset, SeekOrigin origin) at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin) at Ionic.Zip.ZipFile.ReadIntoInstance(ZipFile zf) at Ionic.Zip.ZipFile.Read(String fileName, TextWriter statusMessageWriter,  Encoding  encoding, EventHandler`1 readProgress) \n \nrepro:\n \nstring filePath = Path.GetTempFileName();\nFile.WriteAllText( filePath , \"asdfasdf\" );\nstring outputDirectory = Path.GetTempPath();\nusing ( ZipFile zipFile = ZipFile.Read( filePath ) )\n{\n     zipFile.ExtractAll( outputDirectory  ); }",
    "LastUpdatedDate": "2013-05-16T05:31:34.513-07:00",
    "PlannedForRelease": "v1.9.1.8 DotNetZip - Latest Stable",
    "ReleaseVisibleToPublic": true,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2011-06-21T19:57:30.2-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Malformed zip file should throw ZipException or BadReadException, not IOException",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 13710
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "I think you're right.",
      "PostedDate": "2011-06-21T19:57:45.983-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2011-06-21T19:58:16.203-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2011-06-21T19:58:59.027-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:43:11.27-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:31:34.513-07:00",
      "Id": -2147483648
    }
  ]
}