Closed mniestroj closed 1 year ago
Visit the preview URL for this PR (updated for commit aaa91be):
https://golioth-zephyr-sdk-doxygen-dev--pr348-zsock-setsockopt-5qd3gbrb.web.app
(expires Tue, 14 Mar 2023 12:53:12 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: a389eefadf4b4b68a539327b3459dd66c142cf49
aaa91be5860fc66dc10aad6d36b9daa6b44e1325:9: WARNING:UNKNOWN_COMMIT_ID: Unknown commit id '4234e801b544', maybe rebased or not pulled?
is a false-positive in this context. This commit sha1 is from Zephyr upstream, not from this repo. It is explicitly stated so.
zsock_setsockopt()
expects to receiveNULL
terminated string and length of the string includingNULL
termination. Adjust code to follow that.See Zephyr upstream commit 4234e801b544 ("net: sockets: Fix TLS_HOSTNAME option length inconsistency") for details.