mirror of
https://github.com/opencv/opencv.git
synced 2026-09-11 04:43:22 -05:00
fix: V-004 security vulnerability
Automated security fix generated by OrbisAI Security
This commit is contained in:
@@ -189,7 +189,7 @@ int bilateralFilter(const uchar* src_data, size_t src_step,
|
||||
|
||||
// calculate source border
|
||||
std::vector<uchar> padding;
|
||||
padding.resize(cal_width * cal_height * cn);
|
||||
padding.resize((size_t)cal_width * cal_height * cn);
|
||||
uchar* pad_data = &padding[0];
|
||||
int pad_step = cal_width * cn;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user