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/libxaw-1.0.13/src/XawIm.c
Examining data/libxaw-1.0.13/src/TextTr.c
Examining data/libxaw-1.0.13/src/Form.c
Examining data/libxaw-1.0.13/src/DisplayList.c
Examining data/libxaw-1.0.13/src/Toggle.c
Examining data/libxaw-1.0.13/src/Vendor.c
Examining data/libxaw-1.0.13/src/TextPop.c
Examining data/libxaw-1.0.13/src/Repeater.c
Examining data/libxaw-1.0.13/src/List.c
Examining data/libxaw-1.0.13/src/Pixmap.c
Examining data/libxaw-1.0.13/src/Porthole.c
Examining data/libxaw-1.0.13/src/Command.c
Examining data/libxaw-1.0.13/src/SmeLine.c
Examining data/libxaw-1.0.13/src/Text.c
Examining data/libxaw-1.0.13/src/Simple.c
Examining data/libxaw-1.0.13/src/MultiSink.c
Examining data/libxaw-1.0.13/src/AsciiText.c
Examining data/libxaw-1.0.13/src/XawI18n.h
Examining data/libxaw-1.0.13/src/AsciiSink.c
Examining data/libxaw-1.0.13/src/AsciiSrc.c
Examining data/libxaw-1.0.13/src/Label.c
Examining data/libxaw-1.0.13/src/XawInit.c
Examining data/libxaw-1.0.13/src/OS.c
Examining data/libxaw-1.0.13/src/Dialog.c
Examining data/libxaw-1.0.13/src/sharedlib.c
Examining data/libxaw-1.0.13/src/Private.h
Examining data/libxaw-1.0.13/src/Box.c
Examining data/libxaw-1.0.13/src/Paned.c
Examining data/libxaw-1.0.13/src/Actions.c
Examining data/libxaw-1.0.13/src/AllWidgets.c
Examining data/libxaw-1.0.13/src/TextSink.c
Examining data/libxaw-1.0.13/src/XawI18n.c
Examining data/libxaw-1.0.13/src/MenuButton.c
Examining data/libxaw-1.0.13/src/MultiSrc.c
Examining data/libxaw-1.0.13/src/TextAction.c
Examining data/libxaw-1.0.13/src/Viewport.c
Examining data/libxaw-1.0.13/src/TextSrc.c
Examining data/libxaw-1.0.13/src/Scrollbar.c
Examining data/libxaw-1.0.13/src/Tree.c
Examining data/libxaw-1.0.13/src/SmeBSB.c
Examining data/libxaw-1.0.13/src/Tip.c
Examining data/libxaw-1.0.13/src/Converters.c
Examining data/libxaw-1.0.13/src/Panner.c
Examining data/libxaw-1.0.13/src/Grip.c
Examining data/libxaw-1.0.13/src/Sme.c
Examining data/libxaw-1.0.13/src/SimpleMenu.c
Examining data/libxaw-1.0.13/src/StripChart.c
Examining data/libxaw-1.0.13/include/X11/Xaw/PanedP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/MultiSinkP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/PortholeP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/XawImP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Simple.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Tip.h
Examining data/libxaw-1.0.13/include/X11/Xaw/StripCharP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Viewport.h
Examining data/libxaw-1.0.13/include/X11/Xaw/MultiSrc.h
Examining data/libxaw-1.0.13/include/X11/Xaw/TreeP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/SimpleMenP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/ScrollbarP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/SmeP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Scrollbar.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Template.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Grip.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Toggle.h
Examining data/libxaw-1.0.13/include/X11/Xaw/ListP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Tree.h
Examining data/libxaw-1.0.13/include/X11/Xaw/GripP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/RepeaterP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/AllWidgets.h
Examining data/libxaw-1.0.13/include/X11/Xaw/ToggleP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/CommandP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/PannerP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Cardinals.h
Examining data/libxaw-1.0.13/include/X11/Xaw/TipP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Sme.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Dialog.h
Examining data/libxaw-1.0.13/include/X11/Xaw/TextSrc.h
Examining data/libxaw-1.0.13/include/X11/Xaw/BoxP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/AsciiSinkP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/VendorEP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/TextSinkP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/AsciiSrc.h
Examining data/libxaw-1.0.13/include/X11/Xaw/XawInit.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Template.c
Examining data/libxaw-1.0.13/include/X11/Xaw/Porthole.h
Examining data/libxaw-1.0.13/include/X11/Xaw/TextSrcP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/SmeBSB.h
Examining data/libxaw-1.0.13/include/X11/Xaw/MenuButton.h
Examining data/libxaw-1.0.13/include/X11/Xaw/AsciiTextP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/AsciiText.h
Examining data/libxaw-1.0.13/include/X11/Xaw/AsciiSink.h
Examining data/libxaw-1.0.13/include/X11/Xaw/MenuButtoP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/DialogP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Repeater.h
Examining data/libxaw-1.0.13/include/X11/Xaw/LabelP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/FormP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/SmeBSBP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/SimpleP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Label.h
Examining data/libxaw-1.0.13/include/X11/Xaw/MultiSink.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Text.h
Examining data/libxaw-1.0.13/include/X11/Xaw/List.h
Examining data/libxaw-1.0.13/include/X11/Xaw/TextSink.h
Examining data/libxaw-1.0.13/include/X11/Xaw/TemplateP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/SimpleMenu.h
Examining data/libxaw-1.0.13/include/X11/Xaw/TextP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/StripChart.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Box.h
Examining data/libxaw-1.0.13/include/X11/Xaw/MultiSrcP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/SmeLineP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Form.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Panner.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Command.h
Examining data/libxaw-1.0.13/include/X11/Xaw/SmeLine.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Reports.h
Examining data/libxaw-1.0.13/include/X11/Xaw/ViewportP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/AsciiSrcP.h
Examining data/libxaw-1.0.13/include/X11/Xaw/Paned.h

FINAL RESULTS:

data/libxaw-1.0.13/src/Actions.c:871: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(escape + 1, value);
data/libxaw-1.0.13/src/Actions.c:886: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(unescape, value + 1);
data/libxaw-1.0.13/src/AsciiSrc.c:1763:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy((char *)toVal->addr, buffer);
data/libxaw-1.0.13/src/Converters.c:75: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((char *)toVal->addr, (value));	\
data/libxaw-1.0.13/src/Form.c:393:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy((char *)toVal->addr, buffer);
data/libxaw-1.0.13/src/MultiSrc.c:1592:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy((char *)toVal->addr, buffer);
data/libxaw-1.0.13/src/Pixmap.c:686: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(pixmap_path + length, tok);
data/libxaw-1.0.13/src/Pixmap.c:689:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(pixmap_path + length, "%s/%%N", tok);
data/libxaw-1.0.13/src/Pixmap.c:696:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(pixmap_path + length, default_path);
data/libxaw-1.0.13/src/Text.c:536:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy((char *)toVal->addr, buffer);
data/libxaw-1.0.13/src/Text.c:600:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy((char *)toVal->addr, buffer);
data/libxaw-1.0.13/src/Text.c:675:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy((char *)toVal->addr, buffer);
data/libxaw-1.0.13/src/Text.c:2047: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 ((char *)*value, salt->contents);
data/libxaw-1.0.13/src/TextAction.c:1039: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 (*value, salt->contents);
data/libxaw-1.0.13/src/TextAction.c:2592:2:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
	wcscpy((wchar_t*)++ptr, (wchar_t*)line_to_ip);
data/libxaw-1.0.13/src/TextAction.c:2607:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(++ptr, line_to_ip);
data/libxaw-1.0.13/src/TextSink.c:1227:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(foreground, asterisk);
data/libxaw-1.0.13/src/TextSink.c:1235:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(background, asterisk);
data/libxaw-1.0.13/src/TextSink.c:1820:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy((char *)toVal->addr, buffer);
data/libxaw-1.0.13/src/TextSrc.c:559:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy((char *)toVal->addr, buffer);
data/libxaw-1.0.13/src/Vendor.c:294: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(mbs, *list);
data/libxaw-1.0.13/src/XawI18n.h:32:9:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
#define wcscpy(d, s)		wscpy(d, s)
data/libxaw-1.0.13/src/XawI18n.h:80:9:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
#define wcscpy(d,s) _Xwcscpy(d,s)
data/libxaw-1.0.13/src/Pixmap.c:748:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	sub[0].substitution = getenv("HOME");
data/libxaw-1.0.13/src/Pixmap.c:950:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	sub[0].substitution = getenv("HOME");
data/libxaw-1.0.13/include/X11/Xaw/ListP.h:101: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 pad1[(sizeof(XtPointer) - sizeof(Boolean)) +
data/libxaw-1.0.13/src/Actions.c:227: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 *p, name[256];
data/libxaw-1.0.13/src/Actions.c:297: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 msg[256];
data/libxaw-1.0.13/src/Actions.c:367: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 msg[256];
data/libxaw-1.0.13/src/Actions.c:381:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msg[256];
data/libxaw-1.0.13/src/Actions.c: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 msg[256];
data/libxaw-1.0.13/src/Actions.c:453:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char msg[256];
data/libxaw-1.0.13/src/Actions.c:590:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char msg[256];
data/libxaw-1.0.13/src/Actions.c:621:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[256];
data/libxaw-1.0.13/src/Actions.c:646:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg[1024];
data/libxaw-1.0.13/src/Actions.c:900:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char msg[256];
data/libxaw-1.0.13/src/AsciiSink.c:1065:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[260];
data/libxaw-1.0.13/src/AsciiSrc.c:592: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(ptr, text->ptr + firstPos, (unsigned)fill);
data/libxaw-1.0.13/src/AsciiSrc.c:849: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, text->ptr, (unsigned)text->length);
data/libxaw-1.0.13/src/AsciiSrc.c:1048: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.
		    *((char **)args[i].value) = src->ascii_src.first_piece->text;
data/libxaw-1.0.13/src/AsciiSrc.c:1050: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.
		    *((char **)args[i].value) = src->ascii_src.string;
data/libxaw-1.0.13/src/AsciiSrc.c:1328: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(piece->text + piece->used, tmp->text, bytes);
data/libxaw-1.0.13/src/AsciiSrc.c:1376: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(string + first, piece->text, (unsigned)piece->used);
data/libxaw-1.0.13/src/AsciiSrc.c:1480:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd = open(src->ascii_src.string, open_mode, 0666)) != -1) {
data/libxaw-1.0.13/src/AsciiSrc.c:1556: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(piece->text, ptr, (unsigned)piece->used);
data/libxaw-1.0.13/src/AsciiSrc.c:1702: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(cnew->text, piece->text + HALF_PIECE,
data/libxaw-1.0.13/src/AsciiSrc.c:1715: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 name[7];
data/libxaw-1.0.13/src/Converters.c:215:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fname[64];
data/libxaw-1.0.13/src/Converters.c:233:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fname[64];
data/libxaw-1.0.13/src/Converters.c:254: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 buffer[6];
data/libxaw-1.0.13/src/Converters.c:273: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 buffer[6];
data/libxaw-1.0.13/src/Converters.c:292: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 buffer[7];
data/libxaw-1.0.13/src/Converters.c:310: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 buffer[7];
data/libxaw-1.0.13/src/Converters.c:328: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 buffer[6];
data/libxaw-1.0.13/src/Converters.c:346: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 buffer[11];
data/libxaw-1.0.13/src/Converters.c:364: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 buffer[12];
data/libxaw-1.0.13/src/Converters.c:382: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 buffer[11];
data/libxaw-1.0.13/src/Converters.c:433: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 buffer[19];
data/libxaw-1.0.13/src/Converters.c:469: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 buffer[128];
data/libxaw-1.0.13/src/Converters.c:511: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 buffer[4];
data/libxaw-1.0.13/src/Dialog.c:368:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    *((char **)args[i].value) = s;
data/libxaw-1.0.13/src/Dialog.c:373:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    *((char **)args[i].value) = s;
data/libxaw-1.0.13/src/DisplayList.c:236: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 cname[64], fname[64], aname[1024];
data/libxaw-1.0.13/src/DisplayList.c:270: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 msg[256];
data/libxaw-1.0.13/src/DisplayList.c:295: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.
	      char msg[256];
data/libxaw-1.0.13/src/DisplayList.c:313: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 msg[256];
data/libxaw-1.0.13/src/DisplayList.c:352: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.
	      char msg[256];
data/libxaw-1.0.13/src/DisplayList.c:416: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.
	      char msg[256];
data/libxaw-1.0.13/src/Form.c:330: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 name[12];
data/libxaw-1.0.13/src/Form.c:410: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 name[12];
data/libxaw-1.0.13/src/MenuButton.c:221:2:  [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 error_buf[BUFSIZ];
data/libxaw-1.0.13/src/MultiSink.c:132:8:  [2] (buffer) wchar_t:
  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 wchar_t wspace[2];
data/libxaw-1.0.13/src/MultiSink.c:342:5:  [2] (buffer) wchar_t:
  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.
    wchar_t buf[256];
data/libxaw-1.0.13/src/MultiSrc.c:875: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.
		    *((char **)args[i].value) = (char *)
data/libxaw-1.0.13/src/MultiSrc.c:878: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.
		    *((char **)args[i].value) = (char *)src->multi_src.string;
data/libxaw-1.0.13/src/MultiSrc.c:1252:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd = open((char *)src->multi_src.string, open_mode, 0666)) != -1) {
data/libxaw-1.0.13/src/MultiSrc.c:1544: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 name[7];
data/libxaw-1.0.13/src/Paned.c:1196: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 action_type[2], direction[2];
data/libxaw-1.0.13/src/Pixmap.c:809:19:  [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).
      dimension = atoi(argval->value);
data/libxaw-1.0.13/src/Pixmap.c:819: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).
      steps = atoi(argval->value);
data/libxaw-1.0.13/src/Pixmap.c:945:17:  [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).
    closeness = atoi(argval->value);
data/libxaw-1.0.13/src/Simple.c:271:2:  [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[BUFSIZ];
data/libxaw-1.0.13/src/SimpleMenu.c:805:2:  [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 error_buf[BUFSIZ];
data/libxaw-1.0.13/src/Text.c:489: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 name[32];
data/libxaw-1.0.13/src/Text.c:552: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 lowerName[6];
data/libxaw-1.0.13/src/Text.c:616: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 lowerName[8];
data/libxaw-1.0.13/src/TextAction.c:984: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((char*)targetP, (char*)std_targets, sizeof(Atom)*std_length);
data/libxaw-1.0.13/src/TextAction.c:2062:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[128];
data/libxaw-1.0.13/src/TextAction.c:2325:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[32];
data/libxaw-1.0.13/src/TextAction.c:2483:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[32];
data/libxaw-1.0.13/src/TextAction.c:2985:5:  [2] (buffer) wchar_t:
  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.
    wchar_t wc_buf[2];
data/libxaw-1.0.13/src/TextAction.c:3041: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 *ptr, strbuf[128], ptrbuf[512];
data/libxaw-1.0.13/src/TextAction.c:3070: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((char*)ptr, (char *)strbuf, sizeof(wchar_t) * text.length);
data/libxaw-1.0.13/src/TextAction.c:3224:12:  [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 hexval[XawTextActionMaxHexChars];
data/libxaw-1.0.13/src/TextAction.c:3399:6:  [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 err_buf[256];
data/libxaw-1.0.13/src/TextAction.c:3500:14:  [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).
	if ((mult = atoi(params[0])) == 0) {
data/libxaw-1.0.13/src/TextAction.c:3501:2:  [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[BUFSIZ];
data/libxaw-1.0.13/src/TextAction.c:3528:12:  [2] (buffer) wchar_t:
  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 wchar_t wc_two_spaces[3];
data/libxaw-1.0.13/src/TextAction.c:3634:12:  [2] (buffer) wchar_t:
  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 wchar_t wide_CR[2];
data/libxaw-1.0.13/src/TextAction.c:4160:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2];
data/libxaw-1.0.13/src/TextAction.c:4171:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2];
data/libxaw-1.0.13/src/TextAction.c:4188: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 upbuf[2];
data/libxaw-1.0.13/src/TextAction.c:4189: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 lobuf[2];
data/libxaw-1.0.13/src/TextAction.c:4201: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 upbuf[2];
data/libxaw-1.0.13/src/TextAction.c:4202: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 lobuf[2];
data/libxaw-1.0.13/src/TextAction.c:4226:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ch, mb[sizeof(wchar_t)];
data/libxaw-1.0.13/src/TextPop.c:267:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUFSIZ], msg[BUFSIZ];
data/libxaw-1.0.13/src/TextPop.c:272:8:  [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.
	(void)strcpy(msg,
data/libxaw-1.0.13/src/TextPop.c:308:52:  [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 (str == NULL || strlen(str) == 0 || (file = fopen(str, "r")) == NULL)
data/libxaw-1.0.13/src/TextPop.c:532: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 *ptr, buf[BUFSIZ];
data/libxaw-1.0.13/src/TextPop.c:535:5:  [2] (buffer) wchar_t:
  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.
    wchar_t wcs[1];
data/libxaw-1.0.13/src/TextPop.c:838: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 msg[37];
data/libxaw-1.0.13/src/TextPop.c:891: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(msg, "...");
data/libxaw-1.0.13/src/TextPop.c:893: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(msg + len - 4, "...");
data/libxaw-1.0.13/src/TextPop.c:1036:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    char msg[37];
data/libxaw-1.0.13/src/TextPop.c:1051:8:  [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(msg, "...");
data/libxaw-1.0.13/src/TextPop.c:1053:8:  [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(msg + len - 4, "...");
data/libxaw-1.0.13/src/TextPop.c:1264:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUFSIZ];
data/libxaw-1.0.13/src/TextPop.c:1503:2:  [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 descendant[DISMISS_NAME_LEN + 2];
data/libxaw-1.0.13/src/TextSink.c:1105:34:  [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).
	property->underline_thickness = atoi(str);
data/libxaw-1.0.13/src/TextSink.c:1118:3:  [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).
		atoi(XrmQuarkToString(property->pixel_size)) / 10;
data/libxaw-1.0.13/src/TextSink.c:1129:33:  [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).
	property->underline_position = atoi(str);
data/libxaw-1.0.13/src/TextSink.c:1195: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(ret, cur, sizeof(XawTextProperty));
data/libxaw-1.0.13/src/TextSink.c:1208: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 identifier[1024];
data/libxaw-1.0.13/src/TextSink.c:1209: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 foreground[16];
data/libxaw-1.0.13/src/TextSink.c:1210: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 background[16];
data/libxaw-1.0.13/src/TextSink.c:1309: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(result, property, sizeof(XawTextProperty));
data/libxaw-1.0.13/src/TextSink.c:1502:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[BUFSIZ];
data/libxaw-1.0.13/src/TextSrc.c:242:8:  [2] (buffer) wchar_t:
  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 wchar_t SrcWNL[2];
data/libxaw-1.0.13/src/TextSrc.c:507: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 name[7];
data/libxaw-1.0.13/src/TextSrc.c:801: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(r_state->buffer, block->ptr, total);
data/libxaw-1.0.13/src/TextSrc.c:919: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(list->right->buffer + list->right->length * size,
data/libxaw-1.0.13/src/TextSrc.c:937: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(list->left->buffer + list->left->length * size,
data/libxaw-1.0.13/src/TextSrc.c:943: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(list->left->buffer, undo->left->buffer, size);
data/libxaw-1.0.13/src/XawI18n.c:69: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 str[2];
data/libxaw-1.0.13/src/XawI18n.c:99:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char mb[MB_LEN_MAX];
data/libxaw-1.0.13/src/XawIm.c:452: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	*p, *s, *ns, *end, *pbuf, buf[32];
data/libxaw-1.0.13/src/XawIm.c:483: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 (pbuf, "@im=");
data/libxaw-1.0.13/src/XawIm.c:1138: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(&save_tbl, p, sizeof(XawIcTablePart));
data/libxaw-1.0.13/src/XawIm.c:1382: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((char *)ve->im.resources, (char *)resources, sizeof(resources));
data/libxaw-1.0.13/src/XawIm.c:1540: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			tmp_buf[64], *tmp_p;
data/libxaw-1.0.13/src/Actions.c:256:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(name, p, XawMin((int)sizeof(name) - 1,
data/libxaw-1.0.13/src/Actions.c:440:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      from.size = strlen(value) + 1;
data/libxaw-1.0.13/src/Actions.c:869:25:  [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).
      escape = XtMalloc(strlen(value) + 2);
data/libxaw-1.0.13/src/Actions.c:885: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).
      unescape = XtMalloc(strlen(value));
data/libxaw-1.0.13/src/AsciiSrc.c:1416: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).
	    src->ascii_src.length = strlen(src->ascii_src.string);
data/libxaw-1.0.13/src/AsciiSrc.c:1421: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).
	    src->ascii_src.length = strlen(src->ascii_src.string);
data/libxaw-1.0.13/src/AsciiSrc.c:1757: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).
    size = strlen(buffer) + 1;
data/libxaw-1.0.13/src/Converters.c:262: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(buffer) + 1;
data/libxaw-1.0.13/src/Converters.c:281: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(buffer) + 1;
data/libxaw-1.0.13/src/Converters.c:299: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(buffer) + 1;
data/libxaw-1.0.13/src/Converters.c:317: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(buffer) + 1;
data/libxaw-1.0.13/src/Converters.c:335: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(buffer) + 1;
data/libxaw-1.0.13/src/Converters.c:353: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(buffer) + 1;
data/libxaw-1.0.13/src/Converters.c:371: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(buffer) + 1;
data/libxaw-1.0.13/src/Converters.c:389: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(buffer) + 1;
data/libxaw-1.0.13/src/Converters.c:422: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(buffer) + 1;
data/libxaw-1.0.13/src/Converters.c:458: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(buffer) + 1;
data/libxaw-1.0.13/src/Converters.c:489: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).
	  size = strlen(tmp);
data/libxaw-1.0.13/src/Converters.c:519: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(buffer) + 1;
data/libxaw-1.0.13/src/Converters.c:580: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(buffer) + 1;
data/libxaw-1.0.13/src/Converters.c:693: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(buffer) + 1;
data/libxaw-1.0.13/src/DisplayList.c:291: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).
	  memmove(fname, fp + 1, strlen(fp));
data/libxaw-1.0.13/src/DisplayList.c:1909: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).
	  string->length = strlen(string->string);
data/libxaw-1.0.13/src/Form.c:387: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).
    size = strlen(buffer) + 1;
data/libxaw-1.0.13/src/Label.c:323: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).
		int width = XmbTextEscapement(fset, label, strlen(label));
data/libxaw-1.0.13/src/Label.c:330: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).
	    lw->label.label_len = strlen(lw->label.label);
data/libxaw-1.0.13/src/Label.c:361: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).
		int width = XTextWidth(fs, label, strlen(label));
data/libxaw-1.0.13/src/Label.c:364:50:  [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).
		    width = XTextWidth16(fs, (XChar2b *)label, strlen(label) / 2);
data/libxaw-1.0.13/src/Label.c:366: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).
		    width = XTextWidth(fs, label, strlen(label));
data/libxaw-1.0.13/src/Label.c:372: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).
	    lw->label.label_len = strlen(lw->label.label);
