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

logic analyzer: fix annotation empty string causing infinite loop (apply fix to dev) #1837

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

Adrian-Stanea
Copy link
Contributor

  • Apply bugfix commit 619458f from main to dev

- Handle the edge case where an empty string passed to the shortenAnnotationText
function causes an infinite loop.
This fix ensures that the function returns the extension ("...") when the
text is empty or the maxWidth is too small to fit the extension.

Signed-off-by: Adrian Stanea <[email protected]>
@AlexandraTrifan AlexandraTrifan merged commit ad538e5 into dev Nov 25, 2024
27 checks passed
@AlexandraTrifan AlexandraTrifan deleted the bugFix_decoder_ann_dev branch November 25, 2024 14:57
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.

2 participants