commit | 10027a7cb68d1caad574289cae1a756c2428a088 | [log] [tgz] |
---|---|---|
author | Thomas Haller <thaller@redhat.com> | Mon May 03 10:46:02 2021 +0200 |
committer | Thomas Haller <thaller@redhat.com> | Mon May 03 15:09:31 2021 +0200 |
tree | 3eb783045bc803df53481d302e2e97ed2dd68452 | |
parent | 7b89641888e5cebef51611197dbf49c4bc13c0f0 [diff] |
guuid: fix shift operation to parse hex string in uuid_parse_string() The actually parsed `@bytes` are not used because the only caller does not provide an output parameter to request them. So this bug had no effect in practice.
diff --git a/glib/guuid.c b/glib/guuid.c index f26343e..5368465 100644 --- a/glib/guuid.c +++ b/glib/guuid.c
@@ -113,7 +113,7 @@ if (hi == -1 || lo == -1) return FALSE; - bytes[i++] = hi << 8 | lo; + bytes[i++] = hi << 4 | lo; } if (uuid != NULL)