Searched hist:"59 c2b6bfacf82fe5066931f45beae153bfac8c6f" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/lib/libutils/ext/ |
| H A D | snprintk.c | 59c2b6bfacf82fe5066931f45beae153bfac8c6f Thu Dec 08 18:12:30 UTC 2016 Jens Wiklander <jens.wiklander@linaro.org> Format UUID strings correctly
Prior to this patch although GlobalPlatform specifies that TAs and such are identified with UUIDs, we don't format them quite right when turning them into strings. Per https://www.ietf.org/rfc/rfc4122.txt, there should be another hyphen after the first two bytes of clockSeqAndNode.
Unfortunately, fixing this breaks compatibility between how TAs are built, and when the OS loads them.
With this patch UUID string are formated with the additional hyphen as for instance: f81d4fae-7dec-11d0-a765-00a0c91e6bf6
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Fixes: https://github.com/OP-TEE/optee_os/issues/857 Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|