pw_tokenizer: Check _pool before using it test_invalid_domain_specification causes an exception to occur before allocating _pool. Check if _pool is allocated before using it. Change-Id: I0cf9047d8a2f04e0eaeca44f7a579f70bdf0af80 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/252813 Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Commit-Queue: Al Semjonovs <asemjonovs@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com> Pigweed-Auto-Submit: Al Semjonovs <asemjonovs@google.com> Docs-Not-Needed: 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/.