msrp
  1. msrp
  2. MSRP-53

Boundary exceptions when message size just above 2048 - header-length.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: beta
    • Fix Version/s: 1.0.4
    • Component/s: None
    • Labels:
      None

      Description

      Transaction.getData() will generate an IndexOutOfBoundsException when the datachunk to get is just above 2048 - header length.

      Sending that message will fail.

        Activity

        Hide
        uijltje added a comment -
        • method now computes correct offset.
        • addition of boundary regression test
          (svn r191).
        Show
        uijltje added a comment - method now computes correct offset. addition of boundary regression test (svn r191).

          People

          • Assignee:
            uijltje
            Reporter:
            uijltje
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1 hour
              1h
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour
              1h