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

vxworks OS_GetPhysDeviceName() doesn't handle null pointer #114

Closed
skliper opened this issue Sep 30, 2019 · 3 comments
Closed

vxworks OS_GetPhysDeviceName() doesn't handle null pointer #114

skliper opened this issue Sep 30, 2019 · 3 comments

Comments

@skliper
Copy link
Contributor

skliper commented Sep 30, 2019

The vxworks OS_GetPhysDeviceName() in osfilesys.c doesn't check for a null pointer in its arguments.

Discovered with testing form trac-22 branch, [changeset:0f36fb6].

@skliper skliper self-assigned this Sep 30, 2019
@skliper
Copy link
Contributor Author

skliper commented Sep 30, 2019

Imported from trac issue 91. Created by abrown4 on 2015-07-24T20:44:18, last modified: 2015-12-01T14:32:29

@skliper
Copy link
Contributor Author

skliper commented Sep 30, 2019

Trac comment by dasp on 2015-08-04 17:17:07:

commit: [changeset:d5e07cda] Added NULL pointer checks and ensured string was null terminated after strncpy.

@skliper skliper added the bug label Sep 30, 2019
@skliper
Copy link
Contributor Author

skliper commented Sep 30, 2019

Trac comment by abrown4 on 2015-11-25 16:42:59:

(Note, other changes under #45 affected this changeset.)

Traceability: This change is reflected in #135 [changeset:093359f]. Recommend closing #114 in favor of the more up-to-date #135.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant