|
|
Subscribe / Log in / New account

Strict memcpy() bounds checking for the kernel

Strict memcpy() bounds checking for the kernel

Posted Aug 1, 2021 13:23 UTC (Sun) by HenrikH (subscriber, #31152)
In reply to: Strict memcpy() bounds checking for the kernel by CAFxX
Parent article: Strict memcpy() bounds checking for the kernel

replacing that with a pure memset (yes I know that your example didn't clear all the members, but still) resulted in even less code.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds