Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3819

[Java] Rationalize the system properties that limit allocation

    XMLWordPrintableJSON

Details

    Description

      There are currently some system properties that limit datum allocation size:

      • org.apache.avro.limits.byte.maxLength
      • org.apache.avro.limits.string.maxLength

      These are hidden in two different classes (Utf8 and BinaryDecoder). It would make sense to centralize them in one place to make it clearer how to limit the damage untrusted data could do while deserializing.

      Attachments

        Activity

          People

            rskraba Ryan Skraba
            rskraba Ryan Skraba
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h