Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential use of undefined pointer in _dpexrt_python.c #965

Closed
diptorupd opened this issue Mar 10, 2023 · 0 comments · Fixed by #972
Closed

Potential use of undefined pointer in _dpexrt_python.c #965

diptorupd opened this issue Mar 10, 2023 · 0 comments · Fixed by #972
Assignees

Comments

@diptorupd
Copy link
Contributor

Identified by static analysis

Null pointer 'miobj' that comes from line 888 may be dereferenced at line 981./home/sat_bot/base/conda-bld/numba-dpex_1678416609610/work/numba_dpex/core/runtime/_dpexrt_python.c:981 |DPEXRT_sycl_usm_ndarray_to_python_acqref()

@diptorupd diptorupd self-assigned this Mar 10, 2023
@diptorupd diptorupd changed the title Use of Null pointer in _dpexrt_python.c Potential use of undefined pointer in _dpexrt_python.c Mar 11, 2023
oleksandr-pavlyk added a commit that referenced this issue Mar 13, 2023
Handle the case when arraystruct->meminfo is null to close gh-965
github-actions bot added a commit that referenced this issue Mar 13, 2023
Handle the case when arraystruct->meminfo is null to close gh-965 4c18ebd
github-actions bot added a commit to chudur-budur/numba-dpex that referenced this issue Mar 14, 2023
…by-scan-tool

Handle the case when arraystruct->meminfo is null to close IntelPythongh-965 4c18ebd
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 a pull request may close this issue.

1 participant