mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
r9656: fix bug in sk record list with next offsets
(This used to be commit c588c2ee69fa72089e9c0aed6881a76f4e490d86)
This commit is contained in:
parent
7343eb9172
commit
d602d8c442
@ -1779,11 +1779,11 @@ static int hashrec_cmp( REGF_HASH_REC *h1, REGF_HASH_REC *h2 )
|
||||
REGF_SK_REC *prev = nk->sec_desc->prev;
|
||||
|
||||
nk->sec_desc->prev_sk_off = prev->hbin_off + prev->hbin->first_hbin_off - HBIN_HDR_SIZE;
|
||||
prev->next_sk_off = nk->sk_off;
|
||||
prev->next_sk_off = nk->sec_desc->sk_off;
|
||||
}
|
||||
}
|
||||
|
||||
/* dump the reference count */
|
||||
/* bump the reference count +1 */
|
||||
|
||||
nk->sk_off = nk->sec_desc->sk_off;
|
||||
nk->sec_desc->ref_count++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user