-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Accessors getters for nullable string/octstr attributes. (#32830)
Callers have to pass a Nullable<Span> that already points to the buffer to fill. But we were calling SetNonNull(), which reset the Nullable to point to an empty span, after which copying the data in of course failed. The right thing to do is to ensure that the Nullable has a value, then use that value.
- Loading branch information
1 parent
bcf2a7a
commit 35d3a25
Showing
2 changed files
with
66 additions
and
9 deletions.
There are no files selected for viewing
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
65 changes: 57 additions & 8 deletions
65
zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.