bitcoindevkit / bitcoindevkit/bdk-ffi

Prevent numeric input truncation on 32 bit Android

Open
#1,100 0 comments 0 reactions 0 assignees View on GitHub
api-break
Dominant language
Rust
Stars
127
Forks
81
Avg merge
1d 2h
Merged PRs (30d)
5

Description

Several exported u64 inputs are converted to usize with `as`, silently truncating values above u32::MAX in packaged 32 bit Android artifacts.

(bdk-android documents 32 bit architectures as unsupported but still packages armeabi-v7a, so this could be p simple)

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the exported u64 inputs that are converted to usize with `as`, then inspect how they are packaged for 32-bit Android, particularly armeabi-v7a. Reproduce values above u32::MAX and verify that the resulting Android artifacts preserve the full input value without truncation.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, rust
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.