This PR adds a max routing info length check to prevent a crash if a payment path is passed in that exceeds this size.
Furthermore the NumMaxHops constant is increased to accommodate for the smaller tlv payloads. This prevents out of bounds errors when using the PaymentPath struct.
This PR adds a max routing info length check to prevent a crash if a payment path is passed in that exceeds this size.
Furthermore the
NumMaxHops
constant is increased to accommodate for the smaller tlv payloads. This prevents out of bounds errors when using thePaymentPath
struct.