[Xfce4-commits] [apps/xfce4-screensaver] 01/01: Fix CID 213288: Dereference before null

noreply at xfce.org noreply at xfce.org
Fri Jun 7 03:47:38 CEST 2019


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit 84c7349a0ed31ecbdf8833d5bfe04cf819174a31
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Thu Jun 6 21:47:28 2019 -0400

    Fix CID 213288: Dereference before null
---
 src/xfce-rr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xfce-rr.c b/src/xfce-rr.c
index 615dee2..4ca11cf 100644
--- a/src/xfce-rr.c
+++ b/src/xfce-rr.c
@@ -1066,7 +1066,7 @@ output_initialize (XfceRROutput        *output,
     g_print ("Output %lx Timestamp: %u\n", output->id, (guint32)info->timestamp);
 #endif
 
-    if (!info || !output->info) {
+    if (!info) {
         /* FIXME: see the comment in crtc_initialize() */
         /* Translators: here, an "output" is a video output */
         g_set_error (error, XFCE_RR_ERROR, XFCE_RR_ERROR_RANDR_ERROR,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list