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, rust

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:

                Time Tracking

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