mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-26 09:41:01 +00:00
fix crash in uuid128_to_str
This commit is contained in:
parent
b0715761ab
commit
8912abed06
@ -176,7 +176,7 @@ void log_key(const char * name, sm_key_t key){
|
||||
hexdump(key, 16);
|
||||
}
|
||||
|
||||
static char uuid128_to_str_buffer[16+4+1];
|
||||
static char uuid128_to_str_buffer[32+4+1];
|
||||
char * uuid128_to_str(uint8_t * uuid){
|
||||
sprintf(uuid128_to_str_buffer, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
|
||||
uuid[0], uuid[1], uuid[2], uuid[3], uuid[4], uuid[5], uuid[6], uuid[7],
|
||||
|
Loading…
x
Reference in New Issue
Block a user