Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/cinnamon-session-4.6.2/cinnamon-session/cs-idle-monitor.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/cs-idle-monitor.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-app.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-app.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-autostart-app.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-autostart-app.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-client.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-client.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-dbus-client.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-dbus-client.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-fail-whale-dialog.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-fail-whale-dialog.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-icon-names.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-inhibit-dialog.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-inhibit-dialog.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-inhibitor.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-inhibitor.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-logout-dialog.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-logout-dialog.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-presence.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-presence.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-process-helper.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-process-helper.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-session-fill.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-session-fill.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-session-save.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-session-save.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-store.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-store.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-util.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-util.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-xsmp-client.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-xsmp-client.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-xsmp-server.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-xsmp-server.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/main.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/mdm-log.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/mdm-log.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/mdm-signal-handler.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/mdm-signal-handler.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/mdm.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/mdm.h
Examining data/cinnamon-session-4.6.2/cinnamon-session/test-client-dbus.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/test-inhibit.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/test-process-helper.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/test-session-proxy-monitor.c
Examining data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c
Examining data/cinnamon-session-4.6.2/egg/eggdesktopfile.c
Examining data/cinnamon-session-4.6.2/egg/eggdesktopfile.h
Examining data/cinnamon-session-4.6.2/egg/eggsmclient-private.h
Examining data/cinnamon-session-4.6.2/egg/eggsmclient-xsmp.c
Examining data/cinnamon-session-4.6.2/egg/eggsmclient.c
Examining data/cinnamon-session-4.6.2/egg/eggsmclient.h
Examining data/cinnamon-session-4.6.2/tools/cinnamon-session-check-accelerated-helper.c
Examining data/cinnamon-session-4.6.2/tools/cinnamon-session-check-accelerated.c
Examining data/cinnamon-session-4.6.2/tools/cinnamon-session-quit.c

FINAL RESULTS:

