mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
Currently, the nameserver doesn't limit the number of nodes it handles.
This can be an attack vector if a malicious client starts registering
random nodes, leading to memory exhaustion.
Hence, limit the maximum number of nodes to 64. Note that, limit of 64 is
chosen based on the current platform requirements. If requirement changes
in the future, this limit can be increased.
Cc: stable@vger.kernel.org
Fixes:
|
||
|---|---|---|
| .. | ||
| af_qrtr.c | ||
| Kconfig | ||
| Makefile | ||
| mhi.c | ||
| ns.c | ||
| qrtr.h | ||
| smd.c | ||
| tun.c | ||