Thread (3 messages) read the whole thread 3 messages, 2 authors, 2023-09-19

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.
You want to pass &address?
Yep. Good catch.

-Jordan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help