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/plib-doc-1.8.5/src/psl/psl_demo.cxx
Examining data/plib-doc-1.8.5/src/util/test_dir.cxx
Examining data/plib-doc-1.8.5/src/ssg/viewer/viewer.cxx
Examining data/plib-doc-1.8.5/src/ssg/viewer/pview.cxx
Examining data/plib-doc-1.8.5/src/ssg/tween_test/tween_test.cxx
Examining data/plib-doc-1.8.5/src/ssg/shrubs/shrubs.cxx
Examining data/plib-doc-1.8.5/src/ssg/tux/WavingFlagDemo.cxx
Examining data/plib-doc-1.8.5/src/ssg/tux/WavingFlag.cxx
Examining data/plib-doc-1.8.5/src/ssg/tux/WavingFlag.h
Examining data/plib-doc-1.8.5/src/ssg/tux/tux_example.cxx
Examining data/plib-doc-1.8.5/src/ssg/load_save/save.cxx
Examining data/plib-doc-1.8.5/src/ssg/load_save/load.cxx
Examining data/plib-doc-1.8.5/src/ssg/water/water.cxx
Examining data/plib-doc-1.8.5/src/ssg/sky/sky.cxx
Examining data/plib-doc-1.8.5/src/ssg/shapes/shapes.cxx
Examining data/plib-doc-1.8.5/src/ssg/majik/majik_demo.cxx
Examining data/plib-doc-1.8.5/src/ssg/majik/image_map.h
Examining data/plib-doc-1.8.5/src/ssg/majik/elevation_map.h
Examining data/plib-doc-1.8.5/src/ssg/dynamics/dynamics.cxx
Examining data/plib-doc-1.8.5/src/ssg/state_test/stest.cxx
Examining data/plib-doc-1.8.5/src/sg/sg_quat_test.cxx
Examining data/plib-doc-1.8.5/src/fnt/hello_world.cxx
Examining data/plib-doc-1.8.5/src/fnt/fnt_test.cxx
Examining data/plib-doc-1.8.5/src/fnt/slideshow.cxx
Examining data/plib-doc-1.8.5/src/net/http_get/http_get.cxx
Examining data/plib-doc-1.8.5/src/net/net_echo/net_echo.cxx
Examining data/plib-doc-1.8.5/src/net/client_server/net_udp_server.cxx
Examining data/plib-doc-1.8.5/src/net/client_server/net_udp_client.cxx
Examining data/plib-doc-1.8.5/src/js/js_demo.cxx
Examining data/plib-doc-1.8.5/src/pw/pw_demo.cxx
Examining data/plib-doc-1.8.5/src/pw/pw_pui.cxx
Examining data/plib-doc-1.8.5/src/pui/combobox.cxx
Examining data/plib-doc-1.8.5/src/pui/widget_list.cxx
Examining data/plib-doc-1.8.5/src/pui/PointPicker.cxx
Examining data/plib-doc-1.8.5/src/pui/complex.cxx
Examining data/plib-doc-1.8.5/src/pui/simple.cxx
Examining data/plib-doc-1.8.5/src/sl/mod_demo.cxx
Examining data/plib-doc-1.8.5/src/sl/playsound.cxx
Examining data/plib-doc-1.8.5/src/sl/example.cxx

FINAL RESULTS:

data/plib-doc-1.8.5/src/fnt/fnt_test.cxx:269:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf ( fname, ":data:%s", font_names [ max_font ] ) ;
data/plib-doc-1.8.5/src/fnt/fnt_test.cxx:271:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf ( fname, "data/%s", font_names [ max_font ] ) ;
data/plib-doc-1.8.5/src/net/client_server/net_udp_client.cxx:66:7:  [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 ( host, argv [ i ] ) ;
data/plib-doc-1.8.5/src/net/client_server/net_udp_server.cxx:44:7:  [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 ( host, argv [ i ] ) ;
data/plib-doc-1.8.5/src/pui/complex.cxx:357:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf( txt, fmt, argptr ) ;
data/plib-doc-1.8.5/src/ssg/shrubs/shrubs.cxx:140:9:  [4] (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). Use
  a constant for the format specification.
#define snprintf _snprintf
data/plib-doc-1.8.5/src/ssg/shrubs/shrubs.cxx:140:18:  [4] (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). Use
  a constant for the format specification.
#define snprintf _snprintf
data/plib-doc-1.8.5/src/ssg/viewer/viewer.cxx:650:3:  [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 ( fname, str ) ;
data/plib-doc-1.8.5/src/util/test_dir.cxx:49:9:  [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 (path, dirname);
data/plib-doc-1.8.5/src/util/test_dir.cxx:51:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat (path, dp->d_name);
data/plib-doc-1.8.5/src/ssg/shrubs/shrubs.cxx:134:35:  [3] (random) srand:
  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.
inline void   srand48(int seed) { srand(seed); }
data/plib-doc-1.8.5/src/ssg/shrubs/shrubs.cxx:135:15:  [3] (random) drand48:
  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.
inline double drand48() { return (double) rand() / RAND_MAX; }
data/plib-doc-1.8.5/src/ssg/shrubs/shrubs.cxx:306:31:  [3] (random) drand48:
  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.
						  + r * (0.5f - (float) drand48()));
data/plib-doc-1.8.5/src/ssg/shrubs/shrubs.cxx:320:32:  [3] (random) drand48:
  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.
					    + r * (0.5f - (float) drand48()));
data/plib-doc-1.8.5/src/ssg/shrubs/shrubs.cxx:325:32:  [3] (random) drand48:
  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.
					    + r * (0.5f - (float) drand48()));
data/plib-doc-1.8.5/src/ssg/shrubs/shrubs.cxx:371:18:  [3] (random) drand48:
  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.
		float x = tx + drand48() * TILE_SIZE;
data/plib-doc-1.8.5/src/ssg/shrubs/shrubs.cxx:372:18:  [3] (random) drand48:
  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.
		float y = ty + drand48() * TILE_SIZE;
data/plib-doc-1.8.5/src/ssg/shrubs/shrubs.cxx:395:34:  [3] (random) drand48:
  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.
		b->add(x, y, z, 0.75f + 0.5f * drand48());
data/plib-doc-1.8.5/src/fnt/fnt_test.cxx:266:5:  [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 fname [ 256 ] ;
data/plib-doc-1.8.5/src/fnt/slideshow.cxx:182: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).
  FILE *fd = fopen ( fname, "r" ) ;
data/plib-doc-1.8.5/src/fnt/slideshow.cxx:191:14:  [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.
  file = new char  [ len+1 ] ;
data/plib-doc-1.8.5/src/net/client_server/net_udp_client.cxx:54: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 host[256] = "localhost" ;
data/plib-doc-1.8.5/src/net/client_server/net_udp_client.cxx:61:27:  [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).
        case 'p' : port = atoi ( argv [ ++i ] ) ; break ;
data/plib-doc-1.8.5/src/net/client_server/net_udp_client.cxx:77:18:  [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).
  if ( ! sock -> open ( false ) )    // open a UDP socket
data/plib-doc-1.8.5/src/net/client_server/net_udp_client.cxx:91: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 msg[256] = "Hello world!" ;
data/plib-doc-1.8.5/src/net/client_server/net_udp_server.cxx:32: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 host [ 256 ] = "" ;
data/plib-doc-1.8.5/src/net/client_server/net_udp_server.cxx:39:27:  [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).
        case 'p' : port = atoi ( argv [ ++i ] ) ; break ;
data/plib-doc-1.8.5/src/net/client_server/net_udp_server.cxx:58:18:  [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).
  if ( ! sock -> open( false ) )   // open a UDP socket
data/plib-doc-1.8.5/src/net/client_server/net_udp_server.cxx:72: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 msg [ 256 ] ;
data/plib-doc-1.8.5/src/net/http_get/http_get.cxx:34:5:  [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).
    open () ;
data/plib-doc-1.8.5/src/net/net_echo/net_echo.cxx:75:3:  [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).
		open () ;
data/plib-doc-1.8.5/src/net/net_echo/net_echo.cxx:89:12:  [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).
    port = atoi (argv[1]);
data/plib-doc-1.8.5/src/pui/complex.cxx:353:10:  [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.
  static char txt [ PUSTRING_MAX ] ;
data/plib-doc-1.8.5/src/pw/pw_demo.cxx:41:1:  [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 keyIsDown [ 512 ] = { 0 } ;
data/plib-doc-1.8.5/src/ssg/dynamics/dynamics.cxx:307: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 *fake_argv[3] ;
data/plib-doc-1.8.5/src/ssg/load_save/load.cxx:121: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 *fake_argv[3] ;
data/plib-doc-1.8.5/src/ssg/load_save/save.cxx:61: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 *fake_argv[3] ;
data/plib-doc-1.8.5/src/ssg/majik/majik_demo.cxx:189: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 *fake_argv[3] ;
data/plib-doc-1.8.5/src/ssg/shrubs/shrubs.cxx:586:5:  [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[64];
data/plib-doc-1.8.5/src/ssg/sky/sky.cxx:423: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 *fake_argv[3] ;
data/plib-doc-1.8.5/src/ssg/state_test/stest.cxx:128: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 *fake_argv[3] ;
data/plib-doc-1.8.5/src/ssg/tux/WavingFlagDemo.cxx:107: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 *fake_argv[3] ;
data/plib-doc-1.8.5/src/ssg/tux/tux_example.cxx:122: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 *fake_argv[3] ;
data/plib-doc-1.8.5/src/ssg/viewer/viewer.cxx:482:5:  [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 [ PUSTRING_MAX ] ;
data/plib-doc-1.8.5/src/ssg/viewer/viewer.cxx:486:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf ( buffer, "fps : %.02f\n", fps ) ;
data/plib-doc-1.8.5/src/ssg/viewer/viewer.cxx:488:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf ( buffer, "dist : %.02f\n", EyeDist ) ;
data/plib-doc-1.8.5/src/ssg/viewer/viewer.cxx:490:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf ( buffer, "anim_speed : %d fps\n", speed_tab[ speed_index ] ) ;
data/plib-doc-1.8.5/src/ssg/viewer/viewer.cxx:492:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf ( buffer, "time : %-4d\n", curr_time ) ;
data/plib-doc-1.8.5/src/ssg/viewer/viewer.cxx:649: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 fname [PUSTRING_MAX];
data/plib-doc-1.8.5/src/ssg/viewer/viewer.cxx:772: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 *fake_argv[3] ;
data/plib-doc-1.8.5/src/ssg/water/water.cxx:477:10:  [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.
  static char s [ 128 ] ;
data/plib-doc-1.8.5/src/ssg/water/water.cxx:492:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf ( s, "CalcTime=%1.1fms", dt * 1000.0 ) ;
data/plib-doc-1.8.5/src/util/test_dir.cxx:48: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 path[ UL_NAME_MAX+1 ];
data/plib-doc-1.8.5/src/js/js_demo.cxx:95:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        js[i]->read ( &b, ax[i] ) ;
data/plib-doc-1.8.5/src/js/js_demo.cxx:117:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep ( 1000 ) ;
data/plib-doc-1.8.5/src/net/client_server/net_udp_client.cxx:93:13:  [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 len = strlen ( msg ) ;
data/plib-doc-1.8.5/src/net/http_get/http_get.cxx:38:21:  [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).
    bufferSend ( s, strlen(s) ) ;
data/plib-doc-1.8.5/src/net/http_get/http_get.cxx:40:21:  [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).
    bufferSend ( h, strlen(h) ) ;
data/plib-doc-1.8.5/src/net/http_get/http_get.cxx:42:21:  [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).
    bufferSend ( c, strlen(c) ) ;
data/plib-doc-1.8.5/src/sl/example.cxx:104:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep ( 1000000 / 30 ) ;  /* 30Hz */
data/plib-doc-1.8.5/src/sl/mod_demo.cxx:65:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep ( 1000000 / 30 ) ;  /* 30Hz */
data/plib-doc-1.8.5/src/sl/playsound.cxx:66:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep ( 1000000 / 30 ) ;  /* 30Hz */
data/plib-doc-1.8.5/src/ssg/majik/majik_demo.cxx:84:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  js -> read ( &buttons, ax ) ;
data/plib-doc-1.8.5/src/ssg/shrubs/shrubs.cxx:661:6:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	    usleep((int)(1e+6 * dt));
data/plib-doc-1.8.5/src/util/test_dir.cxx:50:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat (path, "/");

ANALYSIS SUMMARY:

Hits = 65
Lines analyzed = 27072 in approximately 3.71 seconds (7298 lines/second)
Physical Source Lines of Code (SLOC) = 23304
Hits@level = [0] 161 [1]  12 [2]  35 [3]   8 [4]  10 [5]   0
Hits@level+ = [0+] 226 [1+]  65 [2+]  53 [3+]  18 [4+]  10 [5+]   0
Hits/KSLOC@level+ = [0+] 9.69791 [1+] 2.78922 [2+] 2.27429 [3+] 0.7724 [4+] 0.429111 [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.