]> granicus.if.org Git - openjpeg/commit
Cast to size_t before multiplication
authorMatthieu Darbois <mayeut@users.noreply.github.com>
Thu, 8 Sep 2016 05:34:46 +0000 (07:34 +0200)
committerGitHub <noreply@github.com>
Thu, 8 Sep 2016 05:34:46 +0000 (07:34 +0200)
commitef01f18dfc6780b776d0674ed3e7415c6ef54d24
tree088acde162256dd62d6eb99ace5c26b901f13c3a
parente078172b1c3f98d2219c37076b238fb759c751ea
Cast to size_t before multiplication

Need to cast to size_t before multiplication otherwise overflow check is useless.
src/lib/openjp2/pi.c