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

Make sure we don't trash our userinfo after we get it and before we send it. (v1.1 cherry-pick of PR 26373) #26421

Conversation

bzbarsky-apple
Copy link
Contributor

findOccupiedUserSlot can end up overwriting some of the buffers that emberAfPluginDoorLockGetUser uses, so we need to make sure we call findOccupiedUserSlot before emberAfPluginDoorLockGetUser (or after we are done using the output from emberAfPluginDoorLockGetUser).

…end it. (project-chip#26373)

findOccupiedUserSlot can end up overwriting some of the buffers that
emberAfPluginDoorLockGetUser uses, so we need to make sure we call
findOccupiedUserSlot before emberAfPluginDoorLockGetUser (or after we are done
using the output from emberAfPluginDoorLockGetUser).
@github-actions
Copy link

github-actions bot commented May 8, 2023

PR #26421: Size comparison from 4ff8bc7 to c32680c

Increases (1 build for cc32xx)
platform target config section 4ff8bc7 c32680c change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 19517926 19517935 9 0.0
.debug_line 2665363 2665366 3 0.0
.debug_loclists 1487328 1487366 38 0.0
Decreases (1 build for cc32xx)
platform target config section 4ff8bc7 c32680c change % change
cc32xx lock CC3235SF_LAUNCHXL (read only) 604658 604642 -16 -0.0
.text 498220 498204 -16 -0.0
Full report (1 build for cc32xx)
platform target config section 4ff8bc7 c32680c change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 604658 604642 -16 -0.0
(read/write) 204164 204164 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197576 197576 0 0.0
.comment 206 206 0 0.0
.data 1468 1468 0 0.0
.debug_abbrev 957395 957395 0 0.0
.debug_aranges 101088 101088 0 0.0
.debug_frame 341264 341264 0 0.0
.debug_info 19517926 19517935 9 0.0
.debug_line 2665363 2665366 3 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1487328 1487366 38 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 94263 94263 0 0.0
.debug_str 3069025 3069025 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104314 104314 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 480862 480862 0 0.0
.symtab 287232 287232 0 0.0
.text 498220 498204 -16 -0.0

@andy31415
Copy link
Contributor

Cherrypick of #26373 (added comment to get a link in PRs)

@andy31415 andy31415 merged commit 23e69c3 into project-chip:v1.1-branch May 8, 2023
@bzbarsky-apple bzbarsky-apple deleted the cherrypick-e52319383525efbd30ca2adf874ed4eb624d0f3c branch May 8, 2023 18:24
Damian-Nordic pushed a commit to Damian-Nordic/connectedhomeip that referenced this pull request Jun 1, 2023
…and before we send it. (project-chip#26373) (project-chip#26421)

findOccupiedUserSlot can end up overwriting some of the buffers that
emberAfPluginDoorLockGetUser uses, so we need to make sure we call
findOccupiedUserSlot before emberAfPluginDoorLockGetUser (or after we are done
using the output from emberAfPluginDoorLockGetUser).

cherry-picked from: 23e69c3
maciejbaczmanski pushed a commit to maciejbaczmanski/connectedhomeip that referenced this pull request Jul 15, 2024
…and before we send it. (project-chip#26373) (project-chip#26421)

findOccupiedUserSlot can end up overwriting some of the buffers that
emberAfPluginDoorLockGetUser uses, so we need to make sure we call
findOccupiedUserSlot before emberAfPluginDoorLockGetUser (or after we are done
using the output from emberAfPluginDoorLockGetUser).

cherry-picked from: 23e69c3
maciejbaczmanski pushed a commit to maciejbaczmanski/connectedhomeip that referenced this pull request Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants