Files
opencv-MIRROR/modules
Parchuri Poojith Kumar aa49235f97 objdetect: validate the QR encoder version and correction level
QRCodeEncoder::create accepted any version and any correction level, and a version outside of [0, 40] or an unknown level made the encoder read or write out of range. Check the version with CV_CheckGE and CV_CheckLE and the level with CV_Check in the constructor, so that the encoder raises an error. This is the same change and the same tests as #31042 on 4.x.
2026-11-28 18:51:48 +05:30
..