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

Out-of-bounds access in libuvc #683

Closed
qwertychouskie opened this issue Sep 11, 2023 · 1 comment
Closed

Out-of-bounds access in libuvc #683

qwertychouskie opened this issue Sep 11, 2023 · 1 comment

Comments

@qwertychouskie
Copy link

libuvc/libuvc#211

Would be good to get this fix included in the SDK's copy of libuvc. We hit an intermittent low-level crash last season when using 3 cameras, and this seems to be the most likely cause.

@Windwoes
Copy link
Member

The use of libuvc in the SDK does not include the uvc_yuyv2bgr() function to my knowledge, though I'd have to do a reference search to be sure. The raw yuyv or mjpeg buffer is handed to EasyOpenCV, where it is handed to either OpenCV to do the conversion to RGBA (in the case of yuy2) or to libjpeg-turbo (in the case of mjpeg).

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

No branches or pull requests

2 participants