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/glw-8.0.0/GLwMDrawA.c
Examining data/glw-8.0.0/GLwDrawA.c
Examining data/glw-8.0.0/GLwMDrawA.h
Examining data/glw-8.0.0/GLwMDrawAP.h
Examining data/glw-8.0.0/GLwDrawAP.h
Examining data/glw-8.0.0/GLwDrawA.h

FINAL RESULTS:

data/glw-8.0.0/GLwDrawA.c:353:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buf,"GLwMDrawingArea: %s\n",string);
data/glw-8.0.0/GLwDrawA.c:355:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buf,"GLwDrawingArea: %s\n",string);
data/glw-8.0.0/GLwDrawA.c:364:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (buf, "GLwMDraw: %s\n", string);
data/glw-8.0.0/GLwDrawA.c:366:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (buf, "GLwDraw: %s\n", string);
data/glw-8.0.0/GLwDrawA.c:351: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 buf[100];
data/glw-8.0.0/GLwDrawA.c:362: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 buf[100];

ANALYSIS SUMMARY:

Hits = 6
Lines analyzed = 1132 in approximately 0.07 seconds (17278 lines/second)
Physical Source Lines of Code (SLOC) = 588
Hits@level = [0]   0 [1]   0 [2]   2 [3]   0 [4]   4 [5]   0
Hits@level+ = [0+]   6 [1+]   6 [2+]   6 [3+]   4 [4+]   4 [5+]   0
Hits/KSLOC@level+ = [0+] 10.2041 [1+] 10.2041 [2+] 10.2041 [3+] 6.80272 [4+] 6.80272 [5+]   0
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.