Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/util/hex.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ hidrd_hex_buf_from_str(void *buf,
char *
hidrd_hex_buf_to_str(const void *buf, size_t size)
{
static const char map[16] = "0123456789ABCDEF";
static const char map[17] = "0123456789ABCDEF";
const uint8_t *bbuf = (const uint8_t *)buf;
char *str;
char *p;
Expand Down