Apply patch: ncpfs-hg-commit-455.patch

This commit is contained in:
Mario Fetka
2026-04-28 20:56:04 +02:00
parent 6697b0bf1f
commit a6ec57e2dd
4 changed files with 81 additions and 3 deletions

View File

@@ -303,7 +303,7 @@ static void _PutFilterFirstPass(
} else {
/* different operand: go to next node in created
chain */
last_q = (struct _filter_node**)&q->value;
last_q = (struct _filter_node**)(void*)&q->value;
q = q->value;
}
}

View File

@@ -1696,7 +1696,7 @@ restartLoop:;
NWCONN_HANDLE conn = list_entry(current, struct ncp_conn, nds_ring);
NWObjectCount connaddresses;
nuint8* conndata;
NWCCODE err2;
NWDSCCODE err2;
/* compare addresses */
ncpt_mutex_unlock(&nds_ring_lock);
@@ -2808,6 +2808,8 @@ static NWDSCCODE NWDSGetAttrVal_OBJECT_ACL(NWDSContextHandle ctx, Buf_T* buffer,
if (err)
return err;
err = NWDSBufGetLE32(buffer, &priv);
if (err)
return err;
oacl->privileges = priv;
return err;
}
@@ -4149,6 +4151,8 @@ NWDSCCODE NWDSGetServerName(NWDSContextHandle ctx, Buf_T* buffer,
if (err)
return err;
err = NWDSBufGetLE32(buffer, &le32);
if (err)
return err;
if (partcount)
*partcount = le32;
return 0;