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

st-probe: Fix segfault when programmer is already busy #394

Merged
merged 1 commit into from
Apr 7, 2016
Merged

st-probe: Fix segfault when programmer is already busy #394

merged 1 commit into from
Apr 7, 2016

Conversation

xor-gate
Copy link
Member

@xor-gate xor-gate commented Apr 7, 2016

With addition of st-probe, it was not previously tested when programmers are already busy. The stlink_open_usb then passes a null pointer into the list of programmers. Then on-close it segfaults on the NULL pointer. With this PR it is hardended against NULL pointers.

@texane texane merged commit 3cd9cbb into stlink-org:master Apr 7, 2016
@Nightwalker-87 Nightwalker-87 added this to the v1.2.0 and older milestone Mar 16, 2020
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Apr 14, 2020
@Nightwalker-87 Nightwalker-87 linked an issue May 27, 2020 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

st-util segfaults when printing array in gdb
3 participants