Fields like xdr.SetOptionsOp.HomeDomain have restrictions on size, but at run-time nothing prevents them from being set too large, which causes transaction_malformed errors.
It looks like the XDR library has defined sizes which can be checked (e.g. this one for homeDomain strings). They just need to be checked.
@bartekn Does that sound right to you?
Fields like
xdr.SetOptionsOp.HomeDomainhave restrictions on size, but at run-time nothing prevents them from being set too large, which causestransaction_malformederrors.It looks like the XDR library has defined sizes which can be checked (e.g. this one for
homeDomainstrings). They just need to be checked.@bartekn Does that sound right to you?