Skip to content

Fix the fault exception issue in socket_recvfrom #8988

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

Closed
wants to merge 2 commits into from

Conversation

tz-arm
Copy link
Contributor

@tz-arm tz-arm commented Dec 6, 2018

Description

Fix the fault exception issue in socket_recvfrom().
It is caused by the null pointer parameter as SocketAddress *addr.
e.g. socket_recv() -> socket_recvfrom(handle, NULL, data, size);

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

@ciarmcom
Copy link
Member

ciarmcom commented Dec 6, 2018

@tz-arm, thank you for your changes.
@ARMmbed/mbed-os-wan @ARMmbed/mbed-os-maintainers please review.

@adbridge
Copy link
Contributor

adbridge commented Dec 7, 2018

@tz-arm this is raised against the wrong branch. For mbed-os it needs to go to master

@tz-arm
Copy link
Contributor Author

tz-arm commented Dec 10, 2018

@adbridge thanks for your reminder, I will create a separate pull request to master.

@cmonr
Copy link
Contributor

cmonr commented Dec 10, 2018

Thanks @tz-arm.
Closing this in favor of #9025

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.

6 participants