{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "fixed in Changeset &#35;43350 ",
    "ClosedDate": "2009-09-15T13:03:17.59-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "When using the DeflateStream class with a short string (10 characters) and any flushmode the code crashes with an OverflowException. The environment used is the Windows Mobile Professional emulator (latest version 3) with Windows Mobile 6.\n \nThe code crashes in Deflate.cs at the method put_short and put_shortMSB and also in Tree,cs at gen_codes.\nAl crashes have to do with explicit casts from int to byte (in put_short...) and from int into short in gen_codes.\n \nThe problem with the fist two can be avoided by using the following code:\nOriginal:\n\tput_byte(((byte)(b >> 8)));\n        put_byte(b);\n \nModified:\n\tput_byte(((byte)(b >> 8)));\n\tbyte byteTwo = (byte)(b % 256);\n\tput_byte(byteTwo);\n \nI haven't repaired the code in gen_codes yet (but about the same problem/solution).\n \nHas anyone tested the code on the NETCF 2.0 framework yet incorporating the code into your own DLL? It seems there are some issues with it...\n \nRegards,\nArjen",
    "LastUpdatedDate": "2013-05-16T05:32:17.093-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2009-06-22T17:03:01.663-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Version 1.7 code gives OverflowException on Compact Framework (NETCF) 2.0 on Emulator with WM 6.0",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 7925
  },
  "FileAttachments": [],
  "Comments": []
}