In utf8trunc in zephyr/lib/utils/utf8.c, lastbyte_p can point to one byte before the string pointer if the string is empty.
{
"cwe_ids": [
"CWE-125",
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6443.json",
"cna_assigner": "zephyr"
}