Skip to content

Commit

Permalink
FINAL CUT icon update
Browse files Browse the repository at this point in the history
  • Loading branch information
gansm committed Sep 27, 2024
1 parent 8a35abe commit d09349c
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 13 deletions.
4 changes: 2 additions & 2 deletions examples/eventloop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ auto main() -> int
<< std::endl;
loop.leave();
Global::wait = false;
backend_thread.join(); // Wait to finish thread
backend_thread.join(); // Wait for end of thread
}
, nullptr );

Expand All @@ -132,7 +132,7 @@ auto main() -> int
<< std::endl;
loop.leave();
Global::wait = false;
backend_thread.join(); // Wait to finish thread
backend_thread.join(); // Wait for end of thread
}
, nullptr );

Expand Down
Binary file modified misc/icon/16x16/finalcut.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified misc/icon/24x24/finalcut.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified misc/icon/256x256/finalcut.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified misc/icon/32x32/finalcut.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified misc/icon/48x48/finalcut.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion misc/icon/scalable/finalcut.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions test/eventloop-monitor-test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1109,16 +1109,11 @@ void EventloopMonitorTest::enableFakingInput()
//--------------------------------------------------------------------

static const auto& fsystem = finalcut::FSystem::getInstance();
struct stat buffer{};

// Check for root privileges
if ( fsystem->getuid() != 0 )
return;

// Check if /proc/sys/dev/tty/legacy_tiocsti exists
if ( ::stat("/proc/sys/dev/tty/legacy_tiocsti", &buffer) != 0)
return;

// Open the sysctl variable "dev.tty.legacy_tiocsti"
int fd = ::open("/proc/sys/dev/tty/legacy_tiocsti", O_WRONLY);

Check notice on line 1118 in test/eventloop-monitor-test.cpp

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

test/eventloop-monitor-test.cpp#L1118

Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362).

Expand Down
5 changes: 0 additions & 5 deletions test/fkeyboard-test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3195,16 +3195,11 @@ void FKeyboardTest::enableFakingInput()
//--------------------------------------------------------------------

static const auto& fsystem = finalcut::FSystem::getInstance();
struct stat buffer{};

// Check for root privileges
if ( fsystem->getuid() != 0 )
return;

// Check if /proc/sys/dev/tty/legacy_tiocsti exists
if ( ::stat("/proc/sys/dev/tty/legacy_tiocsti", &buffer) != 0)
return;

// Open the sysctl variable "dev.tty.legacy_tiocsti"
int fd = ::open("/proc/sys/dev/tty/legacy_tiocsti", O_WRONLY);

Check notice on line 3204 in test/fkeyboard-test.cpp

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

test/fkeyboard-test.cpp#L3204

Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362).

Expand Down

0 comments on commit d09349c

Please sign in to comment.