1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-13 07:42:08 +00:00
Commit graph

2 commits

Author SHA1 Message Date
Tom
dce18958b6 Kernel: Fix safe_memset not setting the last few bytes in some cases
Because the remainder variable will always be 0 unless a fault happened
we should not use it to decide if we have nothing left to memset when
finishing the fast path. This caused not all bytes to be zeroed
if the size was not an exact multiple of sizeof(size_t).

Fixes #8352
2021-07-04 18:54:16 +02:00
Gunnar Beutner
df530941cc Kernel: Implement safe_* memory access functions for x86_64 2021-06-27 15:46:42 +02:00
Renamed from Kernel/Arch/x86/i386/SafeMem.cpp (Browse further)