[OPNFLWPLUG-38] Constructing BigInteger from byte array may render into -1 Created: 20/Jan/14  Updated: 27/Sep/21  Resolved: 20/Jan/14

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Michal Rehak Assignee: Michal Rehak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: PC


External issue ID: 330

 Description   

Creating BigInteger out of byte[] may result into -1 value in case that the leading bit (with lowest address) equals to 1.

Affected areas:

  • mostly metadata + mask
  • cookies in flow
  • all uint64 values, passed as byte[]


 Comments   
Comment by Michal Rehak [ 20/Jan/14 ]

Fixed (earlier) by
https://git.opendaylight.org/gerrit/#/c/4276/

Generated at Wed Feb 07 20:31:25 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.