Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-8892

Index build of a key with a key+payload >16bits, causes invalid key max length errors on read.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.10.8
    • JHTree
    • None

    Description

      From 3.8.x the key building code has validated that key+payload is smaller than than the max key length.

      The max key length in the header (for legacy reasons) is a 2 byte field, as a consequence a key+payload length >16bits, caused overflow and an invalid [small] result.

      The net result was a spurious "key+payload .. exceeds max length .." error.

      Attachments

        Activity

          People

            jakesmith Jake Smith
            jakesmith Jake Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: