diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-04-28 15:53:41 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-06 17:47:11 -0700 |
commit | 36e461f8b3cfc7133801ec95ca31a363819ed91a (patch) | |
tree | 079b92531fbfed570558a61ab1bda5a005ec7507 /os | |
parent | b4461cb5b2627709ba8a7be3ba7c608bbf482c46 (diff) |
SetFontCatalogue: handle allocation failure
difs/fonts.c: In function ‘SetFontCatalogue’:
difs/fonts.c:766:14: warning: dereference of possibly-NULL ‘p’ [CWE-690]
[-Wanalyzer-possible-null-dereference]
766 | *p++ = len = end - str;
| ~~~~~^~~~~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/app/xfs/-/merge_requests/7>
Diffstat (limited to 'os')
0 files changed, 0 insertions, 0 deletions