[Debian-med-packaging] Bug#731435: warning: iteration 55823u invokes undefined behavior [-Waggressive-loop-optimizations]

Alberto Garcia berto at igalia.com
Sun Apr 5 19:22:08 BST 2020


On Thu, Dec 05, 2013 at 02:00:59PM +0100, Mathieu Malaterre wrote:
> /«PKGBUILDDIR»/Utilities/gdcmjpeg/jccolor.c: In function 'rgb_ycc_start':
> /«PKGBUILDDIR»/Utilities/gdcmjpeg/jccolor.c:99:43: warning: iteration
> 55823u invokes undefined behavior [-Waggressive-loop-optimizations]
>      rgb_ycc_tab[i+G_Y_OFF] = FIX(0.58700) * i;
>                                            ^
> /«PKGBUILDDIR»/Utilities/gdcmjpeg/jccolor.c:97:3: note: containing loop
>    for (i = 0; i <= MAXJSAMPLE; i++) {
>    ^

This has already been reported upstream, and it seems exactly the same
as #731433, which was fixed upstream in DCMTK:

   https://support.dcmtk.org/redmine/issues/759

Berto



More information about the Debian-med-packaging mailing list