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/libxml-libxml-perl-2.0134+dfsg/perl-libxml-mm.h
Examining data/libxml-libxml-perl-2.0134+dfsg/xpath.h
Examining data/libxml-libxml-perl-2.0134+dfsg/Av_CharPtrPtr.h
Examining data/libxml-libxml-perl-2.0134+dfsg/Av_CharPtrPtr.c
Examining data/libxml-libxml-perl-2.0134+dfsg/perl-libxml-sax.h
Examining data/libxml-libxml-perl-2.0134+dfsg/perl-libxml-sax.c
Examining data/libxml-libxml-perl-2.0134+dfsg/ppport.h
Examining data/libxml-libxml-perl-2.0134+dfsg/xpath.c
Examining data/libxml-libxml-perl-2.0134+dfsg/dom.c
Examining data/libxml-libxml-perl-2.0134+dfsg/perl-libxml-mm.c
Examining data/libxml-libxml-perl-2.0134+dfsg/xpathcontext.h
Examining data/libxml-libxml-perl-2.0134+dfsg/dom.h

FINAL RESULTS:

data/libxml-libxml-perl-2.0134+dfsg/Av_CharPtrPtr.c:58:6:  [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( s[x], SvPV( *ssv, PL_na ) );
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:6285:14:  [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.
    retval = vsnprintf(buffer, len, format, ap);
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:6287:14:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    retval = vsprintf(buffer, format, ap);
data/libxml-libxml-perl-2.0134+dfsg/perl-libxml-mm.c:287:2:  [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(lp, payload, sizeof(LocalProxyNode));
data/libxml-libxml-perl-2.0134+dfsg/perl-libxml-sax.c:241:2:  [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(copy, newstring, len);
data/libxml-libxml-perl-2.0134+dfsg/perl-libxml-sax.c:278: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(p, cur->data, cur->len);
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:3542:42:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define CopyD(s,d,n,t)                 memcpy((char*)(d),(char*)(s), (n) * sizeof(t))
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:6140:24:  [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.
		&& (xdigit = strchr((char *) PL_hexdigit, s[1])))
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:6336: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(dst + used, src, copy);
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:6365: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(dst, src, copy);
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:4778: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).
  sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:4786: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).
#  define sv_vcatpvf(sv, pat, args)  sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:4790: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).
#  define sv_vsetpvf(sv, pat, args)  sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:4810: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).
  sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:4838: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).
  sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:4859: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).
     sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));  \
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:4881: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).
  sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:4909: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).
  sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:4930: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).
     sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));  \
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:5734: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).
        STRLEN len = strlen(radix);
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:6332: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).
    used = strlen(dst);
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:6333:14:  [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).
    length = strlen(src);
data/libxml-libxml-perl-2.0134+dfsg/ppport.h:6362:14:  [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).
    length = strlen(src);

ANALYSIS SUMMARY:

Hits = 23
Lines analyzed = 11966 in approximately 0.30 seconds (40287 lines/second)
Physical Source Lines of Code (SLOC) = 6476
Hits@level = [0]   1 [1]  13 [2]   7 [3]   0 [4]   3 [5]   0
Hits@level+ = [0+]  24 [1+]  23 [2+]  10 [3+]   3 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 3.70599 [1+] 3.55158 [2+] 1.54416 [3+] 0.463249 [4+] 0.463249 [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.