From afa00abb2b68205bee539d7947130d6b1b1ec6e9 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 1 Apr 2021 19:39:14 +0200 Subject: Hardened entire system By using the nonnull attribute and replace buffer-overflow-prone functions like strcpy, strcat and sprintf by strlcpy, strlcat and snprintf. --- libs/libgui/psf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/libgui/psf.h') diff --git a/libs/libgui/psf.h b/libs/libgui/psf.h index 63a3d1e..4d63118 100644 --- a/libs/libgui/psf.h +++ b/libs/libgui/psf.h @@ -43,6 +43,6 @@ struct psf2_header { u32 width; }; -struct font *psf_parse(char *data); +struct font *psf_parse(char *data) NONNULL; #endif -- cgit v1.2.3