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/cmark-gfm-0.29.0.gfm.0/CheckFileOffsetBits.c
Examining data/cmark-gfm-0.29.0.gfm.0/api_test/cplusplus.cpp
Examining data/cmark-gfm-0.29.0.gfm.0/api_test/cplusplus.h
Examining data/cmark-gfm-0.29.0.gfm.0/api_test/harness.c
Examining data/cmark-gfm-0.29.0.gfm.0/api_test/harness.h
Examining data/cmark-gfm-0.29.0.gfm.0/api_test/main.c
Examining data/cmark-gfm-0.29.0.gfm.0/extensions/autolink.c
Examining data/cmark-gfm-0.29.0.gfm.0/extensions/autolink.h
Examining data/cmark-gfm-0.29.0.gfm.0/extensions/core-extensions.c
Examining data/cmark-gfm-0.29.0.gfm.0/extensions/ext_scanners.c
Examining data/cmark-gfm-0.29.0.gfm.0/extensions/ext_scanners.h
Examining data/cmark-gfm-0.29.0.gfm.0/extensions/strikethrough.c
Examining data/cmark-gfm-0.29.0.gfm.0/extensions/strikethrough.h
Examining data/cmark-gfm-0.29.0.gfm.0/extensions/table.c
Examining data/cmark-gfm-0.29.0.gfm.0/extensions/table.h
Examining data/cmark-gfm-0.29.0.gfm.0/extensions/tagfilter.c
Examining data/cmark-gfm-0.29.0.gfm.0/extensions/tagfilter.h
Examining data/cmark-gfm-0.29.0.gfm.0/extensions/tasklist.h
Examining data/cmark-gfm-0.29.0.gfm.0/extensions/tasklist.c
Examining data/cmark-gfm-0.29.0.gfm.0/extensions/cmark-gfm-core-extensions.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/arena.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/blocks.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/buffer.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/buffer.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/chunk.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/cmark-gfm-extension_api.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/cmark-gfm.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/cmark.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/cmark_ctype.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/cmark_ctype.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/commonmark.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/footnotes.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/footnotes.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/houdini.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/houdini_href_e.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/houdini_html_e.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/houdini_html_u.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/html.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/html.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/inlines.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/inlines.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/iterator.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/iterator.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/latex.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/linked_list.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/main.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/man.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/map.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/map.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/node.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/parser.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/plaintext.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/plugin.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/plugin.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/references.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/references.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/registry.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/registry.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/render.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/render.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/scanners.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/scanners.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/syntax_extension.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/syntax_extension.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/utf8.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/utf8.h
Examining data/cmark-gfm-0.29.0.gfm.0/src/xml.c
Examining data/cmark-gfm-0.29.0.gfm.0/src/node.h
Examining data/cmark-gfm-0.29.0.gfm.0/test/cmark-fuzz.c

FINAL RESULTS:

