{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "Fixed in change set 24430.  This fix will be in the next v1.6 preview release and will be in the v1.6 final release.",
    "ClosedDate": "2008-09-16T14:48:13.487-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "When a empty zip file (0 byte) by error is read by Zipfile.Read(string) ,an exception is thrown and control returned to calling application. The problem then is that the file is still locked by Zipfile. Calling Zipfile.dispose fails due to broken connection to the Zipfile object.\nWhen running into files with error I have made a handler witch moves the file to a Error folder, so that the program log does not report same error every time this file is picked up.\nThe sollution would be to close opened file when exception i thrown in the Zipfile object. \nI see that a validation function is coming in next release, but still it would make sense to close files at excepiton.\n \nThe exception is thrown by _ReadFourBytes when called by ReadSignature function.",
    "LastUpdatedDate": "2013-05-16T05:32:39.26-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2008-09-12T07:39:31.76-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "File locking not released at exception",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 6147
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "I agree, it makes sense to dispose the file in the event of exception in ZipFile.Read().",
      "PostedDate": "2008-09-16T14:02:44.99-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2008-09-16T14:48:13.487-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:44:41.297-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:32:39.26-07:00",
      "Id": -2147483648
    }
  ]
}