data/libxaw-1.0.13/src/Label.c:545: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(label);
data/libxaw-1.0.13/src/Label.c:567: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(label);
data/libxaw-1.0.13/src/List.c:377:6:  [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(lw->list.list[i]));
data/libxaw-1.0.13/src/List.c:380:6:  [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(lw->list.list[i]));
data/libxaw-1.0.13/src/List.c:755: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).
		      gc, x, str_y, str, strlen(str));
data/libxaw-1.0.13/src/List.c:757:60:  [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).
	XDrawString(XtDisplay(w), XtWindow(w), gc, x, str_y, str, strlen(str));
data/libxaw-1.0.13/src/List.c:1004: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).
    item_len = strlen(lw->list.list[item]);
data/libxaw-1.0.13/src/MultiSrc.c:481:12:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    (void)wcsncpy(ptr, wptr + firstPos, fill);
data/libxaw-1.0.13/src/MultiSrc.c:724:11:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)wcsncpy(buf, wtarget, wtarget_len);
data/libxaw-1.0.13/src/MultiSrc.c:1092: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).
    if (write(fd, string, strlen(string)) == -1)
data/libxaw-1.0.13/src/MultiSrc.c:1131:8:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	(void)wcsncpy(wc_string + first, piece->text, piece->used);
data/libxaw-1.0.13/src/MultiSrc.c:1183: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).
	    length = strlen((char *)src->multi_src.string);
