eina log - keep coverity happy with potential ptr comparison overflow
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 6 Aug 2016 06:50:17 +0000 (15:50 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 6 Aug 2016 06:50:17 +0000 (15:50 +0900)
commit20c6bd296bf5ff41f08c366fd250c9c8a4821acd
treebdd0118d1cdcd8859cfd9f23c62e676bb867e8e2
parent15e34ffe1593436b5b551a445c20a0a9208574af
eina log - keep coverity happy with potential ptr comparison overflow

fixes CID 1361220

in theory yes end minus start could be insanely huge or end be very
high in memory thus causing an overflow. this would have to be in the
last few bytes of memory space, so it never going to happen. and the
input from the env var has to be sane anyway as its user controlled.

@fix
src/lib/eina/eina_log.c