mirror of https://gitee.com/openkylin/linux.git
d90c902449
The sadb_x_sec_len is stored in the unit 'byte divided by eight'.
So we have to multiply this value by eight before we can do
size checks. Otherwise we may get a slab-out-of-bounds when
we memcpy the user sec_ctx.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
af_key.c |