-
Notifications
You must be signed in to change notification settings - Fork 15.5k
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: -Wunsafe-buffer-usage warnings in TaskbarHost::SetThumbarButtons() #44238
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ckerr
added
semver/patch
backwards-compatible bug fixes
target/31-x-y
PR should also be added to the "31-x-y" branch.
target/32-x-y
PR should also be added to the "32-x-y" branch.
target/33-x-y
PR should also be added to the "33-x-y" branch.
labels
Oct 14, 2024
ckerr
force-pushed
the
fix/Wunsafe-buffer-usage-warnings-in-TaskbarHost
branch
from
October 15, 2024 03:14
708d6f9
to
c5e673b
Compare
codebytere
approved these changes
Oct 15, 2024
github-actions
bot
added
the
target/34-x-y
PR should also be added to the "34-x-y" branch.
label
Oct 15, 2024
No Release Notes |
I was unable to backport this PR to "32-x-y" cleanly; |
I was unable to backport this PR to "31-x-y" cleanly; |
trop
bot
added
needs-manual-bp/32-x-y
needs-manual-bp/31-x-y
and removed
target/32-x-y
PR should also be added to the "32-x-y" branch.
target/31-x-y
PR should also be added to the "31-x-y" branch.
labels
Oct 15, 2024
This was referenced Oct 15, 2024
I have automatically backported this PR to "34-x-y", please check out #44259 |
trop
bot
added
in-flight/34-x-y
and removed
target/34-x-y
PR should also be added to the "34-x-y" branch.
labels
Oct 15, 2024
I have automatically backported this PR to "33-x-y", please check out #44260 |
trop
bot
added
merged/34-x-y
PR was merged to the "34-x-y" branch.
merged/33-x-y
PR was merged to the "33-x-y" branch.
and removed
target/33-x-y
PR should also be added to the "33-x-y" branch.
in-flight/34-x-y
in-flight/33-x-y
labels
Oct 15, 2024
yangannyx
pushed a commit
to yangannyx/electron
that referenced
this pull request
Oct 21, 2024
…() (electron#44238) * fix: -Wunsafe-buffer-usage warnings in TaskbarHost::SetThumbarButtons() * fixup! fix: -Wunsafe-buffer-usage warning in ChunkedDataPipeReadableStream (electron#44211)
yangannyx
pushed a commit
to yangannyx/electron
that referenced
this pull request
Oct 21, 2024
…() (electron#44238) * fix: -Wunsafe-buffer-usage warnings in TaskbarHost::SetThumbarButtons() * fixup! fix: -Wunsafe-buffer-usage warning in ChunkedDataPipeReadableStream (electron#44211)
yangannyx
pushed a commit
to yangannyx/electron
that referenced
this pull request
Oct 21, 2024
…() (electron#44238) * fix: -Wunsafe-buffer-usage warnings in TaskbarHost::SetThumbarButtons() * fixup! fix: -Wunsafe-buffer-usage warning in ChunkedDataPipeReadableStream (electron#44211)
trop
bot
added
merged/31-x-y
PR was merged to the "31-x-y" branch.
and removed
in-flight/31-x-y
labels
Oct 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
merged/31-x-y
PR was merged to the "31-x-y" branch.
merged/33-x-y
PR was merged to the "33-x-y" branch.
merged/34-x-y
PR was merged to the "34-x-y" branch.
needs-manual-bp/32-x-y
new-pr 🌱
PR opened in the last 24 hours
semver/patch
backwards-compatible bug fixes
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
Part 19 in a series to fix
-Wunsafe-buffer-usage
warnings inshell/
. This PR fixes warnings in an array loop inTaskbarHost::SetThumbarButtons()
by addingconstexpr
andstd::array
so that the compiler has enough info to know that the array index is always valid.Checklist
npm test
passesRelease Notes
Notes: none.