data/cmark-gfm-0.29.0.gfm.0/api_test/harness.c:21:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, msg, ap);
data/cmark-gfm-0.29.0.gfm.0/api_test/harness.c:84:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    system(buf);
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:803:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buf, "((((%s))))", utf8);
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:807:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(expected, "<p>((((%s))))</p>\n", utf8);
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:817:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buf, "----%s", utf8);
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:827:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "((((%s))))", utf8);
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:833:7:  [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(expected, UTF8_REPL);
data/cmark-gfm-0.29.0.gfm.0/src/syntax_extension.c:25: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(res->name, name);
data/cmark-gfm-0.29.0.gfm.0/api_test/harness.c:59:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
  int fd = mkstemp(name);
data/cmark-gfm-0.29.0.gfm.0/api_test/harness.c:82: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[1024];
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:802: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[20];
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:806: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 expected[30];
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:816: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[20];
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:826: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[20];
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:830: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 expected[50];
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:831: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(expected, "<p>((((" UTF8_REPL "\x20");
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:835:5:  [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(expected, "))))</p>\n");
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:967: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(input + i * (sizeof(path) - 1), path, sizeof(path) - 1);
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:983: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(input + i * (sizeof(path) - 1), path, sizeof(path) - 1);
data/cmark-gfm-0.29.0.gfm.0/extensions/autolink.c:29:40:  [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.
    if (link_len > len && strncasecmp((char *)link, valid_uris[i], len) == 0 &&
data/cmark-gfm-0.29.0.gfm.0/extensions/strikethrough.c:12: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 buffer[101];
data/cmark-gfm-0.29.0.gfm.0/extensions/table.c:745: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(a, alignments, ncols);
data/cmark-gfm-0.29.0.gfm.0/src/arena.c:90: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(new_ptr, ptr, ((size_t *) ptr)[-1]);
data/cmark-gfm-0.29.0.gfm.0/src/blocks.c:488: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 n[32];
data/cmark-gfm-0.29.0.gfm.0/src/blocks.c:639: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.
  unsigned char buffer[4096];
data/cmark-gfm-0.29.0.gfm.0/src/blocks.c:1249: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(&((*container)->as.list), data, sizeof(*data));
data/cmark-gfm-0.29.0.gfm.0/src/blocks.c:1256: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(&((*container)->as.list), data, sizeof(*data));
data/cmark-gfm-0.29.0.gfm.0/src/buffer.c:17: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.
unsigned char cmark_strbuf__initbuf[1];
data/cmark-gfm-0.29.0.gfm.0/src/chunk.h:70: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(str, c->data, c->len);
data/cmark-gfm-0.29.0.gfm.0/src/chunk.h:90: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(c->data, str, c->len + 1);
data/cmark-gfm-0.29.0.gfm.0/src/commonmark.c:32:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char encoded[ENCODED_SIZE];
data/cmark-gfm-0.29.0.gfm.0/src/commonmark.c:180: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 fencechar[2] = {'\0', '\0'};
data/cmark-gfm-0.29.0.gfm.0/src/commonmark.c: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 listmarker[LISTMARKER_SIZE];
data/cmark-gfm-0.29.0.gfm.0/src/commonmark.c:489: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 n[32];
data/cmark-gfm-0.29.0.gfm.0/src/houdini_html_u.c:16:22:  [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.
      strncmp((const char *)s, (const char *)cmark_entities[i].entity, len);
data/cmark-gfm-0.29.0.gfm.0/src/houdini_html_u.c:16:39:  [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.
      strncmp((const char *)s, (const char *)cmark_entities[i].entity, len);
data/cmark-gfm-0.29.0.gfm.0/src/houdini_html_u.c:18:28:  [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.
    return (const unsigned char *)cmark_entities[i].bytes;
data/cmark-gfm-0.29.0.gfm.0/src/html.c: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 n[32];
data/cmark-gfm-0.29.0.gfm.0/src/html.c:87: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 buffer[BUFFER_SIZE];
data/cmark-gfm-0.29.0.gfm.0/src/html.c:399: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 n[32];
data/cmark-gfm-0.29.0.gfm.0/src/html.h:17: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 buffer[BUFFER_SIZE];
data/cmark-gfm-0.29.0.gfm.0/src/inlines.c:122: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(c.data, src->data, len);
data/cmark-gfm-0.29.0.gfm.0/src/inlines.c:1505:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return (char *) memcpy (result, s, len);
data/cmark-gfm-0.29.0.gfm.0/src/latex.c:226: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 list_number_string[LIST_NUMBER_STRING_SIZE];
data/cmark-gfm-0.29.0.gfm.0/src/main.c:125: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 buffer[4096];
data/cmark-gfm-0.29.0.gfm.0/src/main.c:270: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).
    FILE *fp = fopen(argv[files[i]], "rb");
data/cmark-gfm-0.29.0.gfm.0/src/man.c:132: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 list_number_s[LIST_NUMBER_SIZE];
data/cmark-gfm-0.29.0.gfm.0/src/plaintext.c:40: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 listmarker[LISTMARKER_SIZE];
data/cmark-gfm-0.29.0.gfm.0/src/plaintext.c:206: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 n[32];
data/cmark-gfm-0.29.0.gfm.0/src/xml.c:40: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 buffer[BUFFER_SIZE];
data/cmark-gfm-0.29.0.gfm.0/api_test/harness.c:62: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).
  fwrite(data, 1, strlen(data), f);
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:823: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(utf8);
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:838: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).
        cmark_markdown_to_html(buf, strlen(buf), CMARK_OPT_VALIDATE_UTF8);
data/cmark-gfm-0.29.0.gfm.0/api_test/main.c:924:49:  [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).
  char *html = cmark_markdown_to_html(markdown, strlen(markdown),
data/cmark-gfm-0.29.0.gfm.0/extensions/autolink.c:27: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).
    size_t len = strlen(valid_uris[i]);
data/cmark-gfm-0.29.0.gfm.0/extensions/autolink.c:160:40:  [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 (size < 4 || memcmp(data, "www.", strlen("www.")) != 0)
data/cmark-gfm-0.29.0.gfm.0/extensions/autolink.c:220: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).
  link_end = strlen("://");
data/cmark-gfm-0.29.0.gfm.0/extensions/table.c:185: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)strlen(parent_string));
data/cmark-gfm-0.29.0.gfm.0/extensions/table.c:208:39:  [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)strlen(parent_string));
data/cmark-gfm-0.29.0.gfm.0/extensions/table.c:246:68:  [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).
  table_header->end_column = parent_container->start_column + (int)strlen(parent_string) - 2;
data/cmark-gfm-0.29.0.gfm.0/extensions/table.c:269: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)strlen((char *)input) - 1 - cmark_parser_get_offset(parser), false);
data/cmark-gfm-0.29.0.gfm.0/src/buffer.c:98:40:  [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 ? (bufsize_t)strlen(string) : 0);
data/cmark-gfm-0.29.0.gfm.0/src/buffer.c:119:67:  [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).
  cmark_strbuf_put(buf, (const unsigned char *)string, (bufsize_t)strlen(string));
