Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-38

Constructing BigInteger from byte array may render into -1

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: PC

    • 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[]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            michal.rehak Michal Rehak
            michal.rehak Michal Rehak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: