Skip to content

Fix potential IndexError in _convert_pbn for short PBN deal strings.#186

Open
tameware wants to merge 2 commits into
dds-bridge:developfrom
tameware:fix-python-example
Open

Fix potential IndexError in _convert_pbn for short PBN deal strings.#186
tameware wants to merge 2 commits into
dds-bridge:developfrom
tameware:fix-python-example

Conversation

@tameware

Copy link
Copy Markdown
Contributor

No description provided.

tameware and others added 2 commits June 11, 2026 20:00
Check bp < len(pbn_deal) before indexing while scanning for the dealer
letter, and return early when the string ends before a direction is found.

Co-authored-by: Cursor <[email protected]>
@tameware tameware marked this pull request as ready for review June 12, 2026 21:37
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