Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.12.3, 0.13.0, 0.14.0
    • Fix Version/s: 0.14.0
    • Component/s: io
    • Labels:
      None

      Description

      When getTypes() returns more than 127 entries, read of classes with index > 127 will fail.

        public void readFields(DataInput in) throws IOException {
          type = in.readByte();
          Class clazz = getTypes()[type];
          ...
        }
      
        public void readFields(DataInput in) throws IOException {
          type = in.readByte();
          Class clazz = getTypes()[type & 0xff];
          ...
        }
      
      1. GenericWritable.patch
        0.5 kB
        Espen Amble Kolstad

        Activity

          People

          • Assignee:
            Espen Amble Kolstad
            Reporter:
            Espen Amble Kolstad
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development