data/libxaw-1.0.13/src/MultiSrc.c:1190: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).
	    src->multi_src.length = strlen((char *)src->multi_src.string);
data/libxaw-1.0.13/src/MultiSrc.c:1316:6:  [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((char *)src->multi_src.string) : 0;
data/libxaw-1.0.13/src/MultiSrc.c:1381:8:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	(void)wcsncpy(piece->text, ptr, piece->used);
data/libxaw-1.0.13/src/MultiSrc.c:1531:11:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)wcsncpy(cnew->text, piece->text + HALF_PIECE,
data/libxaw-1.0.13/src/MultiSrc.c:1586: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).
    size = strlen(buffer) + 1;
data/libxaw-1.0.13/src/Pixmap.c:125: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).
      memmove(&tok[-1], tok, strlen(tok) + 1);
data/libxaw-1.0.13/src/Pixmap.c:138: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).
	  memmove(str, tok, strlen(tok) + 1);
data/libxaw-1.0.13/src/Pixmap.c:149:25:  [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).
	memmove(&tok[-1], tok, strlen(tok) + 1);
data/libxaw-1.0.13/src/Pixmap.c:166:25:  [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).
	memmove(&tok[-1], tok, strlen(tok) + 1);
data/libxaw-1.0.13/src/Pixmap.c:682:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    int toklen = strlen(tok);
data/libxaw-1.0.13/src/Pixmap.c:690: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).
		length += strlen(tok) + 3;
data/libxaw-1.0.13/src/Pixmap.c:693:48:  [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).
	pixmap_path = XtRealloc(pixmap_path, length + strlen(default_path) + 2);
data/libxaw-1.0.13/src/Simple.c:379: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).
    from.size = strlen((char *)from.addr) + 1;
data/libxaw-1.0.13/src/SmeBSB.c:351: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).
	int len = strlen(entry->sme_bsb.label);
data/libxaw-1.0.13/src/SmeBSB.c:578: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).
				       strlen(entry->sme_bsb.label));
data/libxaw-1.0.13/src/SmeBSB.c:589:8:  [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(entry->sme_bsb.label));
data/libxaw-1.0.13/src/Text.c:530: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).
    size = strlen(buffer) + 1;
data/libxaw-1.0.13/src/Text.c:594: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).
    size = strlen(buffer) + 1;
data/libxaw-1.0.13/src/Text.c:669: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).
    size = strlen(buffer) + 1;
data/libxaw-1.0.13/src/Text.c:1134:6:  [1] (buffer) wcslen:
  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).
	n = wcslen(ws);
data/libxaw-1.0.13/src/Text.c:1148:6:  [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).
	n = strlen((char *)s);
data/libxaw-1.0.13/src/Text.c:2043:20:  [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((char *)*value);
data/libxaw-1.0.13/src/Text.c:2058: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).
	    textprop.nitems = strlen(*value);
data/libxaw-1.0.13/src/Text.c:2082: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).
	    textprop.nitems = strlen(*value);
data/libxaw-1.0.13/src/Text.c:2092: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).
	    *length = strlen(*list);
data/libxaw-1.0.13/src/Text.c:2283: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).
	salt->length = strlen (salt->contents);
data/libxaw-1.0.13/src/Text.c:2389: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).
		amount = Min ((len = strlen((char *)ptr)), max_len);
data/libxaw-1.0.13/src/TextAction.c:412:20:  [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).
	textprop.nitems = strlen(value);
data/libxaw-1.0.13/src/TextAction.c:425: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).
	    textprop.nitems = strlen((char *) textprop.value);
data/libxaw-1.0.13/src/TextAction.c:435:12:  [1] (buffer) wcslen:
  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 = wcslen(wlist[0]);
data/libxaw-1.0.13/src/TextAction.c:1035: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).
		*length = strlen(*value);
data/libxaw-1.0.13/src/TextAction.c:1051: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).
		textprop.nitems = strlen(*value);
data/libxaw-1.0.13/src/TextAction.c:1076: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).
		textprop.nitems = strlen(*value);
data/libxaw-1.0.13/src/TextAction.c:1086: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).
		*length = strlen(*list);
data/libxaw-1.0.13/src/TextAction.c:1284: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).
	    length = strlen(string);
data/libxaw-1.0.13/src/TextAction.c:1294:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(salt->contents, ring, size);
data/libxaw-1.0.13/src/TextAction.c:1296:3:  [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(salt->contents, string, length);
data/libxaw-1.0.13/src/TextAction.c:1299:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(salt->contents, string, length);
data/libxaw-1.0.13/src/TextAction.c:1301:3:  [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(salt->contents, ring, size);
data/libxaw-1.0.13/src/TextAction.c:2588:27:  [1] (buffer) wcslen:
  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).
	text.ptr = XtMalloc((2 + wcslen((wchar_t*)line_to_ip))
data/libxaw-1.0.13/src/TextAction.c:2594:11:  [1] (buffer) wcslen:
  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 = wcslen((wchar_t*)text.ptr);
data/libxaw-1.0.13/src/TextAction.c:2598:16:  [1] (buffer) wcslen:
  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).
	text.length = wcslen((wchar_t*)text.ptr);
data/libxaw-1.0.13/src/TextAction.c:2603: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).
	length = strlen(line_to_ip);
data/libxaw-1.0.13/src/TextAction.c:2613: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).
	text.length = strlen(text.ptr);
data/libxaw-1.0.13/src/TextAction.c:3081:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(ptr, strbuf, text.length);
data/libxaw-1.0.13/src/TextAction.c:3190:6:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	    usleep(40000);
data/libxaw-1.0.13/src/TextAction.c:3229: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).
	*len_return = strlen(param);
data/libxaw-1.0.13/src/TextAction.c:3257: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).
		*len_return = strlen(param);
data/libxaw-1.0.13/src/TextAction.c:3265: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).
	*len_return = strlen(hexval);
data/libxaw-1.0.13/src/TextAction.c:3271:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    *len_return = strlen(param);
data/libxaw-1.0.13/src/TextAction.c:3374: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).
	from.size = strlen(from.addr = params[0]);
