mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
libndr: add support for relative_rap_convert.
Will not harm anyone, is only used for rare short (2byte) relative pointers, and relative_rap_convert is always 0 so far (as all init functions using struct ndr_pull will zero the struct). Guenther
This commit is contained in:
@ -185,6 +185,7 @@ _PUBLIC_ enum ndr_err_code ndr_pull_relative_ptr_short(struct ndr_pull *ndr, uin
|
||||
if (*v != 0) {
|
||||
ndr->ptr_count++;
|
||||
}
|
||||
*(v) -= ndr->relative_rap_convert;
|
||||
return NDR_ERR_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user