data/cmark-gfm-0.29.0.gfm.0/src/chunk.h:87: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).
    c->len = (bufsize_t)strlen(str);
data/cmark-gfm-0.29.0.gfm.0/src/chunk.h:98: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).
  bufsize_t len = data ? (bufsize_t)strlen(data) : 0;
data/cmark-gfm-0.29.0.gfm.0/src/commonmark.c:65: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).
      renderer->column += (int)strlen(encoded);
data/cmark-gfm-0.29.0.gfm.0/src/commonmark.c:76: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).
  size_t code_len = strlen(code);
data/cmark-gfm-0.29.0.gfm.0/src/commonmark.c:97: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).
  size_t code_len = strlen(code);
data/cmark-gfm-0.29.0.gfm.0/src/commonmark.c:250: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).
      marker_width = (bufsize_t)strlen(listmarker);
data/cmark-gfm-0.29.0.gfm.0/src/commonmark.c:292: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).
    info_len = strlen(info);
data/cmark-gfm-0.29.0.gfm.0/src/commonmark.c:295: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).
    code_len = strlen(code);
data/cmark-gfm-0.29.0.gfm.0/src/commonmark.c:378: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).
    code_len = strlen(code);
data/cmark-gfm-0.29.0.gfm.0/src/commonmark.c:451: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).
        if (strlen(title) > 0) {
data/cmark-gfm-0.29.0.gfm.0/src/commonmark.c:468: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).
      if (strlen(title) > 0) {
data/cmark-gfm-0.29.0.gfm.0/src/inlines.c:1495: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/cmark-gfm-0.29.0.gfm.0/src/latex.c:172: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).
  url_len = strlen(url);
data/cmark-gfm-0.29.0.gfm.0/src/latex.c:178: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).
  title_len = strlen(title);
data/cmark-gfm-0.29.0.gfm.0/src/main.c:196: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).
        if (unparsed && strlen(unparsed) > 0) {
data/cmark-gfm-0.29.0.gfm.0/src/plaintext.c:95: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).
      marker_width = (bufsize_t)strlen(listmarker);
data/cmark-gfm-0.29.0.gfm.0/src/render.c:25: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).
  int length = (int)strlen(source);
data/cmark-gfm-0.29.0.gfm.0/src/syntax_extension.c:24:56:  [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).
  res->name = (char *) _mem->calloc(1, sizeof(char) * (strlen(name)) + 1);

ANALYSIS SUMMARY:

Hits = 81
Lines analyzed = 25947 in approximately 0.65 seconds (40043 lines/second)
Physical Source Lines of Code (SLOC) = 22278
Hits@level = [0]  67 [1]  31 [2]  42 [3]   0 [4]   8 [5]   0
Hits@level+ = [0+] 148 [1+]  81 [2+]  50 [3+]   8 [4+]   8 [5+]   0
Hits/KSLOC@level+ = [0+] 6.64333 [1+] 3.63587 [2+] 2.24437 [3+] 0.359099 [4+] 0.359099 [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.