Skip to content

Einsum buffer allocation fix#26059

Merged
asmorkalov merged 2 commits intoopencv:4.xfrom
Abdurrahheem:ash/fix-einsum-allocation
Aug 23, 2024
Merged

Einsum buffer allocation fix#26059
asmorkalov merged 2 commits intoopencv:4.xfrom
Abdurrahheem:ash/fix-einsum-allocation

Conversation

@Abdurrahheem
Copy link
Copy Markdown
Contributor

@Abdurrahheem Abdurrahheem commented Aug 22, 2024

This PR fixed buffer allocation issue in Einsum layer that causes segmentation fault on 32bit platforms. Related issue #26008

Pull Request Readiness Checklist

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

  • I agree to contribute to the project under Apache 2 License.
  • 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
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@Abdurrahheem Abdurrahheem added this to the 5.0 milestone Aug 22, 2024
@Abdurrahheem Abdurrahheem self-assigned this Aug 22, 2024
@Abdurrahheem Abdurrahheem marked this pull request as ready for review August 23, 2024 04:23
@Abdurrahheem Abdurrahheem modified the milestones: 5.0, 4.11.0 Aug 23, 2024
@asmorkalov asmorkalov merged commit e5b871f into opencv:4.x Aug 23, 2024
@asmorkalov asmorkalov mentioned this pull request Aug 27, 2024
thewoz pushed a commit to CobbsLab/OPENCV that referenced this pull request Feb 13, 2025
…cation

Einsum buffer allocation fix opencv#26059

This PR fixed buffer allocation issue in Einsum layer that causes segmentation fault on 32bit platforms. Related issue opencv#26008 

### 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants