Fix out of bounds read when recalculating mipmaps, error reported by
authorAntony Riakiotakis <kalast@gmail.com>
Wed, 13 Aug 2014 17:07:28 +0000 (19:07 +0200)
committerAntony Riakiotakis <kalast@gmail.com>
Wed, 13 Aug 2014 17:07:45 +0000 (19:07 +0200)
commite05567ef3e72830abb2cd23c26b0bbc6139f0e1e
tree5c32af5da3894238d2de84c1728967ecf05a0b98
parentbe755f387336a0066baa0919b49e58ffc63607b1
Fix out of bounds read when recalculating mipmaps, error reported by
address sanitizer.

This was strangely only triggered when float buffers were used.
source/blender/imbuf/intern/scaling.c