View Issue Details

IDProjectCategoryView StatusLast Update
0000688savapage-core[All Projects] Generalpublic2016-08-01 20:32
ReporterrijkrAssigned Torijkr 
PrioritynormalSeveritymajorReproducibilitysometimes
Status closedResolutionfixed 
Product Version0.9.10 
Target Version0.9.11Fixed in Version0.9.11 
Summary0000688: Fix error when decoding negative IPP int32 values
DescriptionIST: 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
TagsNo tags attached.

Relationships

related to 0000609 closedrijkr savapage-core Fix NumberFormatException for IPP 4-byte integer 0xFFFFFFFD 

Activities

There are no notes attached to this issue.

Issue History

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