mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
r3296: Fix to ensure entries are stored in correct order. Bug #1498. Patch from
SATOH Fumiyasu <fumiya@samba.gr.jp>. Jeremy. (This used to be commit 7e35900bc6894d69f83c99ac6eb260d7cc35683a)
This commit is contained in:
parent
e798a6b9fe
commit
e62d9c3b87
@ -180,7 +180,7 @@ static char *create_pai_buf(canon_ace *file_ace_list, canon_ace *dir_ace_list, B
|
||||
|
||||
entry_offset = pai_buf + PAI_ENTRIES_BASE;
|
||||
|
||||
for (ace_list = dir_ace_list; ace_list; ace_list = ace_list->next) {
|
||||
for (ace_list = file_ace_list; ace_list; ace_list = ace_list->next) {
|
||||
if (ace_list->inherited) {
|
||||
uint8 type_val = (unsigned char)ace_list->owner_type;
|
||||
uint32 entry_val = get_entry_val(ace_list);
|
||||
@ -191,7 +191,7 @@ static char *create_pai_buf(canon_ace *file_ace_list, canon_ace *dir_ace_list, B
|
||||
}
|
||||
}
|
||||
|
||||
for (ace_list = file_ace_list; ace_list; ace_list = ace_list->next) {
|
||||
for (ace_list = dir_ace_list; ace_list; ace_list = ace_list->next) {
|
||||
if (ace_list->inherited) {
|
||||
uint8 type_val = (unsigned char)ace_list->owner_type;
|
||||
uint32 entry_val = get_entry_val(ace_list);
|
||||
|
Loading…
x
Reference in New Issue
Block a user