data/libxaw-1.0.13/src/TextAction.c:3396:26:  [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 (*num_params != 1 || strlen(params[0]) != 1
data/libxaw-1.0.13/src/TextAction.c:4061:16:  [1] (buffer) wcslen:
  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).
	text.length = wcslen(wbuf);
data/libxaw-1.0.13/src/TextAction.c:4072: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).
	text.length = strlen(buf);
data/libxaw-1.0.13/src/TextPop.c:308: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).
    if (str == NULL || strlen(str) == 0 || (file = fopen(str, "r")) == NULL)
data/libxaw-1.0.13/src/TextPop.c:848:16:  [1] (buffer) wcslen:
  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).
	text.length = wcslen((wchar_t*)text.ptr);
data/libxaw-1.0.13/src/TextPop.c:850: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).
	text.length = strlen(text.ptr);
data/libxaw-1.0.13/src/TextPop.c:880:8:  [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(ptr);
data/libxaw-1.0.13/src/TextPop.c:888: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(msg);
data/libxaw-1.0.13/src/TextPop.c:1010:33:  [1] (buffer) wcslen:
  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).
	find.length = (XawTextPosition)wcslen((wchar_t*)find.ptr);
data/libxaw-1.0.13/src/TextPop.c:1012:33:  [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).
	find.length = (XawTextPosition)strlen(find.ptr);
data/libxaw-1.0.13/src/TextPop.c:1018:19:  [1] (buffer) wcslen:
  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).
	replace.length = wcslen((wchar_t*)replace.ptr);
data/libxaw-1.0.13/src/TextPop.c:1020:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	replace.length = strlen(replace.ptr);
data/libxaw-1.0.13/src/TextPop.c:1041: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).
		    len = strlen(ptr);
data/libxaw-1.0.13/src/TextPop.c:1048: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).
			    len = strlen(msg);
data/libxaw-1.0.13/src/TextSink.c:1813: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).
    size = strlen(buffer) + 1;
data/libxaw-1.0.13/src/TextSrc.c:553: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).
    size = strlen(buffer) + 1;
data/libxaw-1.0.13/src/TextSrc.c:1568:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buf, str, *len_in_out);
data/libxaw-1.0.13/src/TextSrc.c:1587:19:  [1] (buffer) wcslen:
  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_in_out = wcslen(wstr);
data/libxaw-1.0.13/src/Tip.c:341:8:  [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(label);
data/libxaw-1.0.13/src/Tip.c:359:8:  [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(label);
data/libxaw-1.0.13/src/Tip.c:429:45:  [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).
	    width = XmbTextEscapement(fset, label, strlen(label));
data/libxaw-1.0.13/src/Tip.c:452: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).
		XTextWidth16(fs, (XChar2b*)label, strlen(label) >> 1) :
data/libxaw-1.0.13/src/Tip.c:453:25:  [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).
		XTextWidth(fs, label, strlen(label));
data/libxaw-1.0.13/src/Vendor.c:291: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(*list);
data/libxaw-1.0.13/src/XawI18n.h:31:9:  [1] (buffer) wcslen:
  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 wcslen(c) wslen(c)
data/libxaw-1.0.13/src/XawI18n.h:33:9:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
#define wcsncpy(d, s, l)	wsncpy(d, s, l)
data/libxaw-1.0.13/src/XawI18n.h:72:9:  [1] (buffer) wcslen:
  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 wcslen(c) _Xwcslen(c)
data/libxaw-1.0.13/src/XawI18n.h:89:9:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
#define wcsncpy(d, s, l)	_Xwcsncpy(d, s, l)
data/libxaw-1.0.13/src/XawIm.c:465: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).
	Cardinal len = strlen (ve->im.input_method) + 5;
data/libxaw-1.0.13/src/XawIm.c:477: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).
		end = s + strlen(s);
data/libxaw-1.0.13/src/XawIm.c:484:3:  [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 (pbuf, s, end - s);
data/libxaw-1.0.13/src/XawIm.c:519: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).
	    end = s + strlen(s);

ANALYSIS SUMMARY:

Hits = 266
Lines analyzed = 55747 in approximately 1.35 seconds (41386 lines/second)
Physical Source Lines of Code (SLOC) = 37290
Hits@level = [0]  72 [1] 125 [2] 116 [3]   2 [4]  23 [5]   0
Hits@level+ = [0+] 338 [1+] 266 [2+] 141 [3+]  25 [4+]  23 [5+]   0
Hits/KSLOC@level+ = [0+] 9.06409 [1+] 7.13328 [2+] 3.78117 [3+] 0.670421 [4+] 0.616787 [5+]   0
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.