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

tplay, plugins: path limits are not handled correctly #21

Closed
juanrubio opened this issue Mar 16, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@juanrubio
Copy link
Collaborator

commented Mar 16, 2014

Currently, paths in uris are limited to OMX_MAX_STRINGNAME_SIZE characters.

p_uritype = (OMX_PARAM_CONTENTURITYPE *) 
tiz_mem_calloc (1, sizeof(OMX_PARAM_CONTENTURITYPE) + OMX_MAX_STRINGNAME_SIZE)))

This is clearly insufficient. The system limits like PATH_MAX, NAME_MAX, or pathconf should be used to calculate the limits when allocating memory for uris.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.