opencv/modules
Vincent Rabaud 94de7e5d21
Merge pull request #24042 from vrabaud:circle
Fix harmless ASAN error. #24042

For an empty radius, &v[0] would be accessed (though the called functions would not use it due to v.size() being 0). Also add checks for emptyness and fix the first element checks, in case we get INT_MAX to compare to.

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2023-07-26 20:00:22 +03:00
..
calib3d remove unused 2023-07-22 10:44:37 +01:00
core Disable warning C5054 in VS 2022 C++20 2023-07-26 09:23:32 +03:00
dnn Merge pull request #24043 from zixianweei:use-vaddq_f32-on-arm64 2023-07-25 11:41:09 +03:00
features2d Merge remote-tracking branch 'origin/3.4' into merge-3.4 2023-05-24 14:37:48 +03:00
flann Merge pull request #24028 from VadimLevin:dev/vlevin/fix-flann-python-bindings 2023-07-21 12:44:56 +03:00
gapi Merge pull request #24045 from TolyaTalamanov:at/add-onnx-directml-execution-provider 2023-07-26 16:00:20 +03:00
highgui Use OpenCV logging instead of std::cerr. 2023-07-19 10:49:54 +03:00
imgcodecs Use OpenCV logging instead of std::cerr. 2023-07-19 10:49:54 +03:00
imgproc Merge pull request #24042 from vrabaud:circle 2023-07-26 20:00:22 +03:00
java build: w/a compiler warnings for GCC 11-12 and Clang 13, reduce build output 2023-07-10 11:27:59 +03:00
js if browser supports wasm but only asm.js path provided use asm.js as fallback 2023-06-17 09:38:57 +03:00
ml Merge remote-tracking branch 'origin/3.4' into merge-3.4 2023-04-21 10:55:04 +03:00
objc Backport 5.x: Support for module names that start from digit in ObjC bindings generator. 2023-05-25 11:45:59 +03:00
objdetect update aruco bytesList docs 2023-07-13 13:50:07 +03:00
photo Deprecated convertTypeStr and made new variant that also takes the buffer size 2023-04-26 09:48:15 -04:00
python feat: add cuda_GpuMat to big types 2023-07-26 10:16:49 +03:00
stitching Merge pull request #23740 from Peekabooc:4.x 2023-06-09 13:40:02 +03:00
ts cuda: add SkipTestException handling 2023-07-17 18:03:40 +03:00
video Warning supression fix for XCode 13.1 and newer. Backport #23203 2023-02-06 11:12:05 +03:00
videoio Disable warning C5054 in VS 2022 C++20 2023-07-26 09:23:32 +03:00
world cmake: VERSION_GREATER_EQUAL is not supported in CMake 3.5.1 2022-12-26 17:41:53 +00:00