Wyatt Hepler
Wyatt Hepler
Thank you for these contributions! As mentioned by @AnthonyDiGirolamo, all Pigweed development occurs in our Gerrit instance. We can't take GitHub pull requests at this time, so I'll close this...
@TrellixVulnTeam, thank you for this PR! We greatly appreciate the help. Currently, all Pigweed development occurs in our Gerrit instance at https://pigweed-review.googlesource.com/. We can't take GitHub pull requests at this...
Pigweed's recommended workaround is to use `pw::InlineString` to create a local null-terminated copy of the string. For example: ```c++ ChipLogError(Zcl, "Invalid country code: '%s'", pw::InlineString(location).c_str()); ``` See pw_tokenizer's [length-delimited strings](https://pigweed.dev/pw_tokenizer/tokenization.html#length-delimited-strings)...
The non-type template parameter for `pw::InlineString` is the maximum size of the string, not the actual size. You can pick any value that you know will be large enough, e.g....