diff options
author | Marvin Borner | 2021-04-01 19:39:14 +0200 |
---|---|---|
committer | Marvin Borner | 2021-04-01 19:39:14 +0200 |
commit | afa00abb2b68205bee539d7947130d6b1b1ec6e9 (patch) | |
tree | 3a821a75af6c4d4ff1bd4128c4859d77abf87e66 /kernel/inc/fb.h | |
parent | 4c168fb34c15a1b8981abef7ccef1542a6fb05ca (diff) |
Hardened entire system
By using the nonnull attribute and replace buffer-overflow-prone
functions like strcpy, strcat and sprintf by strlcpy, strlcat and
snprintf.
Diffstat (limited to 'kernel/inc/fb.h')
-rw-r--r-- | kernel/inc/fb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/inc/fb.h b/kernel/inc/fb.h index 3b545fd..052f3d2 100644 --- a/kernel/inc/fb.h +++ b/kernel/inc/fb.h @@ -6,7 +6,7 @@ #include <boot.h> #include <mm.h> -void fb_map_buffer(struct page_dir *dir, struct vid_info *boot); -void fb_install(struct vid_info *boot); +void fb_map_buffer(struct page_dir *dir, struct vid_info *boot) NONNULL; +void fb_install(struct vid_info *boot) NONNULL; #endif |