Coder Social home page Coder Social logo

stableview's People

Contributors

denosaurabh avatar dependabot[bot] avatar shubhamai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

stableview's Issues

RUSTSEC-2022-0048: xml-rs is Unmaintained

xml-rs is Unmaintained

Details
Status unmaintained
Package xml-rs
Version 0.8.4
URL https://github.com/netvl/xml-rs/issues
Date 2022-01-26

xml-rs is a XML parser has open issues around parsing including integer
overflows / panics that may or may not be an issue with untrusted data.

Together with these open issues with Unmaintained status xml-rs
may or may not be suited to parse untrusted data.

Alternatives

See advisory page for additional details.

RUSTSEC-2024-0006: Multiple issues involving quote API

Multiple issues involving quote API

Details
Package shlex
Version 0.1.1
URL GHSA-r7qv-8r2h-pg27
Date 2024-01-21
Patched versions >=1.3.0

Issue 1: Failure to quote characters

Affected versions of this crate allowed the bytes { and \xa0 to appear
unquoted and unescaped in command arguments.

If the output of quote or join is passed to a shell, then what should be a
single command argument could be interpreted as multiple arguments.

This does not directly allow arbitrary command execution (you can't inject a
command substitution or similar). But depending on the command you're running,
being able to inject multiple arguments where only one is expected could lead
to undesired consequences, potentially including arbitrary command execution.

The flaw was corrected in version 1.2.1 by escaping additional characters.
Updating to 1.3.0 is recommended, but 1.2.1 offers a more minimal fix if
desired.

Workaround: Check for the bytes { and \xa0 in quote/join input or
output.

(Note: { is problematic because it is used for glob expansion. \xa0 is
problematic because it's treated as a word separator in specific
environments
.)

Issue 2: Dangerous API w.r.t. nul bytes

Version 1.3.0 deprecates the quote and join APIs in favor of try_quote
and try_join, which behave the same except that they have Result return
type, returning Err if the input contains nul bytes.

Strings containing nul bytes generally cannot be used in Unix command arguments
or environment variables, and most shells cannot handle nul bytes even
internally. If you try to pass one anyway, then the results might be
security-sensitive in uncommon scenarios. More details here.

Due to the low severity, the behavior of the original quote and join APIs
has not changed; they continue to allow nuls.

Workaround: Manually check for nul bytes in quote/join input or output.

Issue 3: Lack of documentation for interactive shell risks

The quote family of functions does not and cannot escape control characters.
With non-interactive shells this is perfectly safe, as control characters have
no special effect. But if you writing directly to the standard input of an
interactive shell (or through a pty), then control characters can cause
misbehavior including arbitrary command injection.

This is essentially unfixable, and has not been patched. But as of version
1.3.0, documentation has been added.

Future versions of shlex may add API variants that avoid the issue at the
cost of reduced portability.

See advisory page for additional details.

RUSTSEC-2021-0139: ansi_term is Unmaintained

ansi_term is Unmaintained

Details
Status unmaintained
Package ansi_term
Version 0.12.1
URL ogham/rust-ansi-term#72
Date 2021-08-18

The maintainer has adviced that this crate is deprecated and will not receive any maintenance.

The crate does not seem to have much dependencies and may or may not be ok to use as-is.

Last release seems to have been three years ago.

Possible Alternative(s)

The below list has not been vetted in any way and may or may not contain alternatives;

Dependency Specific Migration(s)

See advisory page for additional details.

Crashes under Proton; cannot find webcam

Logs

2024-02-01T19:50:33.115719Z  WARN StableView: Version 0.0.2 on windows
2024-02-01T19:50:33.116110Z  WARN StableView: The configuration file path is: "C:\\users\\deck\\AppData\\Roaming\\StableView\\config\\config.toml"
2024-02-01T19:51:03.752302Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.752557Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.754485Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.754517Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.755929Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.755962Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.757548Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.757570Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.758990Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.759715Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.761190Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.761582Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.762946Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.763159Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.764711Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.764910Z ERROR StableView::structs::app: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.769151Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.769313Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:03.771724Z  WARN StableView: Config : (config: (min_cutoff : 0.0025, beta: 0.01, ip: 127.0.0.1, port: 4242, fps: 60, selected_camera: No Device Found, hide_camera: true), camera_list: {}, headtracker_running: false, should_exit: false, version: 0.0.2)
2024-02-01T19:51:12.626300Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:12.626321Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:12.626327Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:12.626330Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:12.626334Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:12.626336Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:12.626339Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:12.626341Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:12.626344Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:12.626346Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:12.626349Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:12.626351Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:51:16.664162Z ERROR StableView::gui::app: Unable to find camera index, setting default to 0
2024-02-01T19:51:18.370775Z  WARN StableView::camera: Shutting down camera thread...
2024-02-01T19:51:20.305248Z ERROR StableView::gui::app: Unable to find camera index, setting default to 0
2024-02-01T19:52:03.545440Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.545531Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.547235Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.547453Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.550370Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.550540Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.559936Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.560029Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.569766Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.569905Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.580270Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.580346Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.590329Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.590724Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.600457Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.600553Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.610879Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.610957Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.621036Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.621268Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.634004Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.634206Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.640448Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.640903Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.652362Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.652513Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.658026Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.658104Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.671408Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.671531Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.693121Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.693231Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.702095Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.702147Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.840027Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.840201Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.849369Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.849441Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.858397Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.858466Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.865988Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.866188Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.874548Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.874645Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.882605Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.882694Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.892203Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.892348Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.900977Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.901040Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.911016Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.911134Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.920136Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.920209Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.929568Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.929635Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.939090Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.939157Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.949238Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.949443Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.957188Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.957248Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.964458Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.964572Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.973175Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.973381Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.980445Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.980569Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:03.988233Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:03.988301Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:29.227352Z  WARN StableView::camera: Shutting down camera thread...
2024-02-01T19:52:30.171354Z ERROR StableView::gui::app: Unable to find camera index, setting default to 0
2024-02-01T19:52:32.420391Z  WARN StableView::camera: Shutting down camera thread...
2024-02-01T19:52:36.233287Z ERROR StableView::gui::app: Unable to find camera index, setting default to 0
2024-02-01T19:52:37.340545Z  WARN StableView::camera: Shutting down camera thread...
2024-02-01T19:52:42.675114Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:52:42.675133Z ERROR StableView::gui::app: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:52:45.852315Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:45.884742Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:45.917292Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:45.976559Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:46.018452Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:46.068559Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:46.101744Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:46.169294Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:46.208403Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:46.359336Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:47.736286Z ERROR StableView::gui::app: Unable to find camera index, setting default to 0
2024-02-01T19:52:55.030182Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:52:55.031890Z  WARN winit::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared    
2024-02-01T19:52:57.481834Z  WARN StableView::camera: Shutting down camera thread...
2024-02-01T19:52:59.611827Z ERROR StableView::gui::app: Unable to find camera index, setting default to 0
2024-02-01T19:53:09.710366Z  WARN winit::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared    
2024-02-01T19:53:09.784050Z  WARN StableView::camera: Shutting down camera thread...
2024-02-01T19:53:12.672366Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:53:12.672384Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:53:12.672387Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:53:12.672389Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:53:12.672390Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:53:12.672392Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:53:12.672393Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:53:12.672395Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:53:12.672396Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:53:12.672397Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:53:12.672399Z ERROR StableView::camera: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:53:12.672401Z ERROR StableView::structs::state: Unable to read camera devices : InitializeError { backend: MediaFoundation, error: "0xC00D36E3" }
2024-02-01T19:53:14.237922Z ERROR StableView::gui::app: Unable to find camera index, setting default to 0
2024-02-01T19:53:42.229708Z  WARN StableView::camera: Shutting down camera thread...

Describe the bug

Hi,
Great project!

Tried it in Wine via Lutris, it shows the webcam output in the winder, yet it is not recognizing any device.

Steps to reproduce

On steamdeck,
Verify that the USB webcam works in Linux,
Install my webcam's driver in a game's Wine prefix by running the driver installer through "Run EXE inside Wine prefix",
Install StableView in a game's Wine prefix by running the installer through "Run EXE inside Wine prefix",
finish the install,
start StableView now installed, via "Run EXE inside Wine prefix",
click on "show camera", see the led of the camera (Logi HD Pro c920) on, see the camera output on StableView,
yet StableView shows "No device found" on dropdown menu.
There doesn't seem to be any UDP output towards 127.0.01:4242.

References (optional)

No response

Additional info (optional)

No response

Discord Username (optional)

No response

RUSTSEC-2020-0071: Potential segfault in the time crate

Potential segfault in the time crate

Details
Package time
Version 0.1.45
URL time-rs/time#293
Date 2020-11-18
Patched versions >=0.2.23
Unaffected versions =0.2.0,=0.2.1,=0.2.2,=0.2.3,=0.2.4,=0.2.5,=0.2.6

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

The affected functions from time 0.2.7 through 0.2.22 are:

  • time::UtcOffset::local_offset_at
  • time::UtcOffset::try_local_offset_at
  • time::UtcOffset::current_local_offset
  • time::UtcOffset::try_current_local_offset
  • time::OffsetDateTime::now_local
  • time::OffsetDateTime::try_now_local

The affected functions in time 0.1 (all versions) are:

  • at
  • at_utc
  • now

Non-Unix targets (including Windows and wasm) are unaffected.

Patches

Pending a proper fix, the internal method that determines the local offset has been modified to always return None on the affected operating systems. This has the effect of returning an Err on the try_* methods and UTC on the non-try_* methods.

Users and library authors with time in their dependency tree should perform cargo update, which will pull in the updated, unaffected code.

Users of time 0.1 do not have a patch and should upgrade to an unaffected version: time 0.2.23 or greater or the 0.3 series.

Workarounds

No workarounds are known.

See advisory page for additional details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.