New Defects reported by Coverity Scan for digiKam

scan-admin at coverity.com scan-admin at coverity.com
Sat Jun 6 14:08:45 BST 2020


Hi,

Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan.

1 new defect(s) introduced to digiKam found with Coverity Scan.
6 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1464008:  Incorrect expression  (PW.ASSIGN_WHERE_COMPARE_MEANT)
/mnt/devel/GIT/7.x/core/libs/rawengine/libraw/src/metadata/tiff.cpp: 1678 in ()


________________________________________________________________________________________________________
*** CID 1464008:  Incorrect expression  (PW.ASSIGN_WHERE_COMPARE_MEANT)
/mnt/devel/GIT/7.x/core/libs/rawengine/libraw/src/metadata/tiff.cpp: 1678 in ()
1672               continue; // SKIP RGB+Alpha IFDs
1673     
1674           if ((tiff_ifd[i].comp != 6 || tiff_ifd[i].samples != 3) &&
1675                 unsigned(tiff_ifd[i].t_width | tiff_ifd[i].t_height) < 0x10000 &&
1676                 (unsigned)tiff_ifd[i].bps < 33 &&
1677                 (unsigned)tiff_ifd[i].samples < 13 && ns &&
>>>     CID 1464008:  Incorrect expression  (PW.ASSIGN_WHERE_COMPARE_MEANT)
>>>     use of "=" where "==" may have been intended
1678                 ((ns > os && (ties = 1)) || (ns == os && (int)shot_select == ties++)))
1679             {
1680             raw_width = tiff_ifd[i].t_width;
1681             raw_height = tiff_ifd[i].t_height;
1682             tiff_bps = tiff_ifd[i].bps;
1683             tiff_compress = tiff_ifd[i].comp;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teExFxByfkNnczn62-2Fi7fqgWZX-2BbNxhtyL5c9g-2BPgAq7MT77OPXJ5d6pc1EDZ78vhX68-3Dpe0P_IpEMwFcbl-2BY9RHaL2m6a3nuAxB4hfm4MTniX0gHjADUzQHCjLhn8OUmNPhp6eeMopx-2F8ieHvcsfn-2FzahA7WZL9h9ZbelBoUoNz0qwPmNbMShykLLWVpES2oNxeKya6MYZ2pMTgNLNCeFsTLu9THD9a8FK8PzPDEAtJ593i1cKwNeUHd34AYvXy327sY9BBD8Hf7nL3Etq94A2l-2B8JAoyPg-3D-3D



More information about the Digikam-devel mailing list