Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package trinity for openSUSE:Factory checked 
in at 2024-09-01 19:21:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trinity (Old)
 and      /work/SRC/openSUSE:Factory/.trinity.new.2698 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trinity"

Sun Sep  1 19:21:12 2024 rev:79 rq:1197728 version:1.9+git.20240614

Changes:
--------
--- /work/SRC/openSUSE:Factory/trinity/trinity.changes  2024-08-16 
12:24:45.921813373 +0200
+++ /work/SRC/openSUSE:Factory/.trinity.new.2698/trinity.changes        
2024-09-01 19:21:36.052442844 +0200
@@ -1,0 +2,5 @@
+Fri Aug 30 07:31:56 UTC 2024 - Jiri Slaby <jsl...@suse.cz>
+
+- add 0001-syscalls-send.c-fix-build-on-32bit.patch
+
+-------------------------------------------------------------------

New:
----
  0001-syscalls-send.c-fix-build-on-32bit.patch

BETA DEBUG BEGIN:
  New:
- add 0001-syscalls-send.c-fix-build-on-32bit.patch
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ trinity.spec ++++++
--- /var/tmp/diff_new_pack.5kn8NJ/_old  2024-09-01 19:21:36.720470194 +0200
+++ /var/tmp/diff_new_pack.5kn8NJ/_new  2024-09-01 19:21:36.724470358 +0200
@@ -23,6 +23,7 @@
 License:        GPL-2.0-only
 URL:            https://github.com/kernelslacker/trinity
 Source0:        %{name}-%{version}.tar.gz
+Patch0:         0001-syscalls-send.c-fix-build-on-32bit.patch
 
 %description
 The basic idea is fairly simple. As 'fuzz testing' suggests, we call syscalls

++++++ 0001-syscalls-send.c-fix-build-on-32bit.patch ++++++
>From dad92016f486920c00d713606d899601a072044e Mon Sep 17 00:00:00 2001
From: Jiri Slaby <jsl...@suse.cz>
Date: Fri, 30 Aug 2024 09:28:46 +0200
Subject: [PATCH] syscalls/send.c: fix build on 32bit
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

syscalls/send.c:33:62: error: passing argument 3 of ‘proto->gen_packet’ 
from incompatible pointer type
---
 syscalls/send.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/syscalls/send.c b/syscalls/send.c
index 59bf689d..ee43fbac 100644
--- a/syscalls/send.c
+++ b/syscalls/send.c
@@ -29,8 +29,10 @@ static void sanitise_send(struct syscallrecord *rec)
        proto = net_protocols[si->triplet.family].proto;
        if (proto != NULL) {
                if (proto->gen_packet != NULL) {
+                       size_t len;
                        ptr = &rec->a2;
-                       proto->gen_packet(&si->triplet, ptr, &rec->a3);
+                       proto->gen_packet(&si->triplet, ptr, &len);
+                       rec->a3 = len;
 //             printf("Sending to family:%d type:%d proto:%d\n",
 //                     si->triplet.family, si->triplet.type, 
si->triplet.protocol);
                        return;
-- 
2.46.0

Reply via email to