]> git.ipfire.org Git - thirdparty/util-linux.git/commit
uuidparse: nil uuid have all bits set to zero
authorSami Kerola <kerolasa@iki.fi>
Sat, 29 Jul 2017 21:14:34 +0000 (22:14 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sat, 5 Aug 2017 08:58:25 +0000 (09:58 +0100)
commit8cfbd350482cffbfbfbf1edee26226fe00bbc7d7
tree4a0a601c4375beda593094dfc714e0fa9c5a1e6b
parent46df3aaae801b8d2b52b99356cd737e6e11a4e3c
uuidparse: nil uuid have all bits set to zero

The nil UUID is special form of UUID that is specified to have all 128 bits
set to zero.

Reference: https://tools.ietf.org/html/rfc4122#section-4.1.7
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/uuidparse.c
tests/expected/uuid/uuidparse