diff options
author | Christophe JAILLET <[email protected]> | 2022-09-01 07:27:04 +0200 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2022-09-26 14:02:21 -0400 |
commit | fd1ef88049de09bc70d60b549992524cfc0e66ff (patch) | |
tree | 5680ee3af233c29ea9d5949faea29b72b9fbb70b /net/lapb/lapb_in.c | |
parent | 4ab3442ca384a02abf8b1f2b3449a6c547851873 (diff) |
nfsd: Fix a memory leak in an error handling path
If this memdup_user() call fails, the memory allocated in a previous call
a few lines above should be freed. Otherwise it leaks.
Fixes: 6ee95d1c8991 ("nfsd: add support for upcall version 2")
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions