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

Preload : Resolving the buffer accessed out of bound issue #93

Closed
anankulk opened this issue Oct 23, 2024 · 0 comments · Fixed by #126
Closed

Preload : Resolving the buffer accessed out of bound issue #93

anankulk opened this issue Oct 23, 2024 · 0 comments · Fixed by #126

Comments

@anankulk
Copy link

While packing shared buffer with names of all shared objects present in custom DSP_LIBRARY_PATH , their is a possibility of buffer overflow if the shared object names are exceeding the desired limit. The change makes sure the limit is not exceeded thus avoiding buffer overflow. Also, the buffer was allocated with 1KB memory which might fall short to accommodate all the needed shared object names so, increasing this size to 2KB.

Also, the delimiter used to separate the share object names is changed from ":" to ";" as its the one used to set the multiple paths while exporting the DSP_LIBRARY_PATH.

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