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/liboglappth-1.0.0/src/base_app.h Examining data/liboglappth-1.0.0/src/base_wnd.h Examining data/liboglappth-1.0.0/src/ogl_camera.cpp Examining data/liboglappth-1.0.0/src/oglv3d.h Examining data/liboglappth-1.0.0/src/base_wnd.cpp Examining data/liboglappth-1.0.0/src/ogl_camera.h Examining data/liboglappth-1.0.0/src/transparent.cpp Examining data/liboglappth-1.0.0/src/ogl_lights.cpp Examining data/liboglappth-1.0.0/src/base_app.cpp Examining data/liboglappth-1.0.0/src/base_wcl.cpp Examining data/liboglappth-1.0.0/src/ogl_lights.h Examining data/liboglappth-1.0.0/src/transparent.h Examining data/liboglappth-1.0.0/src/ogl_objects.h Examining data/liboglappth-1.0.0/src/ogl_objects.cpp Examining data/liboglappth-1.0.0/src/base_wcl.h FINAL RESULTS: data/liboglappth-1.0.0/src/base_wcl.cpp:160:2: [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(title, t); data/liboglappth-1.0.0/src/base_wcl.cpp:159: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). title = new char[strlen(t) + 1]; ANALYSIS SUMMARY: Hits = 2 Lines analyzed = 3201 in approximately 0.11 seconds (29938 lines/second) Physical Source Lines of Code (SLOC) = 1778 Hits@level = [0] 0 [1] 1 [2] 0 [3] 0 [4] 1 [5] 0 Hits@level+ = [0+] 2 [1+] 2 [2+] 1 [3+] 1 [4+] 1 [5+] 0 Hits/KSLOC@level+ = [0+] 1.12486 [1+] 1.12486 [2+] 0.56243 [3+] 0.56243 [4+] 0.56243 [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.