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/xbase64-3.1.2/libtest/exptest.cpp
Examining data/xbase64-3.1.2/libtest/testdate.cpp
Examining data/xbase64-3.1.2/libtest/lfiletst.cpp
Examining data/xbase64-3.1.2/libtest/indextst.cpp
Examining data/xbase64-3.1.2/libtest/locktest.cpp
Examining data/xbase64-3.1.2/examples/exfilter.cpp
Examining data/xbase64-3.1.2/examples/sample1.cpp
Examining data/xbase64-3.1.2/examples/sample2.cpp
Examining data/xbase64-3.1.2/examples/sample3.cpp
Examining data/xbase64-3.1.2/examples/sample4.cpp
Examining data/xbase64-3.1.2/examples/sample5.cpp
Examining data/xbase64-3.1.2/examples/xbstring.cpp
Examining data/xbase64-3.1.2/xbase64/xbwincfg.h
Examining data/xbase64-3.1.2/xbase64/xbmindex.h
Examining data/xbase64-3.1.2/xbase64/xbnode.h
Examining data/xbase64-3.1.2/xbase64/xbconfig.h
Examining data/xbase64-3.1.2/xbase64/xbmemo.cpp
Examining data/xbase64-3.1.2/xbase64/xbfields.cpp
Examining data/xbase64-3.1.2/xbase64/xbexpprc.cpp
Examining data/xbase64-3.1.2/xbase64/xbexpfnc.cpp
Examining data/xbase64-3.1.2/xbase64/xbretcod.h
Examining data/xbase64-3.1.2/xbase64/xbase64.h
Examining data/xbase64-3.1.2/xbase64/xbcdx.h
Examining data/xbase64-3.1.2/xbase64/xbdate.cpp
Examining data/xbase64-3.1.2/xbase64/xbdate.h
Examining data/xbase64-3.1.2/xbase64/xbdbf.cpp
Examining data/xbase64-3.1.2/xbase64/xbdbf.h
Examining data/xbase64-3.1.2/xbase64/xbexp.cpp
Examining data/xbase64-3.1.2/xbase64/xbexp.h
Examining data/xbase64-3.1.2/xbase64/xbfile.cpp
Examining data/xbase64-3.1.2/xbase64/xbfile.h
Examining data/xbase64-3.1.2/xbase64/xbfilter.cpp
Examining data/xbase64-3.1.2/xbase64/xbfilter.h
Examining data/xbase64-3.1.2/xbase64/xbindex.cpp
Examining data/xbase64-3.1.2/xbase64/xbindex.h
Examining data/xbase64-3.1.2/xbase64/xblock.h
Examining data/xbase64-3.1.2/xbase64/xbndx.cpp
Examining data/xbase64-3.1.2/xbase64/xbndx.h
Examining data/xbase64-3.1.2/xbase64/xbntx.cpp
Examining data/xbase64-3.1.2/xbase64/xbntx.h
Examining data/xbase64-3.1.2/xbase64/xbstring.cpp
Examining data/xbase64-3.1.2/xbase64/xbstring.h
Examining data/xbase64-3.1.2/xbase64/xbase64.cpp
Examining data/xbase64-3.1.2/xbase64/xblock.cpp
Examining data/xbase64-3.1.2/xbase64/xbnode.cpp
Examining data/xbase64-3.1.2/xbase64/xbcdx.cpp
Examining data/xbase64-3.1.2/xbase64/xbtypes.h
Examining data/xbase64-3.1.2/bin/dumphdr.cpp
Examining data/xbase64-3.1.2/bin/zap.cpp
Examining data/xbase64-3.1.2/bin/dumpdbt.cpp
Examining data/xbase64-3.1.2/bin/reindex.cpp
Examining data/xbase64-3.1.2/bin/packdbf.cpp
Examining data/xbase64-3.1.2/bin/copydbf.cpp
Examining data/xbase64-3.1.2/bin/deletall.cpp
Examining data/xbase64-3.1.2/bin/checkndx.cpp
Examining data/xbase64-3.1.2/bin/undelall.cpp
Examining data/xbase64-3.1.2/bin/dbfxtrct.cpp
Examining data/xbase64-3.1.2/bin/dumprecs.cpp
Examining data/xbase64-3.1.2/bin/dbfutil1.cpp

FINAL RESULTS:

data/xbase64-3.1.2/bin/dbfxtrct.cpp:172: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( buf, exp.LTRIM( d.GetStringField( l )));
data/xbase64-3.1.2/xbase64/xbdate.cpp:608:22:  [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( buf, cbuf );
data/xbase64-3.1.2/xbase64/xbdate.cpp:616:22:  [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( buf, cbuf );
data/xbase64-3.1.2/xbase64/xbdate.cpp:629:25:  [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( cbuf, CharDayOf( Date8 ));
data/xbase64-3.1.2/xbase64/xbdate.cpp:632:25:  [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( buf, cbuf );
data/xbase64-3.1.2/xbase64/xbdate.cpp:642:22:  [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( buf, cbuf );
data/xbase64-3.1.2/xbase64/xbdate.cpp:650:22:  [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( buf, cbuf );
data/xbase64-3.1.2/xbase64/xbdate.cpp:663:25:  [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( cbuf, CharMonthOf( Date8 ));
data/xbase64-3.1.2/xbase64/xbdate.cpp:666:25:  [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( buf, cbuf );
data/xbase64-3.1.2/xbase64/xbdate.cpp:678:22:  [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( buf, cbuf );
data/xbase64-3.1.2/xbase64/xbdate.cpp:688:22:  [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( buf, cbuf );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1935:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if( access( sDbfn.getData(), 0 ) == -1 &&
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1936:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        access( sDbtn.getData(), 0 ) == -1 )
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:469: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( buf, d.FormatDate( "DDDD", Date8 )); 
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:499: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( buf, d.FormatDate( "MMMM", Date8 ));
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:513: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( WorkBuf, d.FormatCTODdate( indate ));
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:578: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( WorkBuf, d.FormatDate( xbase->GetDefaultDateFormat(), Date8 ));
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:589: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( WorkBuf, d.FormatDate( "YYYYMMDD", Date8 ));
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:612:5:  [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( WorkBuf, trueRslt );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:614:5:  [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( WorkBuf, falseRslt );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:789:5:  [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( WorkBuf, String );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:801: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( WorkBuf, String );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:806: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( WorkBuf, String + len - cnt );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:974:3:  [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( WorkBuf, String );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:1020: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( WorkBuf, d.Sysdate());
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:1037:5:  [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( WorkBuf, String );
data/xbase64-3.1.2/xbase64/xbfields.cpp:555:3:  [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( buf2, buf );
data/xbase64-3.1.2/xbase64/xbfields.cpp:556:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf( buf, buf2, f );
data/xbase64-3.1.2/xbase64/xbndx.cpp:385:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf( log, "??????\n" /*, dbf->xbase->GetDouble( p )*/  );
data/xbase64-3.1.2/xbase64/xbntx.cpp:2135:5:  [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 (KeyBuf , GetKeyData( CurNode->Leaf.NoOfKeysThisNode -1, CurNode));
data/xbase64-3.1.2/xbase64/xbntx.cpp:2286:5:  [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(KeyBuf, GetKeyData( parentPos, parent ));
data/xbase64-3.1.2/xbase64/xbntx.cpp:2293: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(KeyBuf, GetKeyData( j, n2 ));
data/xbase64-3.1.2/xbase64/xbntx.cpp:2324: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(KeyBuf, GetKeyData( parentPos, parent ));
data/xbase64-3.1.2/xbase64/xbntx.cpp:2332: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(KeyBuf, GetKeyData( i, n1 ));
data/xbase64-3.1.2/xbase64/xbntx.cpp:2342: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(KeyBuf, GetKeyData( n1->Leaf.NoOfKeysThisNode -1 , n1 ));
data/xbase64-3.1.2/xbase64/xbntx.cpp:2350: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(KeyBuf, GetKeyData( parentPos, parent ));
data/xbase64-3.1.2/xbase64/xbntx.cpp:2363: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(KeyBuf, GetKeyData( medianOffset, n2 ));
data/xbase64-3.1.2/xbase64/xbntx.cpp:2382: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(KeyBuf, GetKeyData( 0, n2 ));
data/xbase64-3.1.2/xbase64/xbstring.cpp:164: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(data, s);
data/xbase64-3.1.2/xbase64/xbstring.cpp:216: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(data, s);
data/xbase64-3.1.2/xbase64/xbstring.cpp:236: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(data, s);
data/xbase64-3.1.2/xbase64/xbstring.cpp:295:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
xbString &xbString::sprintf(const char *format, ...) {
data/xbase64-3.1.2/xbase64/xbstring.cpp:303:7:  [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 (vsnprintf(data, size, format, ap) == -1)
data/xbase64-3.1.2/xbase64/xbstring.cpp:307:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(data, format, ap);
data/xbase64-3.1.2/xbase64/xbstring.cpp:339:5:  [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(data,s);
data/xbase64-3.1.2/xbase64/xbstring.cpp:342:5:  [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(lftspc,s);
data/xbase64-3.1.2/xbase64/xbstring.cpp:362:3:  [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(data, s);
data/xbase64-3.1.2/xbase64/xbstring.cpp:455:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf("%ld", num);
data/xbase64-3.1.2/xbase64/xbstring.cpp:469:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf( f.getData(), num);
data/xbase64-3.1.2/xbase64/xbstring.cpp:690:5:  [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(data, d+pos);
data/xbase64-3.1.2/xbase64/xbstring.cpp:889: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( ndata, p );
data/xbase64-3.1.2/xbase64/xbstring.h:118:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  xbString &sprintf(const char *format, ...);
data/xbase64-3.1.2/bin/dbfutil1.cpp:159: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 Expression[SIZE];
data/xbase64-3.1.2/bin/dbfutil1.cpp:246: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 exprsn[SIZE];
data/xbase64-3.1.2/bin/dbfutil1.cpp:359: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 Filename[51];
data/xbase64-3.1.2/bin/dbfutil1.cpp:398: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 KeyBuf[101];
data/xbase64-3.1.2/bin/dbfutil1.cpp:502: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 filename[50];
data/xbase64-3.1.2/bin/dbfutil1.cpp:542: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 filename[50];
data/xbase64-3.1.2/bin/dbfutil1.cpp:612:16:  [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).
    if(( out = fopen( "xbase64.dmp" , "w" )) == NULL ){
data/xbase64-3.1.2/bin/dbfutil1.cpp:678: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 dbuf[100];
data/xbase64-3.1.2/bin/dbfutil1.cpp:694: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 filename[50];
data/xbase64-3.1.2/bin/dbfutil1.cpp:719: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 bufchar[2];
data/xbase64-3.1.2/bin/dbfutil1.cpp:818: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 IndexName[128];
data/xbase64-3.1.2/bin/dbfutil1.cpp:819: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 KeyExpression[500];
data/xbase64-3.1.2/bin/dbfutil1.cpp:820: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 Unique[25];
data/xbase64-3.1.2/bin/dbfxtrct.cpp:70:4:  [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[200];
data/xbase64-3.1.2/examples/sample2.cpp:73: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 bigBuf[4096];
data/xbase64-3.1.2/examples/sample2.cpp:175:3:  [2] (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 string.
  strcat( bigBuf, "EOD]" );
data/xbase64-3.1.2/examples/sample3.cpp:49: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[40];
data/xbase64-3.1.2/libtest/indextst.cpp:58: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 charbuf[10];
data/xbase64-3.1.2/libtest/indextst.cpp:157: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( charbuf, "%d", i );
data/xbase64-3.1.2/libtest/indextst.cpp:197:7:  [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( charbuf, "Z%d", (int)j-1 );
data/xbase64-3.1.2/libtest/lfiletst.cpp:49: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 charbuf[10];
data/xbase64-3.1.2/libtest/lfiletst.cpp:126: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( charbuf, "%d", i );
data/xbase64-3.1.2/libtest/locktest.cpp:66:4:  [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 xx[4];
data/xbase64-3.1.2/libtest/testdate.cpp:52:4:  [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     CharDate[9] = "19611109";      /* nov 9 1961 */
data/xbase64-3.1.2/xbase64/xbcdx.cpp:15:11:  [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).
  indexfp=fopen(GetFileName(), "wb+");
data/xbase64-3.1.2/xbase64/xbcdx.cpp:58:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(tagRootNode_.keys, &indexHeadOffset, len);
data/xbase64-3.1.2/xbase64/xbcdx.cpp:63:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(tagRootNode_.keys+sizeof(tagRootNode_.keys)-len, tag.c_str(), len);
data/xbase64-3.1.2/xbase64/xbcdx.cpp:79:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(indexHeader_.keyforBuffer, exprn.c_str(), indexHeader_.keyExprLen);
data/xbase64-3.1.2/xbase64/xbcdx.h:28: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 reserved2[466];
data/xbase64-3.1.2/xbase64/xbcdx.h:34: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 keyforBuffer[512];
data/xbase64-3.1.2/xbase64/xbcdx.h:51: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 keys[500];
data/xbase64-3.1.2/xbase64/xbcdx.h:68: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 keys[488];
data/xbase64-3.1.2/xbase64/xbdate.cpp:182: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 Century[3];
data/xbase64-3.1.2/xbase64/xbdate.cpp:186:11:  [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).
  return( atoi( Century ));
data/xbase64-3.1.2/xbase64/xbdate.cpp:197: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 year[5];
data/xbase64-3.1.2/xbase64/xbdate.cpp:203:11:  [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).
  return( atoi( year ));
data/xbase64-3.1.2/xbase64/xbdate.cpp:213:4:  [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 month[3];
data/xbase64-3.1.2/xbase64/xbdate.cpp:217: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).
   return( atoi( month ));
data/xbase64-3.1.2/xbase64/xbdate.cpp:280:4:  [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 day[3];
data/xbase64-3.1.2/xbase64/xbdate.cpp:317:15:  [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).
      return( atoi( day ));
data/xbase64-3.1.2/xbase64/xbdate.cpp:332:4:  [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 dt[9];
data/xbase64-3.1.2/xbase64/xbdate.cpp:339:4:  [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( dt,"%4d%02d%02d",tblock->tm_year,tblock->tm_mon,tblock->tm_mday );
data/xbase64-3.1.2/xbase64/xbdate.cpp:432:4:  [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 Date8[9];
data/xbase64-3.1.2/xbase64/xbdate.cpp:460:4:  [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( Date8, "%4d%02d%02ld", year, month+1, days+1 );
data/xbase64-3.1.2/xbase64/xbdate.cpp:475: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[25];
data/xbase64-3.1.2/xbase64/xbdate.cpp:503: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[25];
data/xbase64-3.1.2/xbase64/xbdate.cpp:533: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 cbuf[3];
data/xbase64-3.1.2/xbase64/xbdate.cpp:534: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 odate[9];
data/xbase64-3.1.2/xbase64/xbdate.cpp:539: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( cbuf, "%02d", 
data/xbase64-3.1.2/xbase64/xbdate.cpp:540:41:  [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).
           d.CalcRollingCenturyForYear( atoi( indate+6 )));
data/xbase64-3.1.2/xbase64/xbdate.cpp:568:4:  [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 cbuf[10];
data/xbase64-3.1.2/xbase64/xbdate.cpp:570:4:  [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[50];
data/xbase64-3.1.2/xbase64/xbdate.cpp:578:7:  [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( buf+2, "%03d", DayOf( XB_FMT_YEAR, Date8 ));
data/xbase64-3.1.2/xbase64/xbdate.cpp:607:22:  [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( cbuf, "%d", DayOf( XB_FMT_MONTH, Date8 ));
data/xbase64-3.1.2/xbase64/xbdate.cpp:641:22:  [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( cbuf, "%d", MonthOf( Date8 ));
data/xbase64-3.1.2/xbase64/xbdate.cpp:712: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 tmp[9];
data/xbase64-3.1.2/xbase64/xbdate.cpp:713: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( tmp, "%4.4d%2.2d%2.2d", 
data/xbase64-3.1.2/xbase64/xbdbf.cpp:188:4:  [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[32];
data/xbase64-3.1.2/xbase64/xbdbf.cpp:193:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(&buf[0], &Version, 4);
data/xbase64-3.1.2/xbase64/xbdbf.cpp:219:4:  [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[4];
data/xbase64-3.1.2/xbase64/xbdbf.cpp:251:4:  [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[32];
data/xbase64-3.1.2/xbase64/xbdbf.cpp:259:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(&Version, buf, 4);
data/xbase64-3.1.2/xbase64/xbdbf.cpp:389: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).
  if((( fp = fopen( GetFileName(), "r" )) != NULL ) && !Overlay ){
data/xbase64-3.1.2/xbase64/xbdbf.cpp:395:13:  [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).
  if(( fp = fopen( GetFileName(), "w+b" )) == NULL )
data/xbase64-3.1.2/xbase64/xbdbf.cpp:776: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[33];
data/xbase64-3.1.2/xbase64/xbdbf.cpp:791:13:  [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).
  if(( fp = fopen(GetFileName(), "r+b")) == NULL ){
data/xbase64-3.1.2/xbase64/xbdbf.cpp:795:15:  [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).
    if(( fp = fopen(GetFileName(), "rb")) == NULL )
data/xbase64-3.1.2/xbase64/xbdbf.cpp:953:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( RecBuf2, RecBuf, RecordLen );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1066: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[4];
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1434: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[4096];
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1808:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
     memcpy( RecBuf2, RecBuf, RecordLen );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1883:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( RecBuf2, RecBuf, RecordLen );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1917: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 dbfn[13];
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1918: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 dbtn[13];
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1921: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( dbfn, "xb%06d.dbf", l );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1922: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( dbtn, "xb%06d.dbt", l++ );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1939:7:  [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( dbfn, "xb%06d.dbf", l );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1940:7:  [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( dbtn, "xb%06d.dbt", l++ );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1971: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 tbuf[4];
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1982:12:  [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).
  if(( t = fopen( TempDbfName, "w+b" )) == NULL )
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1999:13:  [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).
    if((t = fopen( TempDbtName, "w+b" )) == NULL)
data/xbase64-3.1.2/xbase64/xbdbf.cpp:2054:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
       memcpy( target, source, GetRecordLen());
data/xbase64-3.1.2/xbase64/xbdbf.cpp:2103:17:  [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).
     if(( mfp = fopen( MemofileName, "r+b" )) == NULL )
data/xbase64-3.1.2/xbase64/xbdbf.cpp:2117:13:  [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).
  if(( fp = fopen( GetFileName(), "r+b" )) == NULL )
data/xbase64-3.1.2/xbase64/xbdbf.cpp:2218: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[9];
data/xbase64-3.1.2/xbase64/xbdbf.cpp:2233:12:  [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).
  if(((t = fopen( ndfn, "r" )) != NULL ) && !Overlay) {
data/xbase64-3.1.2/xbase64/xbdbf.cpp:2239:11:  [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).
  if((t = fopen(ndfn, "w+b")) == NULL)
data/xbase64-3.1.2/xbase64/xbdbf.cpp:2294:15:  [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).
     if(( t = fopen( MemoName, "w+b" )) == NULL )
data/xbase64-3.1.2/xbase64/xbdbf.cpp:2462:12:  [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).
  if((fp = fopen( GetFileName(), "r+b" )) == NULL)
data/xbase64-3.1.2/xbase64/xbdbf.cpp:2480: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).
  if(( mfp = fopen( MemofileName, "r+b" )) == NULL)
data/xbase64-3.1.2/xbase64/xbdbf.h:131: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      FieldName[11];
data/xbase64-3.1.2/xbase64/xbdbf.h:144: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     FieldName[11];
data/xbase64-3.1.2/xbase64/xbdbf.h:179: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    FileName[8];           /* name of dbt file               */
data/xbase64-3.1.2/xbase64/xbexp.cpp:642: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  TempField[11];
data/xbase64-3.1.2/xbase64/xbexp.cpp:643: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  TableName[31];
data/xbase64-3.1.2/xbase64/xbexp.cpp:1100:16:  [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).
    if(( dmp = fopen( "xbase64.log", "a" )) == NULL )
data/xbase64-3.1.2/xbase64/xbexp.h:279: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  WorkBuf[WorkBufMaxLen+1];
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:414: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).
    return atoi( p->StringResult );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:466: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 buf[10];
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:482: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 buf[2];
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:496: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 buf[10];
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:855: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(WorkBuf, "%.*f", numDecimals, d);
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:861: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( WorkBuf, "%*.*f", length, numDecimals, d );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:927: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(WorkBuf, "%*.*g", length, length, d);
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:931:5:  [2] (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). Risk is low because the source is a constant string.
    strcpy( WorkBuf, "**********" );
data/xbase64-3.1.2/xbase64/xbexpprc.cpp:284: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 Operator[6]; 
data/xbase64-3.1.2/xbase64/xbexpprc.cpp:322:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( Op1, WorkNode->NodeText, WorkNode->DataLen );
data/xbase64-3.1.2/xbase64/xbexpprc.cpp:324:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( Op1, WorkNode->StringResult, WorkNode->DataLen+1 );
data/xbase64-3.1.2/xbase64/xbexpprc.cpp:359:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( Op2, WorkNode->NodeText, WorkNode->DataLen );
data/xbase64-3.1.2/xbase64/xbexpprc.cpp:361:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( Op2, WorkNode->StringResult, WorkNode->DataLen+1 );
data/xbase64-3.1.2/xbase64/xbfields.cpp:243:8:  [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 __buf[1024];
data/xbase64-3.1.2/xbase64/xbfields.cpp:312:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( buf, SchemaPtr[FieldNo].Address2, length );
data/xbase64-3.1.2/xbase64/xbfields.cpp:314:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( buf, SchemaPtr[FieldNo].Address, length );
data/xbase64-3.1.2/xbase64/xbfields.cpp:383:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( RecBuf2, RecBuf, RecordLen );
data/xbase64-3.1.2/xbase64/xbfields.cpp:441:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy( startpos, buf, len );
data/xbase64-3.1.2/xbase64/xbfields.cpp:458:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( RecBuf2, RecBuf, RecordLen );
data/xbase64-3.1.2/xbase64/xbfields.cpp:463:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy( startpos, buf, len );
data/xbase64-3.1.2/xbase64/xbfields.cpp:488: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[18];
data/xbase64-3.1.2/xbase64/xbfields.cpp:491:10:  [2] (integer) atol:
  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).
  return atol( buf );
data/xbase64-3.1.2/xbase64/xbfields.cpp:507: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[18];
data/xbase64-3.1.2/xbase64/xbfields.cpp:509: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( buf, "%ld", Val );
data/xbase64-3.1.2/xbase64/xbfields.cpp:525: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[21];
data/xbase64-3.1.2/xbase64/xbfields.cpp:549: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[25];
data/xbase64-3.1.2/xbase64/xbfields.cpp:550: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 buf2[12];
data/xbase64-3.1.2/xbase64/xbfields.cpp:553: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( buf, "%d.%df", GetFieldLen( FldNo ), GetFieldDecimal( FldNo ));
data/xbase64-3.1.2/xbase64/xbfields.cpp:554:3:  [2] (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). Risk is low because the source is a constant string.
  strcpy( buf2, "%-" );
data/xbase64-3.1.2/xbase64/xbfields.cpp:585: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[21];
data/xbase64-3.1.2/xbase64/xbfields.cpp:627: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[3];
data/xbase64-3.1.2/xbase64/xbindex.cpp:112:18:  [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).
  if(( indexfp = fopen( GetFileName(), "r+b" )) == NULL ){
data/xbase64-3.1.2/xbase64/xbindex.cpp:116:20:  [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).
    if(( indexfp = fopen( GetFileName(), "rb" )) == NULL )
data/xbase64-3.1.2/xbase64/xblock.cpp:327: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).
  if(( lfh = fopen( lfn.getData(), "w+b" )) == NULL )
data/xbase64-3.1.2/xbase64/xbmemo.cpp:217: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 MemoBlock[24];
data/xbase64-3.1.2/xbase64/xbmemo.cpp:262: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).
  if ((mfp = fopen(MemofileName, "r+b" )) == NULL){
data/xbase64-3.1.2/xbase64/xbmemo.cpp:266:16:  [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).
    if ((mfp = fopen(MemofileName, "rb" )) == NULL)
data/xbase64-3.1.2/xbase64/xbmemo.cpp:269: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 header[8];
data/xbase64-3.1.2/xbase64/xbmemo.cpp:299: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).
  if(( mfp = fopen( MemofileName, "r+b" )) == NULL ){
data/xbase64-3.1.2/xbase64/xbmemo.cpp:303:16:  [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).
    if(( mfp = fopen( MemofileName, "rb" )) == NULL )
data/xbase64-3.1.2/xbase64/xbmemo.cpp:348: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[4];
data/xbase64-3.1.2/xbase64/xbmemo.cpp:377: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).
  if(( mfp = fopen( MemofileName, "w+b" )) == NULL )
data/xbase64-3.1.2/xbase64/xbmemo.cpp:536: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[18];
data/xbase64-3.1.2/xbase64/xbmemo.cpp:559: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 h[4];
data/xbase64-3.1.2/xbase64/xbmemo.cpp:682: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 h[4];
data/xbase64-3.1.2/xbase64/xbmemo.cpp:925: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[4];
data/xbase64-3.1.2/xbase64/xbndx.cpp:157:16:  [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).
    if(( log = fopen( "xbase64.log", "a+t" )) == NULL ) return;
data/xbase64-3.1.2/xbase64/xbndx.cpp:319:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy( n->Leaf.KeyRecs, Node+4, XB_NDX_NODE_SIZE - 4 );
data/xbase64-3.1.2/xbase64/xbndx.cpp:350: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).
  if(( log = fopen( "xbase64.log", "a+t" )) == NULL ) return;
data/xbase64-3.1.2/xbase64/xbndx.cpp:831: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[9];
data/xbase64-3.1.2/xbase64/xbndx.cpp:843: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[9];
data/xbase64-3.1.2/xbase64/xbndx.cpp:987: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 FieldName[11];
data/xbase64-3.1.2/xbase64/xbndx.cpp:998:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( FieldName, TempNode->NodeText, TempNode->Len );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1041:19:  [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).
  if (((indexfp = fopen( GetFileName(), "r" )) != NULL ) && !Overlay ) {
data/xbase64-3.1.2/xbase64/xbndx.cpp:1049:18:  [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).
  if(( indexfp = fopen( GetFileName(), "w+b" )) == NULL )
data/xbase64-3.1.2/xbase64/xbndx.cpp:1205: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[4];
data/xbase64-3.1.2/xbase64/xbndx.cpp:1314:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( KeyBuf2, KeyBuf, HeadNode.KeyLen + 1);
data/xbase64-3.1.2/xbase64/xbndx.cpp:1322:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( KeyBuf, GetKeyData(i-1,n), HeadNode.KeyLen );  
data/xbase64-3.1.2/xbase64/xbndx.cpp:1330:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( KeyBuf, KeyBuf2, HeadNode.KeyLen + 1);
data/xbase64-3.1.2/xbase64/xbndx.cpp:1366:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy( KeyBuf2, KeyBuf, HeadNode.KeyLen + 1 );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1374:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( KeyBuf, GetKeyData( i, curNode ), HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1381:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( KeyBuf, GetKeyData( i-1, curNode ), HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1387:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( KeyBuf, KeyBuf2, HeadNode.KeyLen + 1 );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1429:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( KeyBuf, GetKeyData( i, curNode ), HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1436:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( KeyBuf, KeyBuf2, HeadNode.KeyLen + 1 );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1447:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( KeyBuf, GetKeyData( i, curNode ), HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1493:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( KeyBuf, GetKeyData( i, nodeToSplit ), HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1501:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( KeyBuf, GetKeyData( i-1, nodeToSplit ), HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1512:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( KeyBuf, GetKeyData( CurNode->CurKeyNo, CurNode ), HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1544:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy( KeyBuf, GetKeyData( i, nodeToSplit ), HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1553:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(KeyBuf,GetKeyData(CurNode->CurKeyNo,CurNode),HeadNode.KeyLen);
data/xbase64-3.1.2/xbase64/xbndx.cpp:1569:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(KeyBuf,GetKeyData(CurNode->CurKeyNo,CurNode),HeadNode.KeyLen);
data/xbase64-3.1.2/xbase64/xbndx.cpp:1588:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy( KeyBuf, GetKeyData( i, nodeToSplit ), HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1630:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
       memcpy( KeyBuf2, TempNode->StringResult, XB_MIN(HeadNode.KeyLen + 1, TempNode->DataLen) );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1637:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( KeyBuf, TempNode->StringResult.c_str(), XB_MIN(HeadNode.KeyLen + 1, TempNode->DataLen) );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1654:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(key, KeyBuf, 8);
data/xbase64-3.1.2/xbase64/xbndx.cpp:1656:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(key, KeyBuf, HeadNode.KeyLen + 1);
data/xbase64-3.1.2/xbase64/xbndx.cpp:1770:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( KeyBuf, GetKeyData( CurNode->CurKeyNo,CurNode ),HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1791:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( KeyBuf, GetKeyData( i-1, Tparent ), HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1801:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy( KeyBuf,GetKeyData( CurNode->CurKeyNo, CurNode ), HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1831:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( KeyBuf, GetKeyData( i+1, n), HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1863:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(KeyBuf,GetKeyData(n->Leaf.NoOfKeysThisNode-1,n),HeadNode.KeyLen);
data/xbase64-3.1.2/xbase64/xbndx.cpp:1985:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( KeyBuf, GetKeyData( CurNode->CurKeyNo, CurNode),HeadNode.KeyLen);
data/xbase64-3.1.2/xbase64/xbndx.cpp:1991:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( KeyBuf, GetKeyData( j, n ), HeadNode.KeyLen);
data/xbase64-3.1.2/xbase64/xbndx.cpp:2026:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy( KeyBuf, GetKeyData( CurNode->CurKeyNo, CurNode ), HeadNode.KeyLen);
data/xbase64-3.1.2/xbase64/xbndx.cpp:2144:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(KeyBuf,GetKeyData(CurNode->CurKeyNo,CurNode),HeadNode.KeyLen);
data/xbase64-3.1.2/xbase64/xbndx.cpp:2279:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy( &TempHead, &HeadNode, sizeof( struct xbNdxHeadNode ));
data/xbase64-3.1.2/xbase64/xbndx.cpp:2290:12:  [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).
  if(( t = fopen( TempName, "w+b" )) == NULL )
data/xbase64-3.1.2/xbase64/xbndx.cpp:2314:18:  [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).
  if(( indexfp = fopen( GetFileName(), "r+b" )) == NULL )
data/xbase64-3.1.2/xbase64/xbndx.cpp:2371:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buf, HeadNode.KeyExpression, 
data/xbase64-3.1.2/xbase64/xbndx.h:90:4:  [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     KeyExpression[XB_NDX_NODE_SIZE - 24];
data/xbase64-3.1.2/xbase64/xbndx.h:92:4:  [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     KeyExpression[XB_MAX_NDX_NODE_SIZE - 24];
data/xbase64-3.1.2/xbase64/xbndx.h:103:4:  [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   KeyRecs[XB_NDX_NODE_SIZE-4];
data/xbase64-3.1.2/xbase64/xbndx.h:105:4:  [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   KeyRecs[XB_MAX_NDX_NODE_SIZE - 4];
data/xbase64-3.1.2/xbase64/xbndx.h:191:4:  [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  Node[XB_NDX_NODE_SIZE];
data/xbase64-3.1.2/xbase64/xbndx.h:193:4:  [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  Node[XB_MAX_NDX_NODE_SIZE];
data/xbase64-3.1.2/xbase64/xbntx.cpp:308:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy( n->Leaf.KeyRecs, Node, XB_NTX_NODE_SIZE );
data/xbase64-3.1.2/xbase64/xbntx.cpp:1008: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[9];
data/xbase64-3.1.2/xbase64/xbntx.cpp:1020: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[9];
data/xbase64-3.1.2/xbase64/xbntx.cpp:1227: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 FieldName[11];
data/xbase64-3.1.2/xbase64/xbntx.cpp:1235:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( FieldName, TempNode->NodeText, TempNode->Len );
data/xbase64-3.1.2/xbase64/xbntx.cpp:1272:18:  [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).
  if(((indexfp = fopen( GetFileName(), "r" )) != NULL ) && !Overlay ){
data/xbase64-3.1.2/xbase64/xbntx.cpp:1278:18:  [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).
  if(( indexfp = fopen( GetFileName(), "w+b" )) == NULL ){
data/xbase64-3.1.2/xbase64/xbntx.cpp:1481: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[4];
data/xbase64-3.1.2/xbase64/xbntx.cpp:1667:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(PushItem.Key,
data/xbase64-3.1.2/xbase64/xbntx.cpp:1684:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(PushItem.Key, KeyBuf, HeadNode.KeyLen);
data/xbase64-3.1.2/xbase64/xbntx.cpp:1691:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( PushItem.Key,
data/xbase64-3.1.2/xbase64/xbntx.cpp:1710:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(n2->Leaf.KeyRecs, n1->Leaf.KeyRecs, XB_NTX_NODE_SIZE);
data/xbase64-3.1.2/xbase64/xbntx.cpp:1758:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(oldPushItem.Key, PushItem.Key, sizeof(PushItem.Key));
data/xbase64-3.1.2/xbase64/xbntx.cpp:1766:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(PushItem.Key,
data/xbase64-3.1.2/xbase64/xbntx.cpp:1790:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( PushItem.Key, 
data/xbase64-3.1.2/xbase64/xbntx.cpp:1811:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy( KeyBuf, oldPushItem.Key, HeadNode.KeyLen + 1);
data/xbase64-3.1.2/xbase64/xbntx.cpp:1820:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(n2->Leaf.KeyRecs, n1->Leaf.KeyRecs, XB_NTX_NODE_SIZE);
data/xbase64-3.1.2/xbase64/xbntx.cpp:1871:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( KeyBuf2, TempNode->StringResult, XB_MIN(HeadNode.KeyLen + 1, TempNode->DataLen) );
data/xbase64-3.1.2/xbase64/xbntx.cpp:1874:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( KeyBuf, TempNode->StringResult, XB_MIN(HeadNode.KeyLen + 1, TempNode->DataLen) );
data/xbase64-3.1.2/xbase64/xbntx.cpp:1889:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(key, KeyBuf, HeadNode.KeyLen + 1);  
data/xbase64-3.1.2/xbase64/xbntx.cpp:1980:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( KeyBuf, PushItem.Key, HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbntx.cpp:2003:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy( KeyBuf, PushItem.Key, HeadNode.KeyLen);
data/xbase64-3.1.2/xbase64/xbntx.cpp:2040:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(KeyBuf,GetKeyData(n->Leaf.NoOfKeysThisNode-1,n),HeadNode.KeyLen);
data/xbase64-3.1.2/xbase64/xbntx.cpp:2457:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy( &TempHead, &HeadNode, sizeof( struct NtxHeadNode ));
data/xbase64-3.1.2/xbase64/xbntx.cpp:2466:12:  [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).
  if(( t = fopen( TempName, "w+b" )) == NULL )
data/xbase64-3.1.2/xbase64/xbntx.cpp:2511:18:  [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).
  if(( indexfp = fopen( GetFileName(), "r+b" )) == NULL )
data/xbase64-3.1.2/xbase64/xbntx.cpp:2574:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buf, HeadNode.KeyExpression, len < 256 ? len : 256);
data/xbase64-3.1.2/xbase64/xbntx.h: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 KeyExpression[256];  /* Null terminated key expression */
data/xbase64-3.1.2/xbase64/xbntx.h:74: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 NotUsed[745];
data/xbase64-3.1.2/xbase64/xbntx.h:83: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     KeyRecs[XB_NTX_NODE_SIZE];
data/xbase64-3.1.2/xbase64/xbntx.h:95: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 Key[256];
data/xbase64-3.1.2/xbase64/xbntx.h: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         Node[XB_NTX_NODE_SIZE];
data/xbase64-3.1.2/xbase64/xbstring.cpp:765:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data+pos, data+pos+n, l-pos-n+1);
data/xbase64-3.1.2/xbase64/xbstring.cpp:1029:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy( data, anchor, len );
data/xbase64-3.1.2/bin/dbfutil1.cpp:161:11:  [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).
  while( !strlen( Expression )){
data/xbase64-3.1.2/bin/dbfutil1.cpp:614:7:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      getchar();        
data/xbase64-3.1.2/bin/dbfutil1.cpp:635:9:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        getchar();
data/xbase64-3.1.2/bin/dbfutil1.cpp:641:3:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getchar();
data/xbase64-3.1.2/bin/dbfutil1.cpp:662:9:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        getchar();
data/xbase64-3.1.2/bin/dbfutil1.cpp:667:18:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if( toupper( getchar()) == 'N' ){
data/xbase64-3.1.2/bin/dbfutil1.cpp:669:7:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      getchar();
data/xbase64-3.1.2/bin/dbfutil1.cpp:834:11:  [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).
  while( !strlen( IndexName ) || 
data/xbase64-3.1.2/bin/dbfutil1.cpp:838:31:  [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).
    for( int i = 0; i < (int) strlen( IndexName ); i++ )
data/xbase64-3.1.2/bin/dbfutil1.cpp:847:11:  [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).
  while( !strlen( KeyExpression )){
data/xbase64-3.1.2/examples/sample2.cpp:176:30:  [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).
  MyFile.UpdateMemoData( m1, strlen( bigBuf ), bigBuf, XB_LOCK );
data/xbase64-3.1.2/libtest/exptest.cpp:152:7:  [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).
  if( strlen( ExpectedResult ) != strlen( exp->GetStringResult())){
data/xbase64-3.1.2/libtest/exptest.cpp:152:35:  [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).
  if( strlen( ExpectedResult ) != strlen( exp->GetStringResult())){
data/xbase64-3.1.2/libtest/exptest.cpp:155:18:  [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).
              << strlen( exp->GetStringResult())
data/xbase64-3.1.2/libtest/exptest.cpp:156:52:  [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).
              << " different than expected of " << strlen( ExpectedResult )
data/xbase64-3.1.2/libtest/lfiletst.cpp:133:32:  [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).
    MyFile.UpdateMemoData( f5, strlen( charbuf ), charbuf, 0 );
data/xbase64-3.1.2/xbase64/xbase64.cpp:110:17:  [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).
  xbShort len = strlen(Name);
data/xbase64-3.1.2/xbase64/xbcdx.cpp:32: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).
  tagHeader_.keyLen=strlen(tagName)+1;
data/xbase64-3.1.2/xbase64/xbcdx.cpp:60:7:  [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).
  len=strlen(tagName);
data/xbase64-3.1.2/xbase64/xbcdx.cpp:74:29:  [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).
  indexHeader_.totalExprLen=strlen(expr)+1;
data/xbase64-3.1.2/xbase64/xbcdx.cpp:76:27:  [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).
  indexHeader_.keyExprLen=strlen(expr)+1;
data/xbase64-3.1.2/xbase64/xbdate.cpp:609:32:  [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).
                     BufPtr += strlen( cbuf );
data/xbase64-3.1.2/xbase64/xbdate.cpp:624:25:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
                        strncat( buf, s.getData(), 3 );
data/xbase64-3.1.2/xbase64/xbdate.cpp:633:35:  [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).
                        BufPtr += strlen( cbuf );
data/xbase64-3.1.2/xbase64/xbdate.cpp:643:32:  [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).
                     BufPtr += strlen( cbuf );
data/xbase64-3.1.2/xbase64/xbdate.cpp:658:25:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
                        strncat( buf, s.getData(), 3 );
data/xbase64-3.1.2/xbase64/xbdate.cpp:667:35:  [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).
                        BufPtr += strlen( cbuf );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:294:9:  [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).
  len = strlen( name );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:520:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( SchemaPtr[i].FieldName, s[i].FieldName, 10 );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:896:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( SchemaPtr[i].FieldName, p, 10 );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:1990:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fputc( fgetc( fp ), t );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:2246:10:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  fputc( fgetc( fp ), t );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:2267:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fputc( fgetc( fp ), t );
data/xbase64-3.1.2/xbase64/xbdbf.cpp:2278:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fputc( fgetc( fp ), t );
data/xbase64-3.1.2/xbase64/xbexp.cpp:671:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( TableName, p, 30 );
data/xbase64-3.1.2/xbase64/xbexp.cpp:673:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( TableName, p, TokenLen );
data/xbase64-3.1.2/xbase64/xbexp.cpp:686:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( TempField, fp, tlen );
data/xbase64-3.1.2/xbase64/xbexp.cpp:691:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( TempField, p, TokenLen );
data/xbase64-3.1.2/xbase64/xbexp.cpp:1057:36:  [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).
   return BuildExpressionTree(exp, strlen(exp), d);
data/xbase64-3.1.2/xbase64/xbexp.cpp:1065:37:  [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).
  if(( rc = BuildExpressionTree( e, strlen( e ), d )) != XB_NO_ERROR )
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:306:11:  [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).
    len = strlen( buf );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:452:7:  [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).
  if( strlen( s1 ) > strlen( s2 )) return 0;
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:452:22:  [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).
  if( strlen( s1 ) > strlen( s2 )) return 0;
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:470:9:  [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).
  len = strlen( buf );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:500:9:  [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).
  len = strlen( buf );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:552:17:  [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).
  xbShort len = strlen( str );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:665:9:  [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).
  len = strlen( String );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:785:9:  [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).
  len = strlen( String );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:802:9:  [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).
  len = strlen( String );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:857:18:  [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).
  if ((xbUShort) strlen(WorkBuf) > length) {
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:929:9:  [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).
  len = strlen( WorkBuf );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:970:9:  [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).
  len = strlen(String);
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:1035:9:  [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).
  len = strlen( String );
data/xbase64-3.1.2/xbase64/xbexpfnc.cpp:1040:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( WorkBuf, String, WorkBufMaxLen );
data/xbase64-3.1.2/xbase64/xbexpprc.cpp:293:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy( Operator, WorkNode->NodeText, WorkNode->Len );
data/xbase64-3.1.2/xbase64/xbfields.cpp:167:15:  [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).
  if(( len1 = strlen( name )) > 10 )
data/xbase64-3.1.2/xbase64/xbfields.cpp:171:12:  [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).
    len2 = strlen( SchemaPtr[i].FieldName );
data/xbase64-3.1.2/xbase64/xbfields.cpp:246: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(s)-1;
data/xbase64-3.1.2/xbase64/xbfields.cpp:404:9:  [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).
  len = strlen( buf );
data/xbase64-3.1.2/xbase64/xbfile.cpp:58:11:  [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(name);
data/xbase64-3.1.2/xbase64/xbfile.cpp:61:16:  [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 lenLower=strlen(extLower);
data/xbase64-3.1.2/xbase64/xbfile.cpp:62:16:  [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 lenUpper=strlen(extUpper);
data/xbase64-3.1.2/xbase64/xbindex.cpp:145:7:  [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).
      strlen( GetKeyExpression() ), dbf )) != XB_NO_ERROR ){
data/xbase64-3.1.2/xbase64/xbndx.cpp:855:24:  [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).
  return FindKey( Key, strlen( Key ), 1 );
data/xbase64-3.1.2/xbase64/xbndx.cpp:1031:7:  [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).
  if( strlen( Exp ) > 488 )
data/xbase64-3.1.2/xbase64/xbndx.cpp:1062:46:  [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).
  if(( rc = IxExp->BuildExpressionTree( Exp, strlen( Exp ), dbf )) != XB_NO_ERROR )
data/xbase64-3.1.2/xbase64/xbndx.cpp:1105:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy( HeadNode.KeyExpression, Exp, 488 );
data/xbase64-3.1.2/xbase64/xbndx.cpp:2112:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( KeyBuf, GetKeyData( CurNode->CurKeyNo,CurNode),HeadNode.KeyLen );
data/xbase64-3.1.2/xbase64/xbndx.h:171:66:  [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).
   xbShort  KeyExists( const char * Key ) { return FindKey( Key, strlen( Key ), 0 ); }
data/xbase64-3.1.2/xbase64/xbntx.cpp:252:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(HeadNode.KeyExpression, p, 256); p+= 256;
data/xbase64-3.1.2/xbase64/xbntx.cpp:1032:24:  [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).
  return FindKey( Key, strlen( Key ), 1 );
data/xbase64-3.1.2/xbase64/xbntx.cpp:1265:7:  [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).
  if( strlen( Exp ) > 255 ) return XB_INVALID_KEY_EXPRESSION;
data/xbase64-3.1.2/xbase64/xbntx.cpp:1298:46:  [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).
  if(( rc = IxExp->BuildExpressionTree( Exp, strlen( Exp ), dbf )) != XB_NO_ERROR )
data/xbase64-3.1.2/xbase64/xbntx.cpp:1336:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy( HeadNode.KeyExpression, Exp, 255 );
data/xbase64-3.1.2/xbase64/xbntx.h:199:59:  [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).
  xbShort  KeyExists( char * Key ) { return FindKey( Key, strlen( Key ), 0 ); }
data/xbase64-3.1.2/xbase64/xbstring.cpp:130:16:  [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).
  size_t len = strlen(s);
data/xbase64-3.1.2/xbase64/xbstring.cpp:138:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(data, s, maxlen);
data/xbase64-3.1.2/xbase64/xbstring.cpp:161:10:  [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).
  size = strlen(s) + 1;
data/xbase64-3.1.2/xbase64/xbstring.cpp:181:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(data, s, maxlen);
data/xbase64-3.1.2/xbase64/xbstring.cpp:215:28:  [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).
  data = (char *)calloc(1, strlen(s) + 1);
data/xbase64-3.1.2/xbase64/xbstring.cpp:218:10:  [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).
  size = strlen(data)+1;
data/xbase64-3.1.2/xbase64/xbstring.cpp:235:28:  [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).
  data = (char *)calloc(1, strlen(s) + 1);
data/xbase64-3.1.2/xbase64/xbstring.cpp:237:10:  [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).
  size = strlen(data) + 1;
data/xbase64-3.1.2/xbase64/xbstring.cpp:274:18:  [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).
  return( data ? strlen(data) : 0 );
data/xbase64-3.1.2/xbase64/xbstring.cpp:313:10:  [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).
  resize(strlen(data)+1);               // truncate
data/xbase64-3.1.2/xbase64/xbstring.cpp:330: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(s);
data/xbase64-3.1.2/xbase64/xbstring.cpp:341:18:  [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 numspc = strlen(lftspc);
data/xbase64-3.1.2/xbase64/xbstring.cpp:343:27:  [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.
    while( numspc-- > 0 ) strcat(lftspc," ");
data/xbase64-3.1.2/xbase64/xbstring.cpp:356: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(s);
data/xbase64-3.1.2/xbase64/xbstring.cpp:699:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(data, d + pos, n);
data/xbase64-3.1.2/xbase64/xbstring.cpp:721:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(data, str, n);
data/xbase64-3.1.2/xbase64/xbstring.cpp:794:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(s.data, data+pos, n);

ANALYSIS SUMMARY:

Hits = 371
Lines analyzed = 23677 in approximately 0.65 seconds (36494 lines/second)
Physical Source Lines of Code (SLOC) = 14570
Hits@level = [0]  75 [1]  92 [2] 227 [3]   0 [4]  52 [5]   0
Hits@level+ = [0+] 446 [1+] 371 [2+] 279 [3+]  52 [4+]  52 [5+]   0
Hits/KSLOC@level+ = [0+] 30.6108 [1+] 25.4633 [2+] 19.1489 [3+] 3.56898 [4+] 3.56898 [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.