| 689dbded | 17-Apr-2024 |
Dimitry Andric <[email protected]> |
heimdal: asn1: Use unsigned bitfields for named bitsets
Import upstream 6747e1628:
asn1: Use unsigned bitfields for named bitsets
Signed 1-bit bitfields are undefined in C.
This should fix th
heimdal: asn1: Use unsigned bitfields for named bitsets
Import upstream 6747e1628:
asn1: Use unsigned bitfields for named bitsets
Signed 1-bit bitfields are undefined in C.
This should fix the following warnings, which for unknown reasons are errors in CI:
/usr/src/crypto/heimdal/lib/hx509/ca.c:1020:22: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1020 | ku.digitalSignature = 1; | ^ ~ /usr/src/crypto/heimdal/lib/hx509/ca.c:1021:21: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1021 | ku.keyEncipherment = 1; | ^ ~ /usr/src/crypto/heimdal/lib/hx509/ca.c:1028:17: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1028 | ku.keyCertSign = 1; | ^ ~ /usr/src/crypto/heimdal/lib/hx509/ca.c:1029:13: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1029 | ku.cRLSign = 1; | ^ ~
PR: 276960 Fixes: 1b7487592987 MFC after: 1 week
(cherry picked from commit 219b6e442308d5353b2af5f0771ce9b887b70754)
show more ...
|
| 5b7c923d | 15-Feb-2024 |
Cy Schubert <[email protected]> |
heimdal: Fix NULL deref
A flawed logical condition allows a malicious actor to remotely trigger a NULL pointer dereference using a crafted negTokenInit token.
Upstream notes:
Reported to Heimd
heimdal: Fix NULL deref
A flawed logical condition allows a malicious actor to remotely trigger a NULL pointer dereference using a crafted negTokenInit token.
Upstream notes:
Reported to Heimdal by Michał Kępień <[email protected]>.
From the report:
Acknowledgement ---------------
This flaw was found while working on addressing ZDI-CAN-12302: ISC BIND TKEY Query Heap-based Buffer Overflow Remote Code Execution Vulnerability, which was reported to ISC by Trend Micro's Zero Day
Security: CVE-2022-3116 Obtained from: upstream 7a19658c1
(cherry picked from commit fc773115fa2dbb6c01377f2ed47dabf79a4e361a)
show more ...
|
| 780f663d | 26-Nov-2022 |
Cy Schubert <[email protected]> |
heimdal: Add missing kadm5 error checks
Generally obtained from upstream 655c057769f56bd8cdb7d16e93f1e7a7cb260342.
PR: 267944, 267972 Obtained from: Heimdal commit 655c057769f56bd8cdb7d16e93f1e7a7
heimdal: Add missing kadm5 error checks
Generally obtained from upstream 655c057769f56bd8cdb7d16e93f1e7a7cb260342.
PR: 267944, 267972 Obtained from: Heimdal commit 655c057769f56bd8cdb7d16e93f1e7a7cb260342 MFC after: 3 days
show more ...
|
| 91db8482 | 24-Nov-2022 |
Cy Schubert <[email protected]> |
heimdal: Handle other types of garbage data
In addition to garbage realm data, also handle garbage dbname, acl_file, stash_file, and invalid bitmask garbage data.
PR: 267912 Reported by: Robert Mo
heimdal: Handle other types of garbage data
In addition to garbage realm data, also handle garbage dbname, acl_file, stash_file, and invalid bitmask garbage data.
PR: 267912 Reported by: Robert Morris <[email protected]> MFC after: 3 days
show more ...
|