Skip to content

Merge pull request #133 from senseshift/feature/reduce-overhead

GitHub Advanced Security / Flawfinder succeeded Aug 4, 2024 in 2s

24 new alerts

New alerts in code changed by this pull request

  • 24 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 43 in lib/opengloves_arduino/senseshift/opengloves/transport/stream.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Note

buffer/read:Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20).

Check notice on line 16 in lib/opengloves_arduino/senseshift/opengloves/opengloves_plotter.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note

format/printf:If format strings can be influenced by an attacker, they can be exploited (CWE-134).

Check notice on line 17 in lib/opengloves_arduino/senseshift/opengloves/opengloves_plotter.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note

format/printf:If format strings can be influenced by an attacker, they can be exploited (CWE-134).

Check notice on line 18 in lib/opengloves_arduino/senseshift/opengloves/opengloves_plotter.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note

format/printf:If format strings can be influenced by an attacker, they can be exploited (CWE-134).

Check notice on line 19 in lib/opengloves_arduino/senseshift/opengloves/opengloves_plotter.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note

format/printf:If format strings can be influenced by an attacker, they can be exploited (CWE-134).

Check notice on line 20 in lib/opengloves_arduino/senseshift/opengloves/opengloves_plotter.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note

format/printf:If format strings can be influenced by an attacker, they can be exploited (CWE-134).

Check notice on line 21 in lib/opengloves_arduino/senseshift/opengloves/opengloves_plotter.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note

format/printf:If format strings can be influenced by an attacker, they can be exploited (CWE-134).

Check notice on line 22 in lib/opengloves_arduino/senseshift/opengloves/opengloves_plotter.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note

format/printf:If format strings can be influenced by an attacker, they can be exploited (CWE-134).

Check notice on line 23 in lib/opengloves_arduino/senseshift/opengloves/opengloves_plotter.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note

format/printf:If format strings can be influenced by an attacker, they can be exploited (CWE-134).

Check notice on line 24 in lib/opengloves_arduino/senseshift/opengloves/opengloves_plotter.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note

format/printf:If format strings can be influenced by an attacker, they can be exploited (CWE-134).

Check notice on line 25 in lib/opengloves_arduino/senseshift/opengloves/opengloves_plotter.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note

format/printf:If format strings can be influenced by an attacker, they can be exploited (CWE-134).

Check notice on line 27 in lib/opengloves_arduino/senseshift/opengloves/opengloves_plotter.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note

format/printf:If format strings can be influenced by an attacker, they can be exploited (CWE-134).

Check notice on line 28 in lib/opengloves_arduino/senseshift/opengloves/opengloves_plotter.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note

format/printf:If format strings can be influenced by an attacker, they can be exploited (CWE-134).

Check notice on line 29 in lib/opengloves_arduino/senseshift/opengloves/opengloves_plotter.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note

format/printf:If format strings can be influenced by an attacker, they can be exploited (CWE-134).

Check notice on line 30 in lib/opengloves_arduino/senseshift/opengloves/opengloves_plotter.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note

format/printf:If format strings can be influenced by an attacker, they can be exploited (CWE-134).

Check notice on line 190 in lib/bhaptics_ble/senseshift/bh/ble/connection.cpp

See this annotation in the file changed.

Code scanning / Flawfinder

Does not check for buffer overflows when copying to destination (CWE-120). Note

buffer/memcpy:Does not check for buffer overflows when copying to destination (CWE-120).

Check notice on line 456 in lib/opengloves/senseshift/opengloves/autoconfig.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Note

buffer/char:Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120).

Check notice on line 457 in lib/opengloves/senseshift/opengloves/autoconfig.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Note

format/snprintf:If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134).

Check notice on line 71 in lib/opengloves/senseshift/opengloves/opengloves.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Note

buffer/read:Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20).

Check notice on line 150 in lib/opengloves/senseshift/opengloves/opengloves_component.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Note

buffer/read:Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20).

Check notice on line 49 in lib/bhaptics/senseshift/bh/encoding.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

Does not check for buffer overflows when copying to destination (CWE-120). Note

buffer/memcpy:Does not check for buffer overflows when copying to destination (CWE-120).

Check notice on line 85 in lib/bhaptics/senseshift/bh/encoding.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

Does not check for buffer overflows when copying to destination (CWE-120). Note

buffer/memcpy:Does not check for buffer overflows when copying to destination (CWE-120).

Check notice on line 121 in lib/bhaptics/senseshift/bh/encoding.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

Does not check for buffer overflows when copying to destination (CWE-120). Note

buffer/memcpy:Does not check for buffer overflows when copying to destination (CWE-120).

Check notice on line 191 in lib/bhaptics/senseshift/bh/encoding.hpp

See this annotation in the file changed.

Code scanning / Flawfinder

Does not check for buffer overflows when copying to destination (CWE-120). Note

buffer/memcpy:Does not check for buffer overflows when copying to destination (CWE-120).