Commit 18180a4
committed
NFSD: Fix nfsd4_encode_fattr4() crasher
Ensure that args.acl is initialized early. It is used in an
unconditional call to kfree() on the way out of
nfsd4_encode_fattr4().
Reported-by: Scott Mayhew <smayhew@redhat.com>
Fixes: 83ab867 ("NFSD: Add struct nfsd4_fattr_args")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>1 parent 8ddb714 commit 18180a4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3515 | 3515 | | |
3516 | 3516 | | |
3517 | 3517 | | |
| 3518 | + | |
3518 | 3519 | | |
3519 | 3520 | | |
3520 | 3521 | | |
| |||
3573 | 3574 | | |
3574 | 3575 | | |
3575 | 3576 | | |
3576 | | - | |
3577 | 3577 | | |
3578 | 3578 | | |
3579 | 3579 | | |
| |||
0 commit comments