Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kbl-c2a: SpacePacketの長さが426の時to_aos_tfでsubtract with overflowが発生する #91

Open
kobkaz opened this issue May 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kobkaz
Copy link
Contributor

kobkaz commented May 26, 2024

ここでsubtract with oveflowになる

aos_tf.extend_from_slice(&((idle_data_len - 1) as u16).to_be_bytes());

releaseモードで実行するとパケットの後にゴミデータが付加(詳細不明)され、gaiaがゴミデータを「とても長いパケットのPrimaryHeader」であると解釈することで、正常なパケット受け取りができなくなる

@kobkaz kobkaz added the bug Something isn't working label May 26, 2024
@KOBA789 KOBA789 self-assigned this Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants