imgcodecs(bmp): limit size of processed images
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Sun, 31 Mar 2019 10:43:30 +0000 (10:43 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Sun, 31 Mar 2019 10:52:33 +0000 (10:52 +0000)
commitccb89a889a322f60c8fe73400a8f3dc929bcc6c7
treed8fb087fe72bc27b5e686a028060e18b967dc2fc
parent6316b3ed915c5e45f667e3a630b44023d5722746
imgcodecs(bmp): limit size of processed images

2Gb+ images can't be handled properly by current implementation

backporting of commit: 50a6f9d251bfe9c3aec6c977391f38a7b790fe4c
modules/imgcodecs/src/grfmt_bmp.cpp