Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-6521

Thrift should validate SliceRange start and finish lengths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.14, 2.0.4
    • None
    • None
    • Normal

    Description

      To quote benbromhead:

      It appears that Cassandra does not check the length of a column name that is part of a range predicate for a *_slice query before it serialises the slice query to pass to the replicas. Names with a length greater than 0xFFFF cause an assertion error to occur in ByteBufferUtil.writeWithShortLength. This further causes subsequent reads on the node to fail until Cassandra is restarted

      Attachments

        1. 6521.txt
          2 kB
          Aleksey Yeschenko

        Issue Links

          Activity

            People

              benbromhead Ben Bromhead
              benbromhead Ben Bromhead
              Ben Bromhead
              Aleksey Yeschenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: