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/waylandpp-0.2.8/example/dump.cpp Examining data/waylandpp-0.2.8/example/egl.cpp Examining data/waylandpp-0.2.8/example/foreign_display.cpp Examining data/waylandpp-0.2.8/example/proxy_wrapper.cpp Examining data/waylandpp-0.2.8/example/shm.cpp Examining data/waylandpp-0.2.8/include/wayland-client.hpp Examining data/waylandpp-0.2.8/include/wayland-cursor.hpp Examining data/waylandpp-0.2.8/include/wayland-egl.hpp Examining data/waylandpp-0.2.8/include/wayland-util.hpp Examining data/waylandpp-0.2.8/scanner/scanner.cpp Examining data/waylandpp-0.2.8/src/wayland-client.cpp Examining data/waylandpp-0.2.8/src/wayland-cursor.cpp Examining data/waylandpp-0.2.8/src/wayland-egl.cpp Examining data/waylandpp-0.2.8/src/wayland-util.cpp FINAL RESULTS: data/waylandpp-0.2.8/src/wayland-client.cpp:55:21: [4] (format) vsnprintf: 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). Use a constant for the format specification. int length = std::vsnprintf(nullptr, 0, format, args); data/waylandpp-0.2.8/src/wayland-client.cpp:69:11: [4] (format) vsnprintf: 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). Use a constant for the format specification. if(std::vsnprintf(buf.data(), buf.size(), format, args_copy) < 0) data/waylandpp-0.2.8/include/wayland-client.hpp:403:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(); data/waylandpp-0.2.8/src/wayland-client.cpp:456:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read_intent::read() ANALYSIS SUMMARY: Hits = 4 Lines analyzed = 4480 in approximately 0.12 seconds (37067 lines/second) Physical Source Lines of Code (SLOC) = 2932 Hits@level = [0] 0 [1] 2 [2] 0 [3] 0 [4] 2 [5] 0 Hits@level+ = [0+] 4 [1+] 4 [2+] 2 [3+] 2 [4+] 2 [5+] 0 Hits/KSLOC@level+ = [0+] 1.36426 [1+] 1.36426 [2+] 0.682128 [3+] 0.682128 [4+] 0.682128 [5+] 0 Dot directories skipped = 1 (--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.