public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Simone Caronni <negativo17@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/xevd] rawhide: Update to 0.8.0
Date: Thu, 15 Oct 2026 19:42:48 GMT	[thread overview]
Message-ID: <179209336827.1.8747110269363080671.rpms-xevd-7ef6a6c19b0b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/xevd
Branch : rawhide
Commit : 7ef6a6c19b0b7863ace8df80ce8ce42f489e7599
Author : Simone Caronni <negativo17@gmail.com>
Date   : 2026-10-15T21:42:37+02:00
Stats  : +49/-48 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/xevd/c/7ef6a6c19b0b7863ace8df80ce8ce42f489e7599?branch=rawhide

Log:
Update to 0.8.0

---
diff --git a/.gitignore b/.gitignore
index c45c67d..ae70b1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /xevd-free-0.5.0.tar.gz
 /xevd-free-0.7.0.tar.gz
+/xevd-free-0.8.0.tar.gz

diff --git a/sources b/sources
index 768e8a8..8a97cf8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xevd-free-0.7.0.tar.gz) = 3ddd2c752dc8743ef0df2ca30fa6f2d01ea8fe58fe3c531a16676eb508e59656e786f8424cc7f91137759ce27091b237af25a434fa0e0380e67cc0f1c0d7620e
+SHA512 (xevd-free-0.8.0.tar.gz) = 28330cfc70b5d5b258dca7e5212d31b444e922e4e00771126ebf0e408c6a18d9e011751602e0d2d07c2c1d812b3c2643e3c72847b5619e28c37da292dd901083

diff --git a/xevd-0.7.0-format-overflow.patch b/xevd-0.7.0-format-overflow.patch
deleted file mode 100644
index 2d33e38..0000000
--- a/xevd-0.7.0-format-overflow.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From: Simone Caronni <negativo17@gmail.com>
-Subject: [PATCH] Avoid buffer overflows in the trace line helpers
-
-xevd_trace_line() and log_line() copy a caller supplied string of unknown
-length into a fixed 128 byte buffer with sprintf(), which GCC diagnoses as a
-potential format overflow. Upstream builds with -Werror, so this breaks the
-build on i686.
-
-Use snprintf() with an explicit precision, so the copy is bounded both by the
-size of the destination buffer and by the line width the helpers pad to, and
-only write the terminating NUL when it still falls inside the buffer.
-
---- a/src_base/xevd_port.c
-+++ b/src_base/xevd_port.c
-@@ -49,10 +49,10 @@
-     int len = (pre == NULL) ? 0 : (int)strlen(pre);
-     if (len > 0)
-     {
--        sprintf(str, "%s ", pre);
-+        snprintf(str, sizeof(str), "%.*s ", chars - 1, pre);
-         len = (int)strlen(str);
-     }
-     for (int i = len; i < chars; i++) { str[i] = '='; }
--    str[chars] = '\0';
-+    if (len < chars) { str[chars] = '\0'; }
-     printf("%s\n", str);
- }
-\ No newline at end of file
---- a/app/xevd_app_util.h
-+++ b/app/xevd_app_util.h
-@@ -67,12 +67,12 @@
-     len = (pre == NULL)? 0: (int)strlen(pre);
-     if(len > 0)
-     {
--        sprintf(str + 3, " %s ", pre);
-+        snprintf(str + 3, sizeof(str) - 3, " %.*s ", chars - 5, pre);
-         len = (int)strlen(str);
-     }
- 
-     for(i = len ; i< chars; i++) {str[i] = '=';}
--    str[chars] = '\0';
-+    if(len < chars) {str[chars] = '\0';}
-     printf("%s\n", str);
- }
- 

diff --git a/xevd-format-overflow.patch b/xevd-format-overflow.patch
new file mode 100644
index 0000000..2d33e38
--- /dev/null
+++ b/xevd-format-overflow.patch
@@ -0,0 +1,45 @@
+From: Simone Caronni <negativo17@gmail.com>
+Subject: [PATCH] Avoid buffer overflows in the trace line helpers
+
+xevd_trace_line() and log_line() copy a caller supplied string of unknown
+length into a fixed 128 byte buffer with sprintf(), which GCC diagnoses as a
+potential format overflow. Upstream builds with -Werror, so this breaks the
+build on i686.
+
+Use snprintf() with an explicit precision, so the copy is bounded both by the
+size of the destination buffer and by the line width the helpers pad to, and
+only write the terminating NUL when it still falls inside the buffer.
+
+--- a/src_base/xevd_port.c
++++ b/src_base/xevd_port.c
+@@ -49,10 +49,10 @@
+     int len = (pre == NULL) ? 0 : (int)strlen(pre);
+     if (len > 0)
+     {
+-        sprintf(str, "%s ", pre);
++        snprintf(str, sizeof(str), "%.*s ", chars - 1, pre);
+         len = (int)strlen(str);
+     }
+     for (int i = len; i < chars; i++) { str[i] = '='; }
+-    str[chars] = '\0';
++    if (len < chars) { str[chars] = '\0'; }
+     printf("%s\n", str);
+ }
+\ No newline at end of file
+--- a/app/xevd_app_util.h
++++ b/app/xevd_app_util.h
+@@ -67,12 +67,12 @@
+     len = (pre == NULL)? 0: (int)strlen(pre);
+     if(len > 0)
+     {
+-        sprintf(str + 3, " %s ", pre);
++        snprintf(str + 3, sizeof(str) - 3, " %.*s ", chars - 5, pre);
+         len = (int)strlen(str);
+     }
+ 
+     for(i = len ; i< chars; i++) {str[i] = '=';}
+-    str[chars] = '\0';
++    if(len < chars) {str[chars] = '\0';}
+     printf("%s\n", str);
+ }
+ 

diff --git a/xevd.spec b/xevd.spec
index 40a08d8..087dd53 100644
--- a/xevd.spec
+++ b/xevd.spec
@@ -1,5 +1,5 @@
 Name:           xevd
-Version:        0.7.0
+Version:        0.8.0
 Release:        %autorelease
 Summary:        Reference MPEG-5 Part 1 (EVC) decoder
 
@@ -9,7 +9,7 @@ URL:            https://github.com/mpeg5/xevd
 Source0:        %{name}-free-%{version}.tar.gz
 # Script to generate tarball with unencumbered sources
 Source1:        %{name}_gen_free_tarball.sh
-Patch0:         %{name}-%{version}-format-overflow.patch
+Patch0:         %{name}-format-overflow.patch
 
 BuildRequires:  cmake >= 3.12
 BuildRequires:  gcc

                 reply	other threads:[~2026-10-15 19:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179209336827.1.8747110269363080671.rpms-xevd-7ef6a6c19b0b@fedoraproject.org \
    --to=negativo17@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox