Fix off-by-one error in UdtCodec

Description

The check that there are not too many fields uses the wrong bound:

The code hits an ArrayIndexOutOfBoundsException before the condition is ever reached.

Environment

None

Pull Requests

None
Fixed

Assignee

Alex Dutra

Reporter

Olivier Michallat

Fix versions