-
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.
Remove several direct uses of TLVWriter::mWritePoint (#31770)
* Remove several direct uses of TLVWriter::mWritePoint - Remove all writing to mWritePoint that occur outside of WriteData - Remove unsafe usage of CONFIG_HAVE_VSNPRINTF_EX - Does not impact public API as it was one underlying possible optimization, and the remaining code would work. Also, not used in SDK at all. - Removed secondary paths that were potentially unsafe in TLVWriter::WriteElementHead Fixes #31769 Testing done: - All existing unit tests still pass. - Only removed and non-functionally-refactored code. * Restyled by clang-format * Update src/lib/core/TLVWriter.cpp Co-authored-by: Kevin Schoedel <[email protected]> --------- Co-authored-by: [email protected] <[email protected]> Co-authored-by: Restyled.io <[email protected]> Co-authored-by: Kevin Schoedel <[email protected]>
- Loading branch information
Showing
2 changed files
with
11 additions
and
59 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