Skip to content

Conversation

@jazzychad
Copy link
Contributor

Adds two guard statements in relevant methods in UVCControl.swift so
that casting a negative uvcUnit Int to UInt16 no longer crashes the
app.

Adds two guard statements in relevant methods in UVCControl.swift so
that casting a negative `uvcUnit` Int to UInt16 no longer crashes the
app.
Copy link
Owner

@itaybre itaybre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for finding the issue

@itaybre itaybre merged commit 021ec45 into itaybre:master Apr 29, 2022
@itaybre itaybre added this to the 1.4.0 milestone May 5, 2022
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.

2 participants