data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:358:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_consolekit_attempt_restart (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:360:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *manager = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:397:41:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_consolekit_attempt_stop (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:399:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *manager = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:414:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_consolekit_set_session_idle (CsmSystem *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:417:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *manager = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:487:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_consolekit_can_switch_user (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:489:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *manager = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:501:40:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_consolekit_can_restart (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:503:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *manager = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:527:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_consolekit_can_stop (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:529:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *manager = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:579:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_consolekit_is_login_session (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:581:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *manager = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:604:40:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_consolekit_can_suspend (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:607:53:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *consolekit = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:610:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *manager = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:641:42:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_consolekit_can_hibernate (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:644:53:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *consolekit = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:647:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *manager = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:716:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_consolekit_suspend (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:719:53:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *consolekit = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:729:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *manager = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:743:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_consolekit_hibernate (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:746:53:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *consolekit = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:756:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *manager = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:804:49:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_consolekit_add_inhibitor (CsmSystem        *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:808:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *manager = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:833:47:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_consolekit_remove_inhibitor (CsmSystem   *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:836:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmConsolekit *manager = CSM_CONSOLEKIT (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-consolekit.c:851:53:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_consolekit_is_last_session_for_user (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-logout-dialog.c:51:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystem           *system;
data/cinnamon-session-4.6.2/cinnamon-session/csm-logout-dialog.c:166:47:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        g_clear_object (&logout_dialog->priv->system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-logout-dialog.c:189:60:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        ret = csm_system_can_restart (logout_dialog->priv->system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-logout-dialog.c:202:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        ret = csm_system_can_stop (logout_dialog->priv->system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-logout-dialog.c:268:64:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if (!csm_system_is_login_session (logout_dialog->priv->system)) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-logout-dialog.c:386:66:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                if (csm_system_can_suspend (logout_dialog->priv->system)) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-logout-dialog.c:392:68:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                if (csm_system_can_hibernate (logout_dialog->priv->system)) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:157:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystem              *system;
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:270:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if (csm_system_is_login_session (manager->priv->system)) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:457:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
quit_request_failed (CsmSystem *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:481:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                g_signal_connect (manager->priv->system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:485:60:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                csm_system_attempt_restart (manager->priv->system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:495:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                g_signal_connect (manager->priv->system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:499:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                csm_system_attempt_stop (manager->priv->system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:937:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystem *system;
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:950:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if (!csm_system_is_last_session_for_user (system))
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:1142:20:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        FILE *fp = popen(command, "r");
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:1279:54:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if (csm_system_can_hibernate (manager->priv->system)) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:1280:54:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                csm_system_hibernate (manager->priv->system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:1292:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            csm_system_can_hybrid_sleep (manager->priv->system)) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:1293:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                csm_system_hybrid_sleep (manager->priv->system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:1294:59:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        } else if (csm_system_can_suspend (manager->priv->system)) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:1295:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                csm_system_suspend (manager->priv->system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:2308:67:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                             (csm_system_can_stop (manager->priv->system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:2309:73:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                              || csm_system_can_restart (manager->priv->system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:2310:73:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                              || csm_system_can_suspend (manager->priv->system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:2311:75:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                              || csm_system_can_hibernate (manager->priv->system));
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:2955:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if (csm_system_is_login_session (manager->priv->system))
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:3347:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        csm_system_add_inhibitor (manager->priv->system, id,
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:3379:53:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        csm_system_remove_inhibitor (manager->priv->system, id);
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:3459:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if (manager->priv->system != NULL) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:3460:48:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                g_object_unref (manager->priv->system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:3542:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystem *system;
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:3545:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        csm_system_set_session_idle (system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:3547:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        g_object_unref (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-session-fill.c:185:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystem *system;
data/cinnamon-session-4.6.2/cinnamon-session/csm-session-fill.c:189:49:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        is_login = csm_system_is_login_session (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-session-fill.c:190:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        g_object_unref (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:68:40:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_can_switch_user (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:70:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->can_switch_user (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:70:64:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->can_switch_user (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:74:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_can_stop (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:76:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->can_stop (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:76:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->can_stop (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:80:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_can_restart (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:82:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->can_restart (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:82:60:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->can_restart (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:86:41:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_can_hybrid_sleep (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:88:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->can_hybrid_sleep (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:88:65:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->can_hybrid_sleep (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:92:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_can_suspend (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:94:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->can_suspend (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:94:60:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->can_suspend (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:98:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_can_hibernate (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:100:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->can_hibernate (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:100:62:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->can_hibernate (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:104:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_attempt_stop (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:106:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->attempt_stop (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:106:54:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->attempt_stop (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:110:40:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_attempt_restart (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:112:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->attempt_restart (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:112:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->attempt_restart (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:116:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_hybrid_sleep (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:118:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->hybrid_sleep (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:118:54:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->hybrid_sleep (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:122:32:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_suspend (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:124:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->suspend (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:124:49:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->suspend (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:128:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_hibernate (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:130:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->hibernate (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:130:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->hibernate (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:134:41:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_set_session_idle (CsmSystem *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:137:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->set_session_idle (system, is_idle);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:137:58:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->set_session_idle (system, is_idle);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:141:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_add_inhibitor (CsmSystem        *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:145:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->add_inhibitor (system, id, flag);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:145:55:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->add_inhibitor (system, id, flag);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:149:43:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_remove_inhibitor (CsmSystem   *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:152:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->remove_inhibitor (system, id);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:152:58:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CSM_SYSTEM_GET_IFACE (system)->remove_inhibitor (system, id);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:156:41:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_is_login_session (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:158:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->is_login_session (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:158:65:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->is_login_session (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:162:49:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_system_is_last_session_for_user (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:164:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->is_last_session_for_user (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:164:73:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return CSM_SYSTEM_GET_IFACE (system)->is_last_session_for_user (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:176:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                if (system != NULL) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:183:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                        if (system != NULL) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.c:189:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return g_object_ref (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:49:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        void (* request_completed)    (CsmSystem *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:52:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        gboolean (* can_switch_user)  (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:53:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        gboolean (* can_stop)         (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:54:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        gboolean (* can_restart)      (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:55:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        gboolean (* can_hybrid_sleep) (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:56:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        gboolean (* can_suspend)      (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:57:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        gboolean (* can_hibernate)    (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:58:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        void     (* attempt_stop)     (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:59:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        void     (* attempt_restart)  (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:60:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        void     (* hybrid_sleep)     (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:61:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        void     (* suspend)          (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:62:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        void     (* hibernate)        (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:63:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        void     (* set_session_idle) (CsmSystem *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:65:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        gboolean (* is_login_session) (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:66:58:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        void     (* add_inhibitor)    (CsmSystem        *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:69:58:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        void     (* remove_inhibitor) (CsmSystem        *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:71:59:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        gboolean (* is_last_session_for_user) (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:85:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
gboolean   csm_system_can_switch_user  (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:87:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
gboolean   csm_system_can_stop         (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:89:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
gboolean   csm_system_can_restart      (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:91:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
gboolean   csm_system_can_hybrid_sleep (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:93:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
gboolean   csm_system_can_suspend      (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:95:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
gboolean   csm_system_can_hibernate    (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:97:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void       csm_system_attempt_stop     (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:99:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void       csm_system_attempt_restart  (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:101:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void       csm_system_hybrid_sleep     (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:103:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void       csm_system_suspend          (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:105:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void       csm_system_hibernate        (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:107:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void       csm_system_set_session_idle (CsmSystem *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:110:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
gboolean   csm_system_is_login_session (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:112:60:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
gboolean   csm_system_is_last_session_for_user (CsmSystem *system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:114:59:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void       csm_system_add_inhibitor    (CsmSystem        *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-system.h:118:59:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void       csm_system_remove_inhibitor (CsmSystem        *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:198:41:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_attempt_restart (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:202:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:236:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_attempt_stop (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:240:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:253:42:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_set_session_idle (CsmSystem *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:256:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:274:41:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_can_switch_user (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:276:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:288:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_can_restart (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:290:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:320:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_can_stop (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:322:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:352:42:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_is_login_session (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:354:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:377:42:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_can_hybrid_sleep (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:379:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:409:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_can_suspend (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:411:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:441:39:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_can_hibernate (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:443:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:530:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_hybrid_sleep (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:532:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:545:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_suspend (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:547:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:560:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_hibernate (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:562:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:609:46:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_add_inhibitor (CsmSystem        *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:613:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:638:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_remove_inhibitor (CsmSystem   *system,
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:641:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        CsmSystemd *manager = CSM_SYSTEMD (system);
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:656:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
csm_systemd_is_last_session_for_user (CsmSystem *system)
data/cinnamon-session-4.6.2/cinnamon-session/csm-systemd.c:742:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if (access("/run/systemd/seats/", F_OK) < 0) // sd_booted ()
data/cinnamon-session-4.6.2/cinnamon-session/main.c:185:14:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if (!execvp ("dbus-launch", new_argv)) {
data/cinnamon-session-4.6.2/cinnamon-session/mdm-signal-handler.c:204:17:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                execl (LIBEXECDIR "/mdm-crash-logger",
data/cinnamon-session-4.6.2/cinnamon-session/mdm.c:258:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy (addr.sun_path, MDM_PROTOCOL_SOCKET_PATH);
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:1440:27:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        cookie = (guint32)g_random_int_range (1, G_MAXINT32);
data/cinnamon-session-4.6.2/cinnamon-session/csm-util.c:485:25:  [3] (random) g_random_int:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                rand1 = g_random_int ();
data/cinnamon-session-4.6.2/cinnamon-session/csm-util.c:486:25:  [3] (random) g_random_int:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                rand2 = g_random_int ();
data/cinnamon-session-4.6.2/cinnamon-session/csm-autostart-app.c:1100:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char            *env[2] = { NULL, NULL };
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:4088:58:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                                        (char *)internal_provides[i]);
data/cinnamon-session-4.6.2/cinnamon-session/csm-xsmp-server.c:480:14:  [2] (misc) fopen:
  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).
        fp = fopen (filename, "r+");
data/cinnamon-session-4.6.2/cinnamon-session/csm-xsmp-server.c:516:22:  [2] (misc) open:
  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).
                fd = open (filename, O_CREAT | O_WRONLY, 0600);
data/cinnamon-session-4.6.2/cinnamon-session/csm-xsmp-server.c:560:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char   error[256];
data/cinnamon-session-4.6.2/cinnamon-session/mdm-signal-handler.c:102:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char     buf[256];
data/cinnamon-session-4.6.2/cinnamon-session/mdm.c:84:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[256];
data/cinnamon-session-4.6.2/cinnamon-session/mdm.c:189:19:  [2] (misc) fopen:
  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).
        if (!(f = fopen (xau_path, "r"))) {
data/cinnamon-session-4.6.2/cinnamon-session/mdm.c:197:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buffer[40]; /* 2*16 == 32, so 40 is enough */
data/cinnamon-session-4.6.2/cinnamon-session/mdm.c:260:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy (addr.sun_path, "/tmp/.mdm_socket");
data/cinnamon-session-4.6.2/cinnamon-session/test-process-helper.c:43:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                int i = atoi (argv[2]);
data/cinnamon-session-4.6.2/egg/eggsmclient-xsmp.c:208:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pid_str[64];
data/cinnamon-session-4.6.2/egg/eggsmclient-xsmp.c:319:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char error_string_ret[256];
data/cinnamon-session-4.6.2/egg/eggsmclient-xsmp.c:875:12:  [2] (misc) open:
  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).
      fd = open (state_file_path, O_WRONLY | O_CREAT | O_EXCL, 0644);
data/cinnamon-session-4.6.2/tools/cinnamon-session-check-accelerated-helper.c:103:20:  [2] (misc) fopen:
  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).
        kcmdline = fopen("/proc/cmdline", "r");
data/cinnamon-session-4.6.2/tools/cinnamon-session-check-accelerated-helper.c:174:21:  [2] (misc) fopen:
  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).
        blacklist = fopen(PKGDATADIR "/hardware-compatibility", "r");
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:2687:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (new_owner) == 0 && strlen (old_owner) > 0) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:2687:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (new_owner) == 0 && strlen (old_owner) > 0) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:2691:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    } else if (strlen (old_owner) == 0 && strlen (new_owner) > 0) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-manager.c:2691:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    } else if (strlen (old_owner) == 0 && strlen (new_owner) > 0) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-presence.c:112:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (status_text != NULL && strlen (status_text) > MAX_STATUS_TEXT) {
data/cinnamon-session-4.6.2/cinnamon-session/csm-xsmp-server.c:602:23:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        saved_umask = umask (0);
data/cinnamon-session-4.6.2/cinnamon-session/csm-xsmp-server.c:603:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask (saved_umask);
data/cinnamon-session-4.6.2/cinnamon-session/csm-xsmp-server.c:612:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask (saved_umask);
data/cinnamon-session-4.6.2/cinnamon-session/mdm.c:90:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (write (data->fd, p, strlen (p)) < 0) {
data/cinnamon-session-4.6.2/cinnamon-session/mdm.c:104:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while ((len = read (data->fd, buf, sizeof (buf) - 1)) > 0) {
data/cinnamon-session-4.6.2/cinnamon-session/mdm.c:289:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (!response || strncmp (response, "MDM ", strlen ("MDM ")) != 0) {
data/cinnamon-session-4.6.2/cinnamon-session/mdm.c:333:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                len = strlen (str);
data/cinnamon-session-4.6.2/egg/eggsmclient-xsmp.c:1153:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      pv.length = strlen (value);
data/cinnamon-session-4.6.2/egg/eggsmclient-xsmp.c:1187:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      pv.length = strlen (values->pdata[i]);
data/cinnamon-session-4.6.2/egg/eggsmclient-xsmp.c:1216:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  prop->vals[0].length = strlen (value);
data/cinnamon-session-4.6.2/tools/cinnamon-session-check-accelerated-helper.c:110:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                int key_len = strlen ("gnome.fallback=");
data/cinnamon-session-4.6.2/tools/cinnamon-session-check-accelerated-helper.c:188:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                line[strlen(line) - 1] = '\0';
data/cinnamon-session-4.6.2/tools/cinnamon-session-check-accelerated-helper.c:326:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ext_len = strlen (extension);
data/cinnamon-session-4.6.2/tools/cinnamon-session-check-accelerated.c:125:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
 read:
data/cinnamon-session-4.6.2/tools/cinnamon-session-check-accelerated.c:139:46:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                                        goto read;

ANALYSIS SUMMARY:

Hits = 227
Lines analyzed = 25878 in approximately 0.59 seconds (44055 lines/second)
Physical Source Lines of Code (SLOC) = 18643
Hits@level = [0]   6 [1]  20 [2]  16 [3]   3 [4] 188 [5]   0
Hits@level+ = [0+] 233 [1+] 227 [2+] 207 [3+] 191 [4+] 188 [5+]   0
Hits/KSLOC@level+ = [0+] 12.498 [1+] 12.1762 [2+] 11.1034 [3+] 10.2451 [4+] 10.0842 [5+]   0
Dot directories skipped = 3 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.