View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000688 | savapage-core | [All Projects] General | public | 2016-05-13 17:21 | 2016-08-01 20:32 |
| Reporter | rijkr | Assigned To | rijkr | ||
| Priority | normal | Severity | major | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.9.10 | ||||
| Target Version | 0.9.11 | Fixed in Version | 0.9.11 | ||
| Summary | 0000688: Fix error when decoding negative IPP int32 values | ||||
| Description | IST: IppEncoder#readInt(final InputStream istr, final int nBytes) uses Integer#parseInt(String, int) with hex string and radix 16 to get the IPP int32 value. However, a NumberFormatException is thrown for IPP 4-byte encoded negative integers, like 0xFFFFFFFF (-1) and 0xFFFFFFFD (-3). SOLL: Use BigInteger#BigInteger(String, int) instead. See http://stackoverflow.com/questions/10681312/converting-from-hex-to-int-in-java | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-05-13 17:21 | rijkr | New Issue | |
| 2016-05-13 17:21 | rijkr | Status | new => assigned |
| 2016-05-13 17:21 | rijkr | Assigned To | => rijkr |
| 2016-05-13 17:25 | rijkr | Relationship added | related to 0000609 |
| 2016-05-13 17:26 | rijkr | Status | assigned => resolved |
| 2016-05-13 17:26 | rijkr | Fixed in Version | => 0.9.11 |
| 2016-05-13 17:26 | rijkr | Resolution | open => fixed |
| 2016-08-01 20:32 | rijkr | Status | resolved => closed |