Re: [PATCH net v3 3/3] net: prevent address rewrite in kernel_bind()
From: Jordan Rife <hidden> Date: 2023-09-19 16:16:10
Is there any real risk of callers passing these lengths out of bound?
These are in-kernel callers, so they are by necessity trusted code. If
there is a buggy caller, that will be addressed directly, rather than
through these callee precondition checks.
Not to my knowledge, just being paranoid. I will remove the precondition checks.