Skip to content

Fix: memory access out of bound#3205

Merged
dyzheng merged 1 commit into
deepmodeling:developfrom
caic99:fix-bessel
Nov 15, 2023
Merged

Fix: memory access out of bound#3205
dyzheng merged 1 commit into
deepmodeling:developfrom
caic99:fix-bessel

Conversation

@caic99

@caic99 caic99 commented Nov 14, 2023

Copy link
Copy Markdown
Member

Array 'jl_new[100]' accessed at index 100, which is out of bounds.

This bug is reported by codacy, and I'm trying to use this static analysis tool. One can see the report here.

@caic99 caic99 requested a review from jinzx10 November 14, 2023 07:07
Comment thread source/module_base/math_sphbes.cpp
@dyzheng dyzheng merged commit 1144c0e into deepmodeling:develop Nov 15, 2023
@caic99 caic99 deleted the fix-bessel branch November 16, 2023 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants