Skip to content

Reject malformed UTxO output indexes#835

Open
samsamtrum wants to merge 1 commit into
MeshJS:mainfrom
samsamtrum:reject-malformed-utxo-indexes
Open

Reject malformed UTxO output indexes#835
samsamtrum wants to merge 1 commit into
MeshJS:mainfrom
samsamtrum:reject-malformed-utxo-indexes

Conversation

@samsamtrum

@samsamtrum samsamtrum commented Jun 24, 2026

Copy link
Copy Markdown

getRequiredInputs parsed UTxO output indexes with parseInt, so values like 1abc were accepted as 1.

This validates the parsed output index as a decimal nonnegative integer before converting it, and adds coverage for malformed and valid indexes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant