commit | c04a08ede6e88cf0bd112999a305619cc89c53ff | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Tue Aug 08 21:27:50 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 08 21:27:50 2023 +0000 |
tree | 4b06ab59de67ba7e9e807f389aa78b5529de529c | |
parent | e6ffe7742b67fbdabf044c5ca015f931cdb3a62f [diff] |
pw_log_zephyr: Fix null termination of Base64 messages Encode tokenized messages to pw::InlineString so the output is always null terminated. The char buffer overloads of pw::tokenizer::PrefixedBase64Encode() does not null terminate. Also, rename the EOT variable to match style guide. Change-Id: I7dc0aa5d6afadb41b723f311cfec442336e7a181 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/163650 Reviewed-by: Armando Montanez <amontanez@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com> Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.