Make uuid_from_string() reject a string of the correct length but having a
authorkrw <krw@openbsd.org>
Mon, 30 Aug 2021 20:41:33 +0000 (20:41 +0000)
committerkrw <krw@openbsd.org>
Mon, 30 Aug 2021 20:41:33 +0000 (20:41 +0000)
commitde5f08411e7a3c851667ded0d975da233f5991cb
treee7c857a04acdd2ec3548473e152cec36dec6f456
parentede24f484b61025951eb06afde4f0e6f56810f24
Make uuid_from_string() reject a string of the correct length but having a
non-hex digit in the last character.

Inspired by code in uuid_parse() from Ted Ts'o.

ok millert@
lib/libc/uuid/uuid_from_string.c