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

Default values for fixed can be longer than size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • java
    • None

    Description

      A value longer than the specified size can be put into "default" property of a "fixed" field.

      Behaviour in this case is not documented.

      This should either be forbidden or documented. Even adding a UB warning in the documentation would be better than the current situation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            roman.mitasov Roman Mitasov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: