fixing readlink buffer size in decode
This commit is contained in:
parent
fdd55e729a
commit
caf8d3afaf
1 changed files with 1 additions and 1 deletions
|
|
@ -2182,7 +2182,7 @@ static bool_t decode_op_readlink(
|
||||||
|
|
||||||
if (res->status == NFS4_OK) {
|
if (res->status == NFS4_OK) {
|
||||||
char *link = res->link;
|
char *link = res->link;
|
||||||
return xdr_bytes(xdr, &link, &res->link_len, NFS4_OPAQUE_LIMIT);
|
return xdr_bytes(xdr, &link, &res->link_len, res->link_len);
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue