Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package xf86-video-dummy for
openSUSE:Factory checked in at 2023-05-08 17:24:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-video-dummy (Old)
and /work/SRC/openSUSE:Factory/.xf86-video-dummy.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-video-dummy"
Mon May 8 17:24:31 2023 rev:12 rq:1085459 version:0.4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/xf86-video-dummy/xf86-video-dummy.changes
2022-04-06 21:51:58.587235057 +0200
+++
/work/SRC/openSUSE:Factory/.xf86-video-dummy.new.1533/xf86-video-dummy.changes
2023-05-08 17:24:34.820800362 +0200
@@ -1,0 +2,8 @@
+Mon May 8 08:38:14 UTC 2023 - Stefan Dirsch <[email protected]>
+
+- Update to version 0.4.1
+ * Avoid leaking pixel memory if DUMMYScreenInit fails
+ * gitlab CI: stop requiring Signed-off-by in commits
+ * List argument types in dummyRec->CreateWindow() function declaration
+
+-------------------------------------------------------------------
Old:
----
xf86-video-dummy-0.4.0.tar.xz
New:
----
xf86-video-dummy-0.4.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xf86-video-dummy.spec ++++++
--- /var/tmp/diff_new_pack.PBroRk/_old 2023-05-08 17:24:35.252802916 +0200
+++ /var/tmp/diff_new_pack.PBroRk/_new 2023-05-08 17:24:35.256802940 +0200
@@ -1,7 +1,7 @@
#
# spec file for package xf86-video-dummy
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: xf86-video-dummy
-Version: 0.4.0
+Version: 0.4.1
Release: 0
Summary: Virtual/offscreen frame buffer video driver for the Xorg X
server
License: MIT
@@ -55,7 +55,8 @@
%files
%defattr(-,root,root)
-%doc ChangeLog COPYING README.md
+%doc ChangeLog README.md
+%license COPYING
%dir %{_libdir}/xorg/modules/drivers
%{_libdir}/xorg/modules/drivers/dummy_drv.so
++++++ xf86-video-dummy-0.4.0.tar.xz -> xf86-video-dummy-0.4.1.tar.xz ++++++
++++ 12771 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/xf86-video-dummy-0.4.0/ChangeLog new/xf86-video-dummy-0.4.1/ChangeLog
--- old/xf86-video-dummy-0.4.0/ChangeLog 2022-04-05 19:16:43.000000000
+0200
+++ new/xf86-video-dummy-0.4.1/ChangeLog 2023-05-07 22:27:59.000000000
+0200
@@ -1,3 +1,53 @@
+commit 1fffb785d67cf21d6ff83d04b8ba7f5c50dc7dfb
+Author: Alan Coopersmith <[email protected]>
+Date: Sun May 7 13:22:40 2023 -0700
+
+ xf86-video-dummy 0.4.1
+
+ Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit 234cb0271bbf69ef3bd0b90a2efdd8fb724b78f0
+Author: Alan Coopersmith <[email protected]>
+Date: Fri Mar 17 15:33:38 2023 -0700
+
+ List argument types in dummyRec->CreateWindow() function declaration
+
+ Will be needed for C23 builds, since C23 treats () as (void),
+ not as an unspecified argument list.
+
+ Fixes warning from Solaris Studio C compiler with -fd flag:
+ "dummy.h", line 55: warning: old style function declaration
+
+ Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit 22c15ee0e696f6c250edbd8a3cf4c235a78b9f7d
+Author: Alan Coopersmith <[email protected]>
+Date: Tue Apr 19 20:13:52 2022 -0700
+
+ gitlab CI: stop requiring Signed-off-by in commits
+
+ Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit ffcae9381f914871cc51c80112ce39e83dc8d04b
+Author: Alan Coopersmith <[email protected]>
+Date: Tue Apr 19 20:12:30 2022 -0700
+
+ Avoid leaking pixel memory if DUMMYScreenInit fails
+
+ Resolves issues reported by Oracle Parfait static analyzer:
+
+ Error: Memory leak
+ Memory leak [memory-leak] (CWE 401):
+ Memory leak of pointer pixels allocated with malloc((pScrn->videoRam
* 1024))
+ at line 803 of dummy_driver.c in function 'DUMMYScreenInit'.
+ pixels allocated at line 790 with malloc((pScrn->videoRam *
1024))
+ Memory leak [memory-leak] (CWE 401):
+ Memory leak of pointer pixels allocated with malloc((pScrn->videoRam
* 1024))
+ at line 805 of dummy_driver.c in function 'DUMMYScreenInit'.
+ pixels allocated at line 790 with malloc((pScrn->videoRam *
1024))
+
+ Signed-off-by: Alan Coopersmith <[email protected]>
+
commit 68e02860d9ee6d65733457e689d180653fc9829f
Author: Matt Turner <[email protected]>
Date: Tue Apr 5 10:16:22 2022 -0700
@@ -34,7 +84,7 @@
Signed-off-by: Alan Coopersmith <[email protected]>
commit 9e8dce17c0c9aaa9ee193cc7280d7132163765ec
-Author: Marek Marczykowski-Górecki <[email protected]>
+Author: Marek Marczykowski-Górecki <[email protected]>
Date: Tue Sep 27 22:26:30 2016 +0200
Increase maximum number of video outputs to 16
@@ -44,7 +94,7 @@
Signed-off-by: Marek Marczykowski-Górecki
<[email protected]>
commit a87cfeca7dca26a840793024cc44f5aea5adc7bf
-Author: Marek Marczykowski-Górecki <[email protected]>
+Author: Marek Marczykowski-Górecki <[email protected]>
Date: Fri Jul 22 02:40:29 2016 +0200
xf86-video-dummy: changeable physical output size
@@ -59,7 +109,7 @@
Signed-off-by: Marek Marczykowski-Górecki
<[email protected]>
commit 327a25c4c3ab0b79a1103794449a1f7ccd6faff3
-Author: Marek Marczykowski-Górecki <[email protected]>
+Author: Marek Marczykowski-Górecki <[email protected]>
Date: Tue Oct 16 16:48:47 2018 +0200
RandR support in dummy video driver
@@ -872,7 +922,7 @@
Update autogen.sh to one that does objdir != srcdir.
commit d43c40d00ab34ae85e4684cc3860f641b0bea65c
-Author: Søren Sandmann Pedersen <[email protected]>
+Author: Søren Sandmann Pedersen <[email protected]>
Date: Wed Aug 10 14:07:24 2005 +0000
Don\'t lose existing CFLAGS in all the input drivers and some of the video
@@ -893,14 +943,14 @@
- Update modular Xorg version
commit c5f63f703d838cfae54269c595e14a06ea04f243
-Author: Søren Sandmann Pedersen <[email protected]>
+Author: Søren Sandmann Pedersen <[email protected]>
Date: Wed Jul 13 21:52:24 2005 +0000
Add Makefile.am here. Also, for the record, CVS needs a bullet through its
head
commit 30a2cce4b61e2b0e550479ee87f25c895cbca513
-Author: Søren Sandmann Pedersen <[email protected]>
+Author: Søren Sandmann Pedersen <[email protected]>
Date: Wed Jul 13 21:45:21 2005 +0000
Build system for dummy video driver
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/xf86-video-dummy-0.4.0/configure.ac new/xf86-video-dummy-0.4.1/configure.ac
--- old/xf86-video-dummy-0.4.0/configure.ac 2022-04-05 19:16:37.000000000
+0200
+++ new/xf86-video-dummy-0.4.1/configure.ac 2023-05-07 22:27:44.000000000
+0200
@@ -23,8 +23,8 @@
# Initialize Autoconf
AC_PREREQ([2.60])
AC_INIT([xf86-video-dummy],
- [0.4.0],
- [https://gitlab.freedesktop.org/xorg/driver/xf86-video-dummy/issues],
+ [0.4.1],
+ [https://gitlab.freedesktop.org/xorg/driver/xf86-video-dummy/-/issues],
[xf86-video-dummy])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS([config.h])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/xf86-video-dummy-0.4.0/src/dummy.h new/xf86-video-dummy-0.4.1/src/dummy.h
--- old/xf86-video-dummy-0.4.0/src/dummy.h 2022-04-05 19:16:37.000000000
+0200
+++ new/xf86-video-dummy-0.4.1/src/dummy.h 2023-05-07 22:27:44.000000000
+0200
@@ -52,7 +52,7 @@
int cursorFG, cursorBG;
dummy_colors colors[1024];
- Bool (*CreateWindow)() ; /* wrapped CreateWindow */
+ Bool (*CreateWindow)(WindowPtr) ; /* wrapped CreateWindow */
Bool prop;
/* XRANDR support begin */
int num_screens;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/xf86-video-dummy-0.4.0/src/dummy_driver.c
new/xf86-video-dummy-0.4.1/src/dummy_driver.c
--- old/xf86-video-dummy-0.4.0/src/dummy_driver.c 2022-04-05
19:16:37.000000000 +0200
+++ new/xf86-video-dummy-0.4.1/src/dummy_driver.c 2023-05-07
22:27:44.000000000 +0200
@@ -798,11 +798,16 @@
/* Setup the visuals we support. */
if (!miSetVisualTypes(pScrn->depth,
- miGetDefaultVisualMask(pScrn->depth),
- pScrn->rgbBits, pScrn->defaultVisual))
- return FALSE;
+ miGetDefaultVisualMask(pScrn->depth),
+ pScrn->rgbBits, pScrn->defaultVisual)) {
+ free(pixels);
+ return FALSE;
+ }
- if (!miSetPixmapDepths ()) return FALSE;
+ if (!miSetPixmapDepths ()) {
+ free(pixels);
+ return FALSE;
+ }
/*
* Call the framebuffer layer's ScreenInit function, and fill in other