-
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.
Ensure fields are always initialized in TLVWriters (#30876)
* Ensure fields are always initialized in TLVWriters - It was found through static analysis that in some cases, TLVWriters did not have all fields initialized and this led to no errors, but possibly could lead to bad states. - None of the code making use of uninitialized TLVWriters was found in the SDK, but there may be usages. - In adding the checks, marked several areas that could be improved in TLVWriter data access/management. Issue #30825 Testing done: - All tests still pass. - There is never uninitialized used of a TLVWriter. --------- Co-authored-by: [email protected] <[email protected]> Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
1 parent
86b53e1
commit 6e2aa2b
Showing
4 changed files
with
420 additions
and
25 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
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
Oops, something went wrong.