mirror of https://github.com/torvalds/linux.git
The "gl->tot_len" variable is controlled by the user. It comes from
process_responses(). On 32bit systems, the "gl->tot_len +
sizeof(struct cpl_pass_accept_req) + sizeof(struct rss_header)" addition
could have an integer wrapping bug. Use size_add() to prevent this.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| chtls.h | ||
| chtls_cm.c | ||
| chtls_cm.h | ||
| chtls_hw.c | ||
| chtls_io.c | ||
| chtls_main.c | ||