aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2022-04-06 22:36:19 -0400
committerTrond Myklebust <[email protected]>2022-04-07 16:20:00 -0400
commit25cf32ad5dba79385f6e7de9008dcb75556c42d2 (patch)
treecb340ece410fea8667859d87484749fc26e82252 /lib/test_fortify/write_overflow-memcpy.c
parent88dee0cc93adcd83db9d089c1163dc88edafd1c1 (diff)
SUNRPC: Handle allocation failure in rpc_new_task()
If the call to rpc_alloc_task() fails, then ensure that the calldata is released, and that rpc_run_task() and rpc_run_bc_task() bail out early. Reported-by: NeilBrown <[email protected]> Fixes: 910ad38697d9 ("NFS: Fix memory allocation in rpc_alloc_task()") Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions