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

tinydtls: fix crash caused by null psk identity #322

Merged

Conversation

mkowalczyk88
Copy link
Contributor

If the PSK Identity is not set then application will crash while
trying to call strlen on NULL pointer. Check if PSK identity is
not null before using it.

Signed-off-by: [email protected]

If the PSK Identity is not set then application will crash while
trying to call strlen on NULL pointer. Check if PSK identity is
not null before using it.

Signed-off-by: <[email protected]>
@FlowM2MJenkinsCI
Copy link

Can someone verify this patch?

@boyvinall boyvinall merged commit b0bb074 into ConnectivityFoundry:master Dec 30, 2016
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