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/rtl8139.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/rtl8139.h')
-rw-r--r-- | kernel/inc/rtl8139.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/inc/rtl8139.h b/kernel/inc/rtl8139.h index bbb904e..0d748af 100644 --- a/kernel/inc/rtl8139.h +++ b/kernel/inc/rtl8139.h @@ -30,7 +30,7 @@ int rtl8139_install(void); int rtl8139_installed(void); -void rtl8139_send_packet(void *data, u32 len); +void rtl8139_send_packet(void *data, u32 len) NONNULL; u8 *rtl8139_get_mac(void); #endif |