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

topology: fix potential null pointer from strchr #91

Closed
wants to merge 1 commit into from

Conversation

aiChaoSONG
Copy link
Contributor

This patch adds check to the return pointer from strchr,
because it may be null and cause segment fault, if component
is not properly constructed.

Signed-off-by: Chao Song chao.song@linux.intel.com

This patch adds check to the return pointer from strchr,
because it may be null and cause segment fault, if component
is not properly constructed.

Signed-off-by: Chao Song <chao.song@linux.intel.com>
@perexg perexg closed this in 3d7a6fa Jun 2, 2021
@perexg
Copy link
Member

perexg commented Jun 2, 2021

Merged. Thank you for your contribution.

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.

None yet

2 participants