已开启
upstream: openEuler-24.03-LTS - openEuler-24.03-LTS #220
xuraoqing创建于 5月7日
upstream: openEuler-24.03-LTS - openEuler-24.03-LTS #220
已开启
共 2 个文件变更+8-4
| @@ -2,7 +2,7 @@ Summary: User space tools for kernel auditing | |||
| 2 | Name: audit | 2 | Name: audit |
| 3 | Epoch: 1 | 3 | Epoch: 1 |
| 4 | Version: 3.1.2 | 4 | Version: 3.1.2 |
| 5 | -Release: 14 | 5 | +Release: 15 |
| 6 | License: GPLv2+ and LGPLv2+ | 6 | License: GPLv2+ and LGPLv2+ |
| 7 | URL: https://people.redhat.com/sgrubb/audit/ | 7 | URL: https://people.redhat.com/sgrubb/audit/ |
| 8 | Source0: https://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz | 8 | Source0: https://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz |
| @@ -425,6 +425,10 @@ fi | |||
| 425 | %attr(644,root,root) %{_mandir}/man8/*.8.gz | 425 | %attr(644,root,root) %{_mandir}/man8/*.8.gz |
| 426 | 426 | ||
| 427 | %changelog | 427 | %changelog |
| 428 | + | ||
| 429 | +* Thu May 07 2026 Xu Raoqing <xuraoqing@h-partners.com> - 1:3.1.2-15 | ||
| 430 | +- Apply patch: backport-Harden-against-a-couple-memory-issues.patch | ||
| 431 | + | ||
| 428 | * Wed Mar 18 2026 Linux_zhang <244695981@qq.com> - 1:3.1.2-14 | 432 | * Wed Mar 18 2026 Linux_zhang <244695981@qq.com> - 1:3.1.2-14 |
| 429 | - backport patches to fix bugs | 433 | - backport patches to fix bugs |
| 430 | 434 | ||
| @@ -35,10 +35,10 @@ index 15ec038..64c1070 100644 | |||
| 35 | newnode->p = NULL; | 35 | newnode->p = NULL; |
| 36 | 36 | ||
| 37 | diff --git a/src/auditd-listen.c b/src/auditd-listen.c | 37 | diff --git a/src/auditd-listen.c b/src/auditd-listen.c |
| 38 | -index cf92f2b..77488e2 100644 | 38 | +index d49a5ee..fa30e3f 100644 |
| 39 | --- a/src/auditd-listen.c | 39 | --- a/src/auditd-listen.c |
| 40 | +++ b/src/auditd-listen.c | 40 | +++ b/src/auditd-listen.c |
| 41 | -@@ -557,10 +557,17 @@ static void client_message (struct ev_tcp *io, unsigned int length, | 41 | +@@ -562,10 +562,17 @@ static void client_message (struct ev_tcp *io, unsigned int length, |
| 42 | if (AUDIT_RMW_IS_MAGIC (header, length)) { | 42 | if (AUDIT_RMW_IS_MAGIC (header, length)) { |
| 43 | AUDIT_RMW_UNPACK_HEADER (header, hver, mver, type, mlen, seq) | 43 | AUDIT_RMW_UNPACK_HEADER (header, hver, mver, type, mlen, seq) |
| 44 | 44 | ||
| @@ -60,7 +60,7 @@ index cf92f2b..77488e2 100644 | |||
| 60 | if (type == AUDIT_RMW_TYPE_HEARTBEAT) { | 60 | if (type == AUDIT_RMW_TYPE_HEARTBEAT) { |
| 61 | unsigned char ack[AUDIT_RMW_HEADER_SIZE]; | 61 | unsigned char ack[AUDIT_RMW_HEADER_SIZE]; |
| 62 | AUDIT_RMW_PACK_HEADER (ack, 0, AUDIT_RMW_TYPE_ACK, | 62 | AUDIT_RMW_PACK_HEADER (ack, 0, AUDIT_RMW_TYPE_ACK, |
| 63 | -@@ -573,7 +580,7 @@ static void client_message (struct ev_tcp *io, unsigned int length, | 63 | +@@ -578,7 +585,7 @@ static void client_message (struct ev_tcp *io, unsigned int length, |
| 64 | if (e) | 64 | if (e) |
| 65 | distribute_event(e); | 65 | distribute_event(e); |
| 66 | } | 66 | } |