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

This commit is contained in:
Mario Fetka
2026-04-28 20:56:04 +02:00
parent ec8ac65ecd
commit 3f2f1419a2
2 changed files with 31 additions and 1 deletions

View File

@@ -1026,7 +1026,8 @@ static NWDSCCODE nds_beginauth2(
goto err_exit;
}
copyfill(n_temp, n1, p, n3a);
p = (void*)(((unsigned long)k1end + 3) & ~3);
/* align p to the first 4 byte boundary beyond k1end */
p = k1end + ((p - k1end) & 3);
err = modexpkey(s_key, n_temp, n_temp, n1);
if (err) {
ISRPrint("modexpkey failed\n");