Revert "SUNRPC: Fix integer overflow in decode_rc_list()"
This reverts commit 8f25df6566
.
This commit is contained in:
parent
0381b2073a
commit
8d52581ad5
1 changed files with 0 additions and 2 deletions
|
@ -372,8 +372,6 @@ static __be32 decode_rc_list(struct xdr_stream *xdr,
|
|||
|
||||
rc_list->rcl_nrefcalls = ntohl(*p++);
|
||||
if (rc_list->rcl_nrefcalls) {
|
||||
if (unlikely(rc_list->rcl_nrefcalls > xdr->buf->len))
|
||||
goto out;
|
||||
p = xdr_inline_decode(xdr,
|
||||
rc_list->rcl_nrefcalls * 2 * sizeof(uint32_t));
|
||||
if (unlikely(p == NULL))
|
||||
|
|
Loading…
Reference in a new issue