Another Coverity issue found yesterday.
-------- Forwarded Message --------
Subject: New Defects reported by Coverity Scan for Enlightenment
Foundation Libraries
Date: Tue, 12 May 2020 19:23:50 +0000 (UTC)
From: scan-ad...@coverity.com
To: ste...@datenfreihafen.org
Hi,
Please find the latest report on new defect(s) introduced to
Enlightenment Foundation Libraries found with Coverity Scan.
1 new defect(s) introduced to Enlightenment Foundation Libraries found
with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1428799: Null pointer dereferences (REVERSE_INULL)
/src/lib/evas/canvas/efl_canvas_object_animation.c: 151 in
_efl_canvas_object_animation_animation_pause_set()
________________________________________________________________________________________________________
*** CID 1428799: Null pointer dereferences (REVERSE_INULL)
/src/lib/evas/canvas/efl_canvas_object_animation.c: 151 in
_efl_canvas_object_animation_animation_pause_set()
145 if (pd->in->pause_state == pause) return;
146 147 if (pause)
148 _end(obj, pd);
149 else
150 _start(obj, pd,(pd->in->speed < 0) ? 1.0 - pd->in->progress
: pd->in->progress);
CID 1428799: Null pointer dereferences (REVERSE_INULL)
Null-checking "pd->in" suggests that it may be null, but it has already
been dereferenced on all paths leading to the check.
151 if (pd->in) pd->in->pause_state = pause;
152 }
153 154 EOLIAN static Eina_Bool
155 _efl_canvas_object_animation_animation_pause_get(const Eo *obj
EINA_UNUSED, Efl_Canvas_Object_Animation_Data *pd)
156 {
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teExl4Ru1vqXvuwTryVO2Nj02BDTXle-2BVhCv8FT7jqbi77HUQo-2FVd-2B1-2F-2BoakUp0ZyUERYinKunD4dh9MAw6ivIOiF3way_JmTL-2B48xyW7Yn2O51uC4ogY6X2-2FLHNxtv4FHC5fbQZiOqqn-2B8yMi01VrcreZMpiy1pqluJg0cIBTqbOGT0olKXA2sTYzZsYwLvOuuwlqVQ9pxskQwByyPebw0MCpxMOfyopOQMI-2F99uVMlK9mh4XKiF22T-2B-2F4wFpCOtXYC6fi6OGjs-2FqoGkFL7K11959W5foikVh9gBIc2mwRPFi9NuVwB2pHqzQpJpVsp-2FOhNV497YqcVjd6GZnPCNrl1Q-2BoSAX
To manage Coverity Scan email notifications for
"ste...@datenfreihafen.org", click
https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teEwKPNNrzEFiIgTetQBd7l2Xvx3RmExSxSary1NKqbYJzvAYN6rIwjwlzCIDsnVxKIs1IsiMKrMudAasp4-2BXTMe-2BsMV5Xf019f-2BnGDivW0l0gdQKwBmPFehuj-2Bg1WWnyp1U-3Dcrw4_JmTL-2B48xyW7Yn2O51uC4ogY6X2-2FLHNxtv4FHC5fbQZiOqqn-2B8yMi01VrcreZMpiy1pqluJg0cIBTqbOGT0olKQ7PTtNE3RGjuLvU2yo9RbifuZAT5nJRpW7a3XFwmon1Uz5RanP-2FDLMHoLjHaEGADRJRuAqI1L5VScqxlimAQRDp-2BJLWkBxIQ1SQreXY1N864DxsAvcqgax6U2rXIVdYM69UgIksRC-2FQ7coimRc4LNVCeQKbOpEs2rnWBy5zRBVB
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel