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

Fix: BMDA remote protocol writes #1669

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Conversation

dragonmux
Copy link
Member

@dragonmux dragonmux commented Nov 2, 2023

Detailed description

This PR fixes a bug in platform_buffer_write() for Windows which would make wrongly it skip chunks of the buffer to write, corrupting the message to send.

This should probably be backported to v1.10 and v1.9.

This bug was introduced in v1.9.0-rc0.

Your checklist for this pull request

  • I've read the Code of Conduct
  • I've read the guidelines for contributing to this repository
  • It builds for hardware native (make PROBE_HOST=native)
  • It builds as BMDA (make PROBE_HOST=hosted)
  • I've tested it to the best of my ability
  • My commit messages provide a useful short description of what the commits do

Closing issues

… which would make wrongly it skip chunks of the buffer to write, corrupting the message to send
@dragonmux dragonmux added this to the v2.0 release milestone Nov 2, 2023
@dragonmux dragonmux requested a review from esden November 2, 2023 18:05
@dragonmux dragonmux added Bug Confirmed bug BMD App Black Magic Debug App (aka. PC hosted) (not firmware) Regression Bug caused by a regression labels Nov 2, 2023
Copy link
Member

@esden esden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and yes this should be backported to 1.9 series.

@esden esden merged commit f33af05 into main Nov 13, 2023
6 checks passed
@dragonmux dragonmux deleted the fix/bmda-remote-protocol-write branch November 13, 2023 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BMD App Black Magic Debug App (aka. PC hosted) (not firmware) Bug Confirmed bug Regression Bug caused by a regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants