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/rtl-433-20.11/include/abuf.h
Examining data/rtl-433-20.11/include/am_analyze.h
Examining data/rtl-433-20.11/include/baseband.h
Examining data/rtl-433-20.11/include/bitbuffer.h
Examining data/rtl-433-20.11/include/compat_paths.h
Examining data/rtl-433-20.11/include/compat_time.h
Examining data/rtl-433-20.11/include/confparse.h
Examining data/rtl-433-20.11/include/data.h
Examining data/rtl-433-20.11/include/decoder.h
Examining data/rtl-433-20.11/include/decoder_util.h
Examining data/rtl-433-20.11/include/fatal.h
Examining data/rtl-433-20.11/include/fileformat.h
Examining data/rtl-433-20.11/include/http_server.h
Examining data/rtl-433-20.11/include/jsmn.h
Examining data/rtl-433-20.11/include/list.h
Examining data/rtl-433-20.11/include/mongoose.h
Examining data/rtl-433-20.11/include/optparse.h
Examining data/rtl-433-20.11/include/output_influx.h
Examining data/rtl-433-20.11/include/output_mqtt.h
Examining data/rtl-433-20.11/include/pulse_analyzer.h
Examining data/rtl-433-20.11/include/pulse_demod.h
Examining data/rtl-433-20.11/include/pulse_detect.h
Examining data/rtl-433-20.11/include/pulse_detect_fsk.h
Examining data/rtl-433-20.11/include/r_api.h
Examining data/rtl-433-20.11/include/r_device.h
Examining data/rtl-433-20.11/include/r_private.h
Examining data/rtl-433-20.11/include/r_util.h
Examining data/rtl-433-20.11/include/rfraw.h
Examining data/rtl-433-20.11/include/rtl_433.h
Examining data/rtl-433-20.11/include/rtl_433_devices.h
Examining data/rtl-433-20.11/include/samp_grab.h
Examining data/rtl-433-20.11/include/sdr.h
Examining data/rtl-433-20.11/include/term_ctl.h
Examining data/rtl-433-20.11/include/util.h
Examining data/rtl-433-20.11/include/write_sigrok.h
Examining data/rtl-433-20.11/src/abuf.c
Examining data/rtl-433-20.11/src/am_analyze.c
Examining data/rtl-433-20.11/src/baseband.c
Examining data/rtl-433-20.11/src/bitbuffer.c
Examining data/rtl-433-20.11/src/compat_paths.c
Examining data/rtl-433-20.11/src/compat_time.c
Examining data/rtl-433-20.11/src/confparse.c
Examining data/rtl-433-20.11/src/data.c
Examining data/rtl-433-20.11/src/decoder_util.c
Examining data/rtl-433-20.11/src/devices/acurite.c
Examining data/rtl-433-20.11/src/devices/akhan_100F14.c
Examining data/rtl-433-20.11/src/devices/alecto.c
Examining data/rtl-433-20.11/src/devices/ambient_weather.c
Examining data/rtl-433-20.11/src/devices/ambientweather_tx8300.c
Examining data/rtl-433-20.11/src/devices/ambientweather_wh31e.c
Examining data/rtl-433-20.11/src/devices/archos_tbh.c
Examining data/rtl-433-20.11/src/devices/auriol_afw2a1.c
Examining data/rtl-433-20.11/src/devices/auriol_hg02832.c
Examining data/rtl-433-20.11/src/devices/blyss.c
Examining data/rtl-433-20.11/src/devices/brennenstuhl_rcs_2044.c
Examining data/rtl-433-20.11/src/devices/bresser_3ch.c
Examining data/rtl-433-20.11/src/devices/bresser_5in1.c
Examining data/rtl-433-20.11/src/devices/bresser_6in1.c
Examining data/rtl-433-20.11/src/devices/bresser_7in1.c
Examining data/rtl-433-20.11/src/devices/bt_rain.c
Examining data/rtl-433-20.11/src/devices/calibeur.c
Examining data/rtl-433-20.11/src/devices/cardin.c
Examining data/rtl-433-20.11/src/devices/chuango.c
Examining data/rtl-433-20.11/src/devices/companion_wtr001.c
Examining data/rtl-433-20.11/src/devices/cotech_36_7959.c
Examining data/rtl-433-20.11/src/devices/current_cost.c
Examining data/rtl-433-20.11/src/devices/danfoss.c
Examining data/rtl-433-20.11/src/devices/digitech_xc0324.c
Examining data/rtl-433-20.11/src/devices/directv.c
Examining data/rtl-433-20.11/src/devices/dish_remote_6_3.c
Examining data/rtl-433-20.11/src/devices/dsc.c
Examining data/rtl-433-20.11/src/devices/ecodhome.c
Examining data/rtl-433-20.11/src/devices/ecowitt.c
Examining data/rtl-433-20.11/src/devices/efergy_e2_classic.c
Examining data/rtl-433-20.11/src/devices/efergy_optical.c
Examining data/rtl-433-20.11/src/devices/efth800.c
Examining data/rtl-433-20.11/src/devices/elro_db286a.c
Examining data/rtl-433-20.11/src/devices/elv.c
Examining data/rtl-433-20.11/src/devices/emontx.c
Examining data/rtl-433-20.11/src/devices/ert_idm.c
Examining data/rtl-433-20.11/src/devices/ert_scm.c
Examining data/rtl-433-20.11/src/devices/esa.c
Examining data/rtl-433-20.11/src/devices/esic_emt7110.c
Examining data/rtl-433-20.11/src/devices/esperanza_ews.c
Examining data/rtl-433-20.11/src/devices/eurochron.c
Examining data/rtl-433-20.11/src/devices/fineoffset.c
Examining data/rtl-433-20.11/src/devices/fineoffset_wh1050.c
Examining data/rtl-433-20.11/src/devices/fineoffset_wh1080.c
Examining data/rtl-433-20.11/src/devices/flex.c
Examining data/rtl-433-20.11/src/devices/fordremote.c
Examining data/rtl-433-20.11/src/devices/fs20.c
Examining data/rtl-433-20.11/src/devices/ft004b.c
Examining data/rtl-433-20.11/src/devices/ge_coloreffects.c
Examining data/rtl-433-20.11/src/devices/generic_motion.c
Examining data/rtl-433-20.11/src/devices/generic_remote.c
Examining data/rtl-433-20.11/src/devices/generic_temperature_sensor.c
Examining data/rtl-433-20.11/src/devices/gt_tmbbq05.c
Examining data/rtl-433-20.11/src/devices/gt_wt_02.c
Examining data/rtl-433-20.11/src/devices/gt_wt_03.c
Examining data/rtl-433-20.11/src/devices/hcs200.c
Examining data/rtl-433-20.11/src/devices/hideki.c
Examining data/rtl-433-20.11/src/devices/holman_ws5029.c
Examining data/rtl-433-20.11/src/devices/hondaremote.c
Examining data/rtl-433-20.11/src/devices/honeywell.c
Examining data/rtl-433-20.11/src/devices/honeywell_wdb.c
Examining data/rtl-433-20.11/src/devices/ht680.c
Examining data/rtl-433-20.11/src/devices/ibis_beacon.c
Examining data/rtl-433-20.11/src/devices/ikea_sparsnas.c
Examining data/rtl-433-20.11/src/devices/infactory.c
Examining data/rtl-433-20.11/src/devices/inovalley-kw9015b.c
Examining data/rtl-433-20.11/src/devices/insteon.c
Examining data/rtl-433-20.11/src/devices/interlogix.c
Examining data/rtl-433-20.11/src/devices/intertechno.c
Examining data/rtl-433-20.11/src/devices/kedsum.c
Examining data/rtl-433-20.11/src/devices/kerui.c
Examining data/rtl-433-20.11/src/devices/klimalogg.c
Examining data/rtl-433-20.11/src/devices/lacrosse.c
Examining data/rtl-433-20.11/src/devices/lacrosse_breezepro.c
Examining data/rtl-433-20.11/src/devices/lacrosse_r1.c
Examining data/rtl-433-20.11/src/devices/lacrosse_th3.c
Examining data/rtl-433-20.11/src/devices/lacrosse_tx141x.c
Examining data/rtl-433-20.11/src/devices/lacrosse_tx35.c
Examining data/rtl-433-20.11/src/devices/lacrosse_wr1.c
Examining data/rtl-433-20.11/src/devices/lacrosse_ws7000.c
Examining data/rtl-433-20.11/src/devices/lacrossews.c
Examining data/rtl-433-20.11/src/devices/lightwave_rf.c
Examining data/rtl-433-20.11/src/devices/m_bus.c
Examining data/rtl-433-20.11/src/devices/maverick_et73.c
Examining data/rtl-433-20.11/src/devices/maverick_et73x.c
Examining data/rtl-433-20.11/src/devices/mebus.c
Examining data/rtl-433-20.11/src/devices/missil_ml0757.c
Examining data/rtl-433-20.11/src/devices/new_template.c
Examining data/rtl-433-20.11/src/devices/newkaku.c
Examining data/rtl-433-20.11/src/devices/nexa.c
Examining data/rtl-433-20.11/src/devices/nexus.c
Examining data/rtl-433-20.11/src/devices/nice_flor_s.c
Examining data/rtl-433-20.11/src/devices/norgo.c
Examining data/rtl-433-20.11/src/devices/oil_standard.c
Examining data/rtl-433-20.11/src/devices/oil_watchman.c
Examining data/rtl-433-20.11/src/devices/opus_xt300.c
Examining data/rtl-433-20.11/src/devices/oregon_scientific.c
Examining data/rtl-433-20.11/src/devices/oregon_scientific_sl109h.c
Examining data/rtl-433-20.11/src/devices/oregon_scientific_v1.c
Examining data/rtl-433-20.11/src/devices/philips_aj3650.c
Examining data/rtl-433-20.11/src/devices/philips_aj7010.c
Examining data/rtl-433-20.11/src/devices/prologue.c
Examining data/rtl-433-20.11/src/devices/proove.c
Examining data/rtl-433-20.11/src/devices/quhwa.c
Examining data/rtl-433-20.11/src/devices/radiohead_ask.c
Examining data/rtl-433-20.11/src/devices/rftech.c
Examining data/rtl-433-20.11/src/devices/rubicson.c
Examining data/rtl-433-20.11/src/devices/rubicson_48659.c
Examining data/rtl-433-20.11/src/devices/s3318p.c
Examining data/rtl-433-20.11/src/devices/schraeder.c
Examining data/rtl-433-20.11/src/devices/scmplus.c
Examining data/rtl-433-20.11/src/devices/secplus_v2.c
Examining data/rtl-433-20.11/src/devices/sharp_spc775.c
Examining data/rtl-433-20.11/src/devices/silvercrest.c
Examining data/rtl-433-20.11/src/devices/simplisafe.c
Examining data/rtl-433-20.11/src/devices/smoke_gs558.c
Examining data/rtl-433-20.11/src/devices/solight_te44.c
Examining data/rtl-433-20.11/src/devices/somfy.c
Examining data/rtl-433-20.11/src/devices/springfield.c
Examining data/rtl-433-20.11/src/devices/steelmate.c
Examining data/rtl-433-20.11/src/devices/tfa_30_3196.c
Examining data/rtl-433-20.11/src/devices/tfa_30_3221.c
Examining data/rtl-433-20.11/src/devices/tfa_drop_30.3233.c
Examining data/rtl-433-20.11/src/devices/tfa_pool_thermometer.c
Examining data/rtl-433-20.11/src/devices/tfa_twin_plus_30.3049.c
Examining data/rtl-433-20.11/src/devices/thermopro_tp11.c
Examining data/rtl-433-20.11/src/devices/thermopro_tp12.c
Examining data/rtl-433-20.11/src/devices/thermopro_tx2.c
Examining data/rtl-433-20.11/src/devices/tpms_abarth124.c
Examining data/rtl-433-20.11/src/devices/tpms_citroen.c
Examining data/rtl-433-20.11/src/devices/tpms_elantra2012.c
Examining data/rtl-433-20.11/src/devices/tpms_ford.c
Examining data/rtl-433-20.11/src/devices/tpms_jansite.c
Examining data/rtl-433-20.11/src/devices/tpms_pmv107j.c
Examining data/rtl-433-20.11/src/devices/tpms_renault.c
Examining data/rtl-433-20.11/src/devices/tpms_toyota.c
Examining data/rtl-433-20.11/src/devices/ts_ft002.c
Examining data/rtl-433-20.11/src/devices/ttx201.c
Examining data/rtl-433-20.11/src/devices/vaillant_vrt340f.c
Examining data/rtl-433-20.11/src/devices/visonic_powercode.c
Examining data/rtl-433-20.11/src/devices/waveman.c
Examining data/rtl-433-20.11/src/devices/wg_pb12v1.c
Examining data/rtl-433-20.11/src/devices/ws2032.c
Examining data/rtl-433-20.11/src/devices/wssensor.c
Examining data/rtl-433-20.11/src/devices/wt0124.c
Examining data/rtl-433-20.11/src/devices/wt450.c
Examining data/rtl-433-20.11/src/devices/x10_rf.c
Examining data/rtl-433-20.11/src/devices/x10_sec.c
Examining data/rtl-433-20.11/src/fileformat.c
Examining data/rtl-433-20.11/src/getopt/getopt.c
Examining data/rtl-433-20.11/src/getopt/getopt.h
Examining data/rtl-433-20.11/src/http_server.c
Examining data/rtl-433-20.11/src/jsmn.c
Examining data/rtl-433-20.11/src/list.c
Examining data/rtl-433-20.11/src/mongoose.c
Examining data/rtl-433-20.11/src/optparse.c
Examining data/rtl-433-20.11/src/output_influx.c
Examining data/rtl-433-20.11/src/output_mqtt.c
Examining data/rtl-433-20.11/src/pulse_analyzer.c
Examining data/rtl-433-20.11/src/pulse_demod.c
Examining data/rtl-433-20.11/src/pulse_detect.c
Examining data/rtl-433-20.11/src/pulse_detect_fsk.c
Examining data/rtl-433-20.11/src/r_api.c
Examining data/rtl-433-20.11/src/r_util.c
Examining data/rtl-433-20.11/src/rfraw.c
Examining data/rtl-433-20.11/src/rtl_433.c
Examining data/rtl-433-20.11/src/samp_grab.c
Examining data/rtl-433-20.11/src/sdr.c
Examining data/rtl-433-20.11/src/term_ctl.c
Examining data/rtl-433-20.11/src/util.c
Examining data/rtl-433-20.11/src/write_sigrok.c
Examining data/rtl-433-20.11/tests/baseband-test.c
Examining data/rtl-433-20.11/tests/data-test.c
Examining data/rtl-433-20.11/tests/pulse-eval.c
Examining data/rtl-433-20.11/tests/style-check.c

FINAL RESULTS:

data/rtl-433-20.11/include/mongoose.h:144:49:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define PRINTF_LIKE(f, a) __attribute__((format(printf, f, a)))
data/rtl-433-20.11/include/mongoose.h:255:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/rtl-433-20.11/include/mongoose.h:255:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/rtl-433-20.11/include/mongoose.h:256:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define vsnprintf _vsnprintf
data/rtl-433-20.11/include/mongoose.h:259:9:  [4] (shell) popen:
  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.
#define popen(x, y) _popen((x), (y))
data/rtl-433-20.11/include/mongoose.h:1611:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/rtl-433-20.11/include/mongoose.h:1611:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/rtl-433-20.11/include/mongoose.h:1613:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define vsnprintf _vsnprintf
data/rtl-433-20.11/include/mongoose.h:4389:23:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
__attribute__((format(printf, 2, 3)))
data/rtl-433-20.11/include/term_ctl.h:75:31:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        __attribute__((format(printf, 2, 3)))
data/rtl-433-20.11/include/term_ctl.h:91:31:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        __attribute__((format(printf, 1, 2)))
data/rtl-433-20.11/src/abuf.c:48:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(buf->tail, str);
data/rtl-433-20.11/src/abuf.c:59:13:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    int n = vsnprintf(buf->tail, buf->left, format, ap);
data/rtl-433-20.11/src/confparse.c:48:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    return !access(path, R_OK);
data/rtl-433-20.11/src/data.c:682:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    kv->column += fprintf(output->file, format ? format : "%.3f", data);
data/rtl-433-20.11/src/data.c:689:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    kv->column += fprintf(output->file, format ? format : "%d", data);
data/rtl-433-20.11/src/data.c:696:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    kv->column += fprintf(output->file, format ? format : "%s", data);
data/rtl-433-20.11/src/data.c:1161:10:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
    if (!syslog)
data/rtl-433-20.11/src/data.c:1166:10:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
    free(syslog);
data/rtl-433-20.11/src/data.c:1172:10:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
    if (!syslog) {
data/rtl-433-20.11/src/data.c:1181:14:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
        free(syslog);
data/rtl-433-20.11/src/decoder_util.c:40: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, format, ap);
data/rtl-433-20.11/src/decoder_util.c:49: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, format, ap);
data/rtl-433-20.11/src/decoder_util.c:58: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, format, ap);
data/rtl-433-20.11/src/decoder_util.c:67: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, format, ap);
data/rtl-433-20.11/src/decoder_util.c:79:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(msg, 60, format, ap);
data/rtl-433-20.11/src/decoder_util.c:89:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(msg, 60, format, ap);
data/rtl-433-20.11/src/decoder_util.c:99:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(msg, 60, format, ap);
data/rtl-433-20.11/src/decoder_util.c:109:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(msg, 60, format, ap);
data/rtl-433-20.11/src/decoder_util.c:148:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(row_code, "{%u}%s", bit_len, row_bytes);
data/rtl-433-20.11/src/devices/flex.c:289:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(row_codes[i], "{%d}%s", bitbuffer->bits_per_row[i], row_bytes);
data/rtl-433-20.11/src/mongoose.c:705:3:  [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(cs_log_file, fmt, ap);
data/rtl-433-20.11/src/mongoose.c:1881:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  return vsnprintf(buf, buf_size, fmt, ap);
data/rtl-433-20.11/src/mongoose.c:2128: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(ret, src);
data/rtl-433-20.11/src/mongoose.c:2221:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  len = vsnprintf(*buf, size, fmt, ap_copy);
data/rtl-433-20.11/src/mongoose.c:2240:13:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      len = vsnprintf(*buf, size - 1, fmt, ap_copy);
data/rtl-433-20.11/src/mongoose.c:2256:13:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      len = vsnprintf(*buf, len + 1, fmt, ap_copy);
data/rtl-433-20.11/src/mongoose.c:7301:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  result = sscanf(p, "bytes=%" INT64_FMT "-%" INT64_FMT, a, b);
data/rtl-433-20.11/src/mongoose.c:7637:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf(buf, fmt, user, pass) == 0) {
data/rtl-433-20.11/src/mongoose.c:7812:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    if (sscanf(buf, "%[^:]:%[^:]:%s", f_user, f_domain, f_ha1) == 3 &&
data/rtl-433-20.11/src/mongoose.c:9189:7:  [4] (shell) execle:
  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.
      execle(cmd, cmd, (char *) 0, envp); /* (char *) 0 to squash warning */
data/rtl-433-20.11/src/mongoose.c:9191:7:  [4] (shell) execle:
  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.
      execle(interp, interp, cmd, (char *) 0, envp);
data/rtl-433-20.11/src/mongoose.c:9220:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    n = vsnprintf(added, (size_t) space, fmt, ap);
data/rtl-433-20.11/src/mongoose.c:9567:20:  [4] (shell) popen:
  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.
  } else if ((fp = popen(cmd, "r")) == NULL) {
data/rtl-433-20.11/src/mongoose.c:12123:26:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    for (p = line + len; sscanf(p, "%s%n", alias, &len) == 1; p += len) {
data/rtl-433-20.11/src/mongoose.c:13393:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  len = vsnprintf(*strp, BUFSIZ, fmt, ap);
data/rtl-433-20.11/src/mongoose.c:13403:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = vsnprintf(*strp, len + 1, fmt, ap);
data/rtl-433-20.11/src/output_influx.c:156:31:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        __attribute__((format(printf, 2, 3)))
data/rtl-433-20.11/src/output_influx.c:165:12:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    size = vsnprintf(str, a->size - a->len, format, ap);
data/rtl-433-20.11/src/output_mqtt.c:192:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(topic, data->value.v_ptr);
data/rtl-433-20.11/src/output_mqtt.c:296:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            topic += sprintf(topic, "%s", string_token);
data/rtl-433-20.11/src/output_mqtt.c:368:13:  [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(end + 1, data->key);
data/rtl-433-20.11/src/r_api.c:1001:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if (access(dumper->path, F_OK) == 0 && !overwrite) {
data/rtl-433-20.11/src/r_util.c:201:15:  [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).
        tmp = strcpy(tmp, with) + len_with;
data/rtl-433-20.11/src/r_util.c:204: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(tmp, orig);
data/rtl-433-20.11/src/samp_grab.c:104:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(f_name, "g%03u_%gM_%gk.%s", g->sg_counter, freq_mhz, rate_khz, format);
data/rtl-433-20.11/src/samp_grab.c:106:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if (access(f_name, F_OK) == -1) {
data/rtl-433-20.11/src/sdr.c:872:14:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        p += sprintf(p, "%s\"%s\":\"%s\"", i ? "," : "{", args.keys[i], args.vals[i]);
data/rtl-433-20.11/src/term_ctl.c:341:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(buf, sizeof(buf)-1, format, args);
data/rtl-433-20.11/src/term_ctl.c:450:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(buf, sizeof(buf) - 1, format, args);
data/rtl-433-20.11/src/write_sigrok.c:179:9:  [4] (shell) execvp:
  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.
        execvp(argv[0], argv);
data/rtl-433-20.11/src/write_sigrok.c:251:9:  [4] (shell) execvp:
  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.
        execvp(argv[0], argv);
data/rtl-433-20.11/src/compat_paths.c:20:29:  [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.
    char *env_config_home = getenv("XDG_CONFIG_HOME");
data/rtl-433-20.11/src/compat_paths.c:26:48:  [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.
            snprintf(buf, sizeof(buf), "%s%s", getenv("HOME"), "/.config/rtl_433/rtl_433.conf");
data/rtl-433-20.11/src/getopt/getopt.c:210:9:  [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.
#ifndef getenv
data/rtl-433-20.11/src/getopt/getopt.c:215:14:  [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.
extern char *getenv ();
data/rtl-433-20.11/src/getopt/getopt.c:401:21:  [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.
  posixly_correct = getenv ("POSIXLY_CORRECT");
data/rtl-433-20.11/src/getopt/getopt.c:976:1:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt (argc, argv, optstring)
data/rtl-433-20.11/src/getopt/getopt.c:1006:11:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt (argc, argv, "abc:d:0123456789");
data/rtl-433-20.11/src/getopt/getopt.h:145:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt (int __argc, char *const *__argv, const char *__shortopts);
data/rtl-433-20.11/src/getopt/getopt.h:147:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt ();
data/rtl-433-20.11/src/getopt/getopt.h:151:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt_long (int __argc, char *const *__argv, const char *__shortopts,
data/rtl-433-20.11/src/getopt/getopt.h:164:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt ();
data/rtl-433-20.11/src/getopt/getopt.h:166:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt_long ();
data/rtl-433-20.11/src/mongoose.c:9238:12:  [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.
  if ((s = getenv(name)) != NULL) mg_addenv(blk, "%s=%s", name, s);
data/rtl-433-20.11/src/mongoose.c:9257:12:  [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.
  if ((s = getenv("SERVER_NAME")) != NULL) {
data/rtl-433-20.11/src/rtl_433.c:629:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((opt = getopt(argc, argv, optstring)) != -1) {
data/rtl-433-20.11/src/rtl_433.c:720:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((opt = getopt(argc, argv, OPTSTRING)) != -1) {
data/rtl-433-20.11/src/write_sigrok.c:115:9:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
    if (CreateProcess(NULL,  // No module name (use command line)
data/rtl-433-20.11/src/write_sigrok.c:115:9:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
    if (CreateProcess(NULL,  // No module name (use command line)
data/rtl-433-20.11/src/write_sigrok.c:226:21:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
    char *abspath = realpath(filename, NULL);
data/rtl-433-20.11/include/mongoose.h:1745:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int open(const char *filename, int oflag, int pmode);
data/rtl-433-20.11/include/mongoose.h:2154: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 in[64];
data/rtl-433-20.11/include/mongoose.h:2204: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[64];
data/rtl-433-20.11/include/mongoose.h:2209:29:  [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.
void cs_sha1_final(unsigned char digest[20], cs_sha1_ctx *);
data/rtl-433-20.11/include/mongoose.h:2210:34:  [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.
void cs_hmac_sha1(const unsigned char *key, size_t key_len,
data/rtl-433-20.11/include/mongoose.h:2211:34:  [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.
                  const unsigned char *text, size_t text_len,
data/rtl-433-20.11/include/mongoose.h:2212: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.
                  unsigned char out[20]);
data/rtl-433-20.11/include/mongoose.h:2530: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 chunk[3];
data/rtl-433-20.11/src/baseband.c:139: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(state->x, &x_buf[len - FILTER_ORDER], FILTER_ORDER * sizeof (int16_t));
data/rtl-433-20.11/src/baseband.c:140: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(state->y, &y_buf[len - FILTER_ORDER], FILTER_ORDER * sizeof (int16_t));
data/rtl-433-20.11/src/bitbuffer.c:119: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(out, bits + (pos / 8), (len + 7) / 8);
data/rtl-433-20.11/src/compat_paths.c:18: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 *paths[5] = { NULL };
data/rtl-433-20.11/src/compat_paths.c:19: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 buf[256] = "";
data/rtl-433-20.11/src/compat_paths.c:46: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 bufs[3][256];
data/rtl-433-20.11/src/compat_paths.c:47: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 *paths[4] = { NULL };
data/rtl-433-20.11/src/confparse.c:62:10:  [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).
    fp = fopen(path, "rb");
data/rtl-433-20.11/src/data.c:161:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, src, (size_t)element_size * num_values);
data/rtl-433-20.11/src/data.c:456: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(&value, (char *)array->values + element_size * idx, element_size);
data/rtl-433-20.11/src/data.c:827: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(allowed, fields, sizeof(const char *) * num_fields);
data/rtl-433-20.11/src/data.c:1076:13:  [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(&client->addr, res->ai_addr, res->ai_addrlen);
data/rtl-433-20.11/src/data.c:1122: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 hostname[_POSIX_HOST_NAME_MAX + 1];
data/rtl-433-20.11/src/data.c:1132: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 message[1024];
data/rtl-433-20.11/src/data.c:1144: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 timestamp[21];
data/rtl-433-20.11/src/decoder_util.c:76: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[60]; // fixed length limit
data/rtl-433-20.11/src/decoder_util.c:86: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[60]; // fixed length limit
data/rtl-433-20.11/src/decoder_util.c:96: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[60]; // fixed length limit
data/rtl-433-20.11/src/decoder_util.c:106: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[60]; // fixed length limit
data/rtl-433-20.11/src/decoder_util.c:132: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 row_bytes[BITBUF_COLS * 2 + 1];
data/rtl-433-20.11/src/decoder_util.c:137:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(&row_bytes[2 * col], "%02x", bitrow[col]);
data/rtl-433-20.11/src/decoder_util.c:183: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 *row_codes[BITBUF_ROWS];
data/rtl-433-20.11/src/decoder_util.c:184: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 *row_bits[BITBUF_ROWS] = {0};
data/rtl-433-20.11/src/decoder_util.c:219: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 *row_codes[BITBUF_ROWS];
data/rtl-433-20.11/src/decoder_util.c:220: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 row_bytes[BITBUF_COLS * 2 + 1];
data/rtl-433-20.11/src/decoder_util.c:227:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(&row_bytes[2 * col], "%02x", bitbuffer->bb[i][col]);
data/rtl-433-20.11/src/devices/acurite.c:111:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char chLetter[4] = {'C','E','B','A'}; // 'E' stands for error
data/rtl-433-20.11/src/devices/acurite.c:344: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 channel, channel_str[2];
data/rtl-433-20.11/src/devices/acurite.c:345: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 raw_str[31], *rawp;
data/rtl-433-20.11/src/devices/acurite.c:356:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(channel_str, "%c", channel);  // No DATA_CHAR, need null term. str
data/rtl-433-20.11/src/devices/acurite.c:387:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(rawp,"%02x",bb[i]);
data/rtl-433-20.11/src/devices/acurite.c:491: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 channel, channel_str[2];
data/rtl-433-20.11/src/devices/acurite.c:492: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 raw_str[31], *rawp;
data/rtl-433-20.11/src/devices/acurite.c:513:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(channel_str, "%c", channel);
data/rtl-433-20.11/src/devices/acurite.c:521:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(rawp,"%02x",bb[i]);
data/rtl-433-20.11/src/devices/acurite.c:655: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 channel_str[2];
data/rtl-433-20.11/src/devices/acurite.c:728:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(channel_str, "%c", channel);
data/rtl-433-20.11/src/devices/acurite.c:756:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(channel_str, "%c", channel);
data/rtl-433-20.11/src/devices/acurite.c:1204: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(signal[nsignal], bitbuffer->bb[brow], 11);
data/rtl-433-20.11/src/devices/ambientweather_wh31e.c:181: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 extra[11];
data/rtl-433-20.11/src/devices/ambientweather_wh31e.c:219:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(extra, "%02x%02x%02x%02x%02x", b[6], b[7], b[8], b[9], b[10]);
data/rtl-433-20.11/src/devices/ambientweather_wh31e.c:261:13:  [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 clock_str[23];
data/rtl-433-20.11/src/devices/ambientweather_wh31e.c:262:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(clock_str, "%04d-%02d-%02dT%02d:%02d:%02dZ",
data/rtl-433-20.11/src/devices/ambientweather_wh31e.c:297:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(extra, "%02x%02x%02x%02x%02x", b[9], b[10], b[11], b[12], b[13]);
data/rtl-433-20.11/src/devices/ambientweather_wh31e.c:336:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(extra, "%02x %02x%01x", b[13], b[16], b[17] >> 4);
data/rtl-433-20.11/src/devices/blyss.c:28: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 id_str[16];
data/rtl-433-20.11/src/devices/blyss.c:43:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(id_str, "%02x%02x%02x%02x", b[0], b[1], b[2], b[3]);
data/rtl-433-20.11/src/devices/cardin.c:27: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 dip[10] = {'-','-','-','-','-','-','-','-','-', '\0'};
data/rtl-433-20.11/src/devices/cardin.c:30: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 *rbutton[4] = { "11R", "10R", "01R", "00L?" };
data/rtl-433-20.11/src/devices/danfoss.c:111:13:  [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_raw[NUM_BYTES*2+4];    // Add some extra space for line end
data/rtl-433-20.11/src/devices/danfoss.c:113:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(str_raw+n*2, "%02X", bytes[n]);
data/rtl-433-20.11/src/devices/digitech_xc0324.c:79: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 id[4] = {0};
data/rtl-433-20.11/src/devices/dsc.c:111: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 status_str[3];
data/rtl-433-20.11/src/devices/dsc.c:112: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 esn_str[7];
data/rtl-433-20.11/src/devices/dsc.c:205:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(status_str, "%02x", status);
data/rtl-433-20.11/src/devices/dsc.c:206:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(esn_str, "%06x", esn);
data/rtl-433-20.11/src/devices/elro_db286a.c:32: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 id_str[4*2+1];
data/rtl-433-20.11/src/devices/elro_db286a.c:43:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id_str, "%02x%02x%02x%02x", b[0], b[1], b[2], b[3]);
data/rtl-433-20.11/src/devices/emontx.c:37:17:  [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 unsigned char preamble[3] = { 0xaa, 0xaa, 0xaa };
data/rtl-433-20.11/src/devices/emontx.c:38:17:  [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 unsigned char pkt_hdr_inverted[3] = { 0xd2, 0x2d, 0xc0 };
data/rtl-433-20.11/src/devices/emontx.c:39:17:  [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 unsigned char pkt_hdr[3] = { 0x2d, 0xd2, 0x00 };
data/rtl-433-20.11/src/devices/ert_idm.c:96: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 PacketTypeID_str[5];
data/rtl-433-20.11/src/devices/ert_idm.c:110: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 TamperCounters_str[16];
data/rtl-433-20.11/src/devices/ert_idm.c:114: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 PowerOutageFlags_str[16];
data/rtl-433-20.11/src/devices/ert_idm.c:227:14:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        p += sprintf(p, "%02X", b[13 + j]);
data/rtl-433-20.11/src/devices/ert_idm.c:239:14:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        p += sprintf(p, "%02X", b[21 + j]);
data/rtl-433-20.11/src/devices/ert_idm.c:363: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 PacketTypeID_str[5];
data/rtl-433-20.11/src/devices/ert_idm.c:378: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 Unknown_field_1_str[32];
data/rtl-433-20.11/src/devices/ert_idm.c:384: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 Unknown_field_2_str[9];
data/rtl-433-20.11/src/devices/ert_idm.c:390: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 TamperCounters_str[16];
data/rtl-433-20.11/src/devices/ert_idm.c:504:14:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        p += sprintf(p, "%02X", b[13 + j]);
data/rtl-433-20.11/src/devices/ert_idm.c:515:14:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        p += sprintf(p, "%02X", b[19 + j]);
data/rtl-433-20.11/src/devices/ert_idm.c:530:14:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        p += sprintf(p, "%02X", b[29 + j]);
data/rtl-433-20.11/src/devices/fineoffset.c:236: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 raw_str[17 * 3 + 1];
data/rtl-433-20.11/src/devices/fineoffset.c:238:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(raw_str + n * 3, "%02x ", b[n]);
data/rtl-433-20.11/src/devices/fineoffset.c:593: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 id[7];
data/rtl-433-20.11/src/devices/fineoffset.c:594:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id, "%02x%02x%02x", b[1], b[2], b[3]);
data/rtl-433-20.11/src/devices/fineoffset.c:754: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 clock_str[32];
data/rtl-433-20.11/src/devices/fineoffset.c:755:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(clock_str, "%04x-%02x-%02xT%02x:%02x:%02x",
data/rtl-433-20.11/src/devices/fineoffset_wh1080.c:280: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 clock_str[23];
data/rtl-433-20.11/src/devices/fineoffset_wh1080.c:281:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(clock_str, "%04d-%02d-%02dT%02d:%02d:%02d",
data/rtl-433-20.11/src/devices/flex.c:104:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(&row_bytes[2 * col], "%02x", bits[col]);
data/rtl-433-20.11/src/devices/flex.c:149: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 *row_codes[BITBUF_ROWS];
data/rtl-433-20.11/src/devices/flex.c:150: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 row_bytes[BITBUF_COLS * 2 + 1];
data/rtl-433-20.11/src/devices/flex.c:217:17:  [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(bitbuffer->bb[i], tmp, (len + 7) / 8);
data/rtl-433-20.11/src/devices/flex.c:228:13:  [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(bitbuffer->bb[i], tmp, len);
data/rtl-433-20.11/src/devices/flex.c:421: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(bitrow, bits.bb[0], sizeof(bitrow_t));
data/rtl-433-20.11/src/devices/flex.c:454:13:  [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(val, c, e - c);
data/rtl-433-20.11/src/devices/flex.c:555:32:  [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).
            dev->short_width = atoi(val);
data/rtl-433-20.11/src/devices/flex.c:557:31:  [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).
            dev->long_width = atoi(val);
data/rtl-433-20.11/src/devices/flex.c:559:31:  [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).
            dev->sync_width = atoi(val);
data/rtl-433-20.11/src/devices/flex.c:561:30:  [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).
            dev->gap_limit = atoi(val);
data/rtl-433-20.11/src/devices/flex.c:563:32:  [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).
            dev->reset_limit = atoi(val);
data/rtl-433-20.11/src/devices/flex.c:565:30:  [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).
            dev->tolerance = atoi(val);
data/rtl-433-20.11/src/devices/flex.c:568:38:  [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).
            params->min_bits = val ? atoi(val) : 0;
data/rtl-433-20.11/src/devices/flex.c:570:38:  [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).
            params->max_bits = val ? atoi(val) : 0;
data/rtl-433-20.11/src/devices/flex.c:572:57:  [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).
            params->min_bits = params->max_bits = val ? atoi(val) : 0;
data/rtl-433-20.11/src/devices/flex.c:575:38:  [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).
            params->min_rows = val ? atoi(val) : 0;
data/rtl-433-20.11/src/devices/flex.c:577:38:  [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).
            params->max_rows = val ? atoi(val) : 0;
data/rtl-433-20.11/src/devices/flex.c:579:57:  [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).
            params->min_rows = params->max_rows = val ? atoi(val) : 0;
data/rtl-433-20.11/src/devices/flex.c:582:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            params->min_repeats = val ? atoi(val) : 0;
data/rtl-433-20.11/src/devices/flex.c:584:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            params->max_repeats = val ? atoi(val) : 0;
data/rtl-433-20.11/src/devices/flex.c:586:63:  [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).
            params->min_repeats = params->max_repeats = val ? atoi(val) : 0;
data/rtl-433-20.11/src/devices/flex.c:589:36:  [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).
            params->invert = val ? atoi(val) : 1;
data/rtl-433-20.11/src/devices/flex.c:591:37:  [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).
            params->reflect = val ? atoi(val) : 1;
data/rtl-433-20.11/src/devices/flex.c:600:40:  [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).
            params->count_only = val ? atoi(val) : 1;
data/rtl-433-20.11/src/devices/flex.c:603:36:  [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).
            params->unique = val ? atoi(val) : 1;
data/rtl-433-20.11/src/devices/flex.c:606:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            params->decode_uart = val ? atoi(val) : 1;
data/rtl-433-20.11/src/devices/ge_coloreffects.c:23:23:  [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 const unsigned char preamble_pattern[3] = {0xcc, 0xff, 0x00};
data/rtl-433-20.11/src/devices/ge_coloreffects.c:105: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 cmd[7];
data/rtl-433-20.11/src/devices/generic_motion.c:38: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 code_str[6];
data/rtl-433-20.11/src/devices/generic_motion.c:50:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(code_str, "%05x", code);
data/rtl-433-20.11/src/devices/generic_remote.c:27: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 tristate[23];
data/rtl-433-20.11/src/devices/gt_tmbbq05.c:103: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(p, b, 4);
data/rtl-433-20.11/src/devices/hcs200.c:35: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 encrypted_str[9];
data/rtl-433-20.11/src/devices/hcs200.c:36: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 encrypted_rev_str[9];
data/rtl-433-20.11/src/devices/hcs200.c:37: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 serial_str[9];
data/rtl-433-20.11/src/devices/hcs200.c:38: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 serial_rev_str[9];
data/rtl-433-20.11/src/devices/hcs200.c:70:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(encrypted_str, "%08X", encrypted);
data/rtl-433-20.11/src/devices/hcs200.c:71:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(serial_str, "%08X", serial);
data/rtl-433-20.11/src/devices/hcs200.c:72:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(encrypted_rev_str, "%08X", encrypted_rev);
data/rtl-433-20.11/src/devices/hcs200.c:73:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(serial_rev_str, "%08X", serial_rev);
data/rtl-433-20.11/src/devices/ht680.c:41: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 tristate[21];
data/rtl-433-20.11/src/devices/ibis_beacon.c:35: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 code_str[63];
data/rtl-433-20.11/src/devices/ibis_beacon.c:66:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(&code_str[i*2], "%02x", msg[i]);
data/rtl-433-20.11/src/devices/infactory.c:52: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(msg, b, 5);
data/rtl-433-20.11/src/devices/insteon.c:287: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 pkt_from_addr[8]   = {0};
data/rtl-433-20.11/src/devices/insteon.c:288: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 pkt_to_addr[32]    = {0};
data/rtl-433-20.11/src/devices/insteon.c:289: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 pkt_formatted[256] = {0};
data/rtl-433-20.11/src/devices/insteon.c:290: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 cmd_str[92]        = {0};
data/rtl-433-20.11/src/devices/insteon.c:301:14:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        p += sprintf(p, "%02X ", results[j]);
data/rtl-433-20.11/src/devices/insteon.c:305: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 payload[INSTEON_PACKET_MIN_EXT * 2 + 1] = {0};
data/rtl-433-20.11/src/devices/insteon.c:308:14:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        p += sprintf(p, "%02X", results[j]);
data/rtl-433-20.11/src/devices/insteon.c:334: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 *messsage_text[8] = {
data/rtl-433-20.11/src/devices/interlogix.c:102: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 device_type_id[2];
data/rtl-433-20.11/src/devices/interlogix.c:104: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 device_serial[7];
data/rtl-433-20.11/src/devices/interlogix.c:105: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 raw_message[7];
data/rtl-433-20.11/src/devices/interlogix.c:163:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(device_type_id, "%01x", (reverse8(message[2]) >> 4));
data/rtl-433-20.11/src/devices/interlogix.c:175:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(device_serial, "%02x%02x%02x", reverse8(message[2]), reverse8(message[1]), reverse8(message[0]));
data/rtl-433-20.11/src/devices/interlogix.c:177:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(raw_message, "%02x%02x%02x", message[3], message[4], message[5]);
data/rtl-433-20.11/src/devices/intertechno.c:27: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 id_str[11];
data/rtl-433-20.11/src/devices/intertechno.c:51:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id_str, "%02x%02x%02x%02x%02x", b[0], b[1], b[2], b[3], b[4]);
data/rtl-433-20.11/src/devices/klimalogg.c:58: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 temperature_str[10] = {0};
data/rtl-433-20.11/src/devices/klimalogg.c:88:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(temperature_str, "%d.%d C", temp_bd, temp_ad);
data/rtl-433-20.11/src/devices/m_bus.c:164: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        M_str[4]; // Manufacturer (encoded as 2 bytes)
data/rtl-433-20.11/src/devices/m_bus.c:387: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(block1->knx_sn, &in->data[4], 6);
data/rtl-433-20.11/src/devices/m_bus.c:408: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(out->data, in->data, BLOCK1A_SIZE-2);
data/rtl-433-20.11/src/devices/m_bus.c:419: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(out_ptr, in_ptr, block_size);
data/rtl-433-20.11/src/devices/m_bus.c:450: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(out->data, in->data, (MIN(block1->L-11, BLOCK2B_SIZE-2))+BLOCK1B_SIZE);
data/rtl-433-20.11/src/devices/m_bus.c:459: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(out->data+(BLOCK2B_SIZE-2), in->data+BLOCK2B_SIZE, block1->L-L_OFFSET-2);
data/rtl-433-20.11/src/devices/m_bus.c:469: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_buf[1024];
data/rtl-433-20.11/src/devices/m_bus.c:472:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(str_buf, "%02x", out->data[0]-2);  // Adjust telegram length
data/rtl-433-20.11/src/devices/m_bus.c:473:48:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    for (unsigned n=1; n<out->length+2; n++) { sprintf(str_buf+n*2, "%02x", out->data[n]); }
data/rtl-433-20.11/src/devices/m_bus.c:477: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 sn_str[7*2] = {0};
data/rtl-433-20.11/src/devices/m_bus.c:478:40:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        for (unsigned n=0; n<6; n++) { sprintf(sn_str+n*2, "%02x", block1->knx_sn[n]); }
data/rtl-433-20.11/src/devices/oil_standard.c:21:23:  [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 const unsigned char preamble_pattern0[2] = {0x55, 0x5D};
data/rtl-433-20.11/src/devices/oil_standard.c:22:23:  [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 const unsigned char preamble_pattern1[2] = {0x55, 0x62};
data/rtl-433-20.11/src/devices/oregon_scientific.c:392: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 clock_str[24];
data/rtl-433-20.11/src/devices/oregon_scientific.c:393:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(clock_str, "%04d-%02d-%02dT%02d:%02d:%02d",
data/rtl-433-20.11/src/devices/oregon_scientific.c:524: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 msg[BITBUF_COLS] = {0};
data/rtl-433-20.11/src/devices/schraeder.c:40: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 id_str[9];
data/rtl-433-20.11/src/devices/schraeder.c:42: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 flags_str[3];
data/rtl-433-20.11/src/devices/schraeder.c:63:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id_str, "%07X", serial_id);
data/rtl-433-20.11/src/devices/schraeder.c:64:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(flags_str, "%02x", flags);
data/rtl-433-20.11/src/devices/schraeder.c:104: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 id_str[9];
data/rtl-433-20.11/src/devices/schraeder.c:106: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 flags_str[9];
data/rtl-433-20.11/src/devices/schraeder.c:138:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id_str, "%06X", serial_id);
data/rtl-433-20.11/src/devices/schraeder.c:139:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(flags_str, "%08x", flags);
data/rtl-433-20.11/src/devices/schraeder.c:195: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 id_str[9];
data/rtl-433-20.11/src/devices/schraeder.c:239:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id_str, "%06X", serial_id);
data/rtl-433-20.11/src/devices/scmplus.c:81: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 crc_str[8];
data/rtl-433-20.11/src/devices/scmplus.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 protocol_id_str[5];
data/rtl-433-20.11/src/devices/scmplus.c:83: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 endpoint_type_str[5];
data/rtl-433-20.11/src/devices/scmplus.c:84: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 physical_tamper_str[8];
data/rtl-433-20.11/src/devices/secplus_v2.c:385: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 fixed_str[16];
data/rtl-433-20.11/src/devices/secplus_v2.c:386: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 rolling_str[16];
data/rtl-433-20.11/src/devices/sharp_spc775.c:62:17:  [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(bitbuffer->bb[i], tmp, (len + 7) / 8);
data/rtl-433-20.11/src/devices/simplisafe.c:40:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(p++, "%c", '?');
data/rtl-433-20.11/src/devices/simplisafe.c:43:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(p++, "%c", (char)c);
data/rtl-433-20.11/src/devices/simplisafe.c:53: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 id[6];
data/rtl-433-20.11/src/devices/simplisafe.c:54: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 extradata[30] = "";
data/rtl-433-20.11/src/devices/simplisafe.c:69:9:  [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(extradata,"Contact Open");
data/rtl-433-20.11/src/devices/simplisafe.c:71:9:  [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(extradata,"Contact Closed");
data/rtl-433-20.11/src/devices/simplisafe.c:73:9:  [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(extradata,"Alarm Off");
data/rtl-433-20.11/src/devices/simplisafe.c:94: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 id[6];
data/rtl-433-20.11/src/devices/simplisafe.c:95: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 extradata[30];
data/rtl-433-20.11/src/devices/simplisafe.c:109:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(extradata, "Disarm Pin: %x%x%x%x", digits[0], digits[1], digits[2], digits[3]);
data/rtl-433-20.11/src/devices/simplisafe.c:128: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 id[6];
data/rtl-433-20.11/src/devices/simplisafe.c:129: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 extradata[30]; // = "Arming: ";
data/rtl-433-20.11/src/devices/simplisafe.c:132:9:  [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(extradata, "Arm System - Away");
data/rtl-433-20.11/src/devices/simplisafe.c:134:9:  [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(extradata, "Arm System - Home");
data/rtl-433-20.11/src/devices/simplisafe.c:136:9:  [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(extradata, "Arm System - Canceled");
data/rtl-433-20.11/src/devices/simplisafe.c:138:9:  [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(extradata, "Keypad Panic Button");
data/rtl-433-20.11/src/devices/simplisafe.c:140:9:  [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(extradata, "Keypad Menu Button");
data/rtl-433-20.11/src/devices/simplisafe.c:142:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(extradata, "Unknown Keypad: %02x", b[10]);
data/rtl-433-20.11/src/devices/smoke_gs558.c:58: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 code_str[7];
data/rtl-433-20.11/src/devices/smoke_gs558.c:104:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(code_str, "%02x%02x%02x", b[2], b[1], b[0]);
data/rtl-433-20.11/src/devices/somfy.c:86: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 address_hex[7];
data/rtl-433-20.11/src/devices/steelmate.c:52: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 sensorIDhex[7];
data/rtl-433-20.11/src/devices/steelmate.c:86:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(sensorIDhex, "0x%04x", sensorID);
data/rtl-433-20.11/src/devices/tpms_abarth124.c:44: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 id_str[4 * 2 + 1];
data/rtl-433-20.11/src/devices/tpms_abarth124.c:45: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 flags[1 * 2 + 1];
data/rtl-433-20.11/src/devices/tpms_abarth124.c:68:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(flags, "%02x", b[4]);
data/rtl-433-20.11/src/devices/tpms_abarth124.c:73:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id_str, "%02x%02x%02x%02x", b[0], b[1], b[2], b[3]);
data/rtl-433-20.11/src/devices/tpms_citroen.c:38: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 state_str[3];
data/rtl-433-20.11/src/devices/tpms_citroen.c:40: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 id_str[9];
data/rtl-433-20.11/src/devices/tpms_citroen.c:67:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(state_str, "%02x", state);
data/rtl-433-20.11/src/devices/tpms_citroen.c:69:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id_str, "%08x", id);
data/rtl-433-20.11/src/devices/tpms_elantra2012.c:58: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 id_str[9];
data/rtl-433-20.11/src/devices/tpms_elantra2012.c:60: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 flags_str[3];
data/rtl-433-20.11/src/devices/tpms_elantra2012.c:77:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id_str, "%08x", id);
data/rtl-433-20.11/src/devices/tpms_elantra2012.c:80:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(flags_str, "%x", flags);
data/rtl-433-20.11/src/devices/tpms_ford.c:34: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 id_str[9];
data/rtl-433-20.11/src/devices/tpms_ford.c:36: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 code_str[7];
data/rtl-433-20.11/src/devices/tpms_ford.c:51:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id_str, "%08x", id);
data/rtl-433-20.11/src/devices/tpms_ford.c:54:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(code_str, "%06x", code);
data/rtl-433-20.11/src/devices/tpms_jansite.c:38: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 id_str[7 + 1];
data/rtl-433-20.11/src/devices/tpms_jansite.c:42: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 code_str[7 * 2 + 1];
data/rtl-433-20.11/src/devices/tpms_jansite.c:59:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id_str, "%07x", id);
data/rtl-433-20.11/src/devices/tpms_jansite.c:60:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(code_str, "%02x%02x%02x%02x%02x%02x%02x", b[0], b[1], b[2], b[3], b[4], b[5], b[6]); // figure out the checksum
data/rtl-433-20.11/src/devices/tpms_pmv107j.c:37: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 id_str[9];
data/rtl-433-20.11/src/devices/tpms_pmv107j.c:79:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id_str, "%08x", id);
data/rtl-433-20.11/src/devices/tpms_renault.c:35: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 flags_str[3];
data/rtl-433-20.11/src/devices/tpms_renault.c:37: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 id_str[7];
data/rtl-433-20.11/src/devices/tpms_renault.c:40: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 code_str[5];
data/rtl-433-20.11/src/devices/tpms_renault.c:55:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(flags_str, "%02x", flags);
data/rtl-433-20.11/src/devices/tpms_renault.c:58:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id_str, "%06x", id);
data/rtl-433-20.11/src/devices/tpms_renault.c:64:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(code_str, "%04x", unknown);
data/rtl-433-20.11/src/devices/tpms_toyota.c:38: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 id_str[9];
data/rtl-433-20.11/src/devices/tpms_toyota.c:66:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id_str, "%08x", id);
data/rtl-433-20.11/src/devices/visonic_powercode.c:53: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 id[7];
data/rtl-433-20.11/src/devices/visonic_powercode.c:88:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id, "%02x%02x%02x", msg[0], msg[1], msg[2]);
data/rtl-433-20.11/src/devices/waveman.c:33: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 id_str[2];
data/rtl-433-20.11/src/devices/x10_rf.c:65: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 housecode[2] = {0};
data/rtl-433-20.11/src/devices/x10_sec.c:65: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 x10_id_str[12] = "";            /* string showing hex value */
data/rtl-433-20.11/src/devices/x10_sec.c:66: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 x10_code_str[5] = "";           /* string showing hex value */
data/rtl-433-20.11/src/devices/x10_sec.c:167:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(x10_id_str, "%02x%02x", b[0], b[4]);
data/rtl-433-20.11/src/devices/x10_sec.c:168:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(x10_code_str, "%02x", b[2]);
data/rtl-433-20.11/src/fileformat.c:255: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 forced[64];
data/rtl-433-20.11/src/fileformat.c:256: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(forced, filename, len);
data/rtl-433-20.11/src/http_server.c:339:12:  [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 memcpy(p, json + tok->start, len);
data/rtl-433-20.11/src/http_server.c:351:12:  [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 memcpy(p, json + tok->start - 1, len);
data/rtl-433-20.11/src/http_server.c:537: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 buf[20480]; // we expect the stats string to be around 15k bytes.
data/rtl-433-20.11/src/http_server.c:545: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 buf[2048]; // we expect the meta string to be around 500 bytes.
data/rtl-433-20.11/src/http_server.c:552: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 buf[51200]; // we expect the protocol string to be around 40k bytes.
data/rtl-433-20.11/src/http_server.c:861: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 cmd[100], arg[100], val[100];
data/rtl-433-20.11/src/http_server.c:1087: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 address[253 + 6 + 1]; // dns max + port
data/rtl-433-20.11/src/http_server.c:1177: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 buf[2048]; // we expect the biggest strings to be around 500 bytes.
data/rtl-433-20.11/src/mongoose.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 message[MG_CTL_MSG_MESSAGE_SIZE];
data/rtl-433-20.11/src/mongoose.c:376:25:  [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 const unsigned char tab[128] = {
data/rtl-433-20.11/src/mongoose.c:647: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 prefix[CS_LOG_PREFIX_LEN], *q;
data/rtl-433-20.11/src/mongoose.c:666: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(prefix, p, fl);
data/rtl-433-20.11/src/mongoose.c:769: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 d_name[MAX_PATH];
data/rtl-433-20.11/src/mongoose.c:772:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char d_name[256];
data/rtl-433-20.11/src/mongoose.c:826:3:  [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 wpath[MAX_PATH];
data/rtl-433-20.11/src/mongoose.c:837:14:  [2] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Risk is low because the source is a constant string.
      (void) wcscat(wpath, L"\\*");
data/rtl-433-20.11/src/mongoose.c:1203: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(p, buf, len);
data/rtl-433-20.11/src/mongoose.c:1206: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(p, buf, t);
data/rtl-433-20.11/src/mongoose.c:1214: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(ctx->in, buf, 64);
data/rtl-433-20.11/src/mongoose.c:1221: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(ctx->in, buf, len);
data/rtl-433-20.11/src/mongoose.c:1224: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.
void cs_md5_final(unsigned char digest[16], cs_md5_ctx *ctx) {
data/rtl-433-20.11/src/mongoose.c:1250: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(digest, ctx->buf, 16);
data/rtl-433-20.11/src/mongoose.c:1274: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 c[64];
data/rtl-433-20.11/src/mongoose.c:1317:58:  [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.
void cs_sha1_transform(uint32_t state[5], const unsigned char buffer[64]) {
data/rtl-433-20.11/src/mongoose.c:1321: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(block, buffer, 64);
data/rtl-433-20.11/src/mongoose.c:1441: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(&context->buffer[j], data, (i = 64 - j));
data/rtl-433-20.11/src/mongoose.c:1449: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(&context->buffer[j], &data[i], len - i);
data/rtl-433-20.11/src/mongoose.c:1452:29:  [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.
void cs_sha1_final(unsigned char digest[20], cs_sha1_ctx *context) {
data/rtl-433-20.11/src/mongoose.c:1454: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 finalcount[8], c;
data/rtl-433-20.11/src/mongoose.c:1476:34:  [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.
void cs_hmac_sha1(const unsigned char *key, size_t keylen,
data/rtl-433-20.11/src/mongoose.c:1477:34:  [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.
                  const unsigned char *data, size_t datalen,
data/rtl-433-20.11/src/mongoose.c:1478: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.
                  unsigned char out[20]) {
data/rtl-433-20.11/src/mongoose.c:1480: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 buf1[64], buf2[64], tmp_key[20], i;
data/rtl-433-20.11/src/mongoose.c:1492: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(buf1, key, keylen);
data/rtl-433-20.11/src/mongoose.c:1493: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(buf2, key, keylen);
data/rtl-433-20.11/src/mongoose.c:1595: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(a->buf + off, buf, len);
data/rtl-433-20.11/src/mongoose.c:1614:24:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      if (buf != NULL) memcpy(a->buf + off, buf, len);
data/rtl-433-20.11/src/mongoose.c:1661: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(to, from, sizeof(*to));
data/rtl-433-20.11/src/mongoose.c:1735: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(sc, s.p, s.len);
data/rtl-433-20.11/src/mongoose.c:1886:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[40];
data/rtl-433-20.11/src/mongoose.c:2076: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[MAX_PATH * 2], buf2[MAX_PATH * 2], *p;
data/rtl-433-20.11/src/mongoose.c:2086:9:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  ret = MultiByteToWideChar(CP_UTF8, 0, buf, -1, wbuf, (int) wbuf_len);
data/rtl-433-20.11/src/mongoose.c:2402: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(dst, src, sizeof(*dst));
data/rtl-433-20.11/src/mongoose.c:2674: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 mem[MG_VPRINTF_BUFFER_SIZE], *buf = mem;
data/rtl-433-20.11/src/mongoose.c:2712: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(ina, &h->sin_addr, sizeof(*ina));
data/rtl-433-20.11/src/mongoose.c:2721: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(ina, he->h_addr_list[0], sizeof(*ina));
data/rtl-433-20.11/src/mongoose.c:2795: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[100];
data/rtl-433-20.11/src/mongoose.c:3264:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char host[MG_MAX_HOST_LEN];
data/rtl-433-20.11/src/mongoose.c:3377:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char host[MG_MAX_HOST_LEN];
data/rtl-433-20.11/src/mongoose.c:3465: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(ctl_msg.message, data, len);
data/rtl-433-20.11/src/mongoose.c:4391: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(sa, &nc->sa, sizeof(*sa));
data/rtl-433-20.11/src/mongoose.c:4486:16:  [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[10] = {MG_SOCKS_VERSION, MG_SOCKS_CMD_CONNECT, 0,
data/rtl-433-20.11/src/mongoose.c:4498: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(buf + 4, &d->c->sa.sin.sin_addr, 4);
data/rtl-433-20.11/src/mongoose.c:4499: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(buf + 8, &d->c->sa.sin.sin_port, 2);
data/rtl-433-20.11/src/mongoose.c:4574: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, d->s->recv_mbuf.buf, len);
data/rtl-433-20.11/src/mongoose.c:4999: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(identity, ctx->psk.buf, ctx->identity_len + 1);
data/rtl-433-20.11/src/mongoose.c:5000: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(psk, ctx->psk.buf + ctx->identity_len + 1, key_len);
data/rtl-433-20.11/src/mongoose.c:5008: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 key[32];
data/rtl-433-20.11/src/mongoose.c:5491: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[50];
data/rtl-433-20.11/src/mongoose.c:5520: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 key[32];
data/rtl-433-20.11/src/mongoose.c:5797: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 port_str[20];
data/rtl-433-20.11/src/mongoose.c:5798:24:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    int port_str_len = sprintf(port_str, ":%u", port);
data/rtl-433-20.11/src/mongoose.c:6303:21:  [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).
    hm->resp_code = atoi(s);
data/rtl-433-20.11/src/mongoose.c:6351: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[MG_MAX_HTTP_SEND_MBUF];
data/rtl-433-20.11/src/mongoose.c:6756: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 addr[32];
data/rtl-433-20.11/src/mongoose.c:6795: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 boundary_buf[100];
data/rtl-433-20.11/src/mongoose.c:7233: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 bbody[100], *pbody = bbody;
data/rtl-433-20.11/src/mongoose.c:7237: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 bhead[150], *phead = bhead;
data/rtl-433-20.11/src/mongoose.c:7299:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, header->p, header->len);
data/rtl-433-20.11/src/mongoose.c:7326: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 etag[50], current_time[50], last_modified[50], range[70];
data/rtl-433-20.11/src/mongoose.c:7493: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 chunk_size[50];
data/rtl-433-20.11/src/mongoose.c:7503: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 mem[MG_VPRINTF_BUFFER_SIZE], *buf = mem;
data/rtl-433-20.11/src/mongoose.c:7523: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 mem[MG_VPRINTF_BUFFER_SIZE], *buf = mem;
data/rtl-433-20.11/src/mongoose.c:7626: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 fmt[64];
data/rtl-433-20.11/src/mongoose.c:7681:13:  [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.
void cs_md5(char buf[33], ...) {
data/rtl-433-20.11/src/mongoose.c:7682: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 hash[16];
data/rtl-433-20.11/src/mongoose.c:7707: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 ha2[33];
data/rtl-433-20.11/src/mongoose.c:7720: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 ha1[33], resp[33], cnonce[40];
data/rtl-433-20.11/src/mongoose.c:7752: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 username_buf[50], cnonce_buf[64], response_buf[40], uri_buf[200],
data/rtl-433-20.11/src/mongoose.c:7803: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[128], f_user[sizeof(buf)], f_ha1[sizeof(buf)], f_domain[sizeof(buf)];
data/rtl-433-20.11/src/mongoose.c:7804: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 exp_resp[33];
data/rtl-433-20.11/src/mongoose.c:7832: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[MG_MAX_PATH];
data/rtl-433-20.11/src/mongoose.c:7893: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 size[64], mod[64], path[MG_MAX_PATH];
data/rtl-433-20.11/src/mongoose.c:7932: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 path[MG_MAX_PATH + 1];
data/rtl-433-20.11/src/mongoose.c:8057: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 local_port[20] = {'%'};
data/rtl-433-20.11/src/mongoose.c:8112: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 burl[256], *purl = burl;
data/rtl-433-20.11/src/mongoose.c:8270: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(p, root.p, root.len);
data/rtl-433-20.11/src/mongoose.c:8311:11:  [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[MG_MAX_PATH * 2];
data/rtl-433-20.11/src/mongoose.c:8372: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 month_str[32];
data/rtl-433-20.11/src/mongoose.c:8397: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 etag[64];
data/rtl-433-20.11/src/mongoose.c:8640: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(fus->lfn, lfn.p, lfn.len);
data/rtl-433-20.11/src/mongoose.c:8752: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 conn_addr_buf[2];
data/rtl-433-20.11/src/mongoose.c:9011: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[MG_CGI_ENVIRONMENT_SIZE];       /* Environment buffer */
data/rtl-433-20.11/src/mongoose.c:9012: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.
  const char *vars[MG_MAX_CGI_ENVIR_VARS]; /* char *envp[] */
data/rtl-433-20.11/src/mongoose.c:9034: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[BUFSIZ];
data/rtl-433-20.11/src/mongoose.c:9053: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[BUFSIZ];
data/rtl-433-20.11/src/mongoose.c:9081:3:  [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[MG_MAX_PATH], buf2[MG_MAX_PATH];
data/rtl-433-20.11/src/mongoose.c:9093:3:  [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 wcmd[MG_MAX_PATH], full_dir[MG_MAX_PATH];
data/rtl-433-20.11/src/mongoose.c:9094: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[MG_MAX_PATH], buf2[MG_MAX_PATH], buf5[MG_MAX_PATH],
data/rtl-433-20.11/src/mongoose.c:9165: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[500];
data/rtl-433-20.11/src/mongoose.c:9251: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[100];
data/rtl-433-20.11/src/mongoose.c:9424: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 dir[MG_MAX_PATH];
data/rtl-433-20.11/src/mongoose.c:9506: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[BUFSIZ];
data/rtl-433-20.11/src/mongoose.c:9516: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 file_name[MG_MAX_PATH], path[MG_MAX_PATH], *p;
data/rtl-433-20.11/src/mongoose.c:9562: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 cmd[BUFSIZ];
data/rtl-433-20.11/src/mongoose.c:9589: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[BUFSIZ], *p = buf + btag.len; /* p points to SSI directive */
data/rtl-433-20.11/src/mongoose.c:9732: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 mtime[64];
data/rtl-433-20.11/src/mongoose.c:9771: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 uri[MG_MAX_PATH];
data/rtl-433-20.11/src/mongoose.c:9838: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 path[MG_MAX_PATH];
data/rtl-433-20.11/src/mongoose.c:9873: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 buf[MG_MAX_PATH];
data/rtl-433-20.11/src/mongoose.c:9910: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 buf[MG_MAX_PATH];
data/rtl-433-20.11/src/mongoose.c:10210: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 header[10];
data/rtl-433-20.11/src/mongoose.c:10220: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(&header[2], &tmp, sizeof(tmp));
data/rtl-433-20.11/src/mongoose.c:10226: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(&header[2], &tmp, sizeof(tmp));
data/rtl-433-20.11/src/mongoose.c:10228: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(&header[6], &tmp, sizeof(tmp));
data/rtl-433-20.11/src/mongoose.c:10291: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 mem[MG_VPRINTF_BUFFER_SIZE], *buf = mem;
data/rtl-433-20.11/src/mongoose.c:10355: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 sha[20];
data/rtl-433-20.11/src/mongoose.c:10356: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 b64_sha[30];
data/rtl-433-20.11/src/mongoose.c:10399:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char key[25];
data/rtl-433-20.11/src/mongoose.c:10510:3:  [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 wpath[MG_MAX_PATH];
data/rtl-433-20.11/src/mongoose.c:10521:3:  [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 wpath[MG_MAX_PATH], wmode[10];
data/rtl-433-20.11/src/mongoose.c:10526:10:  [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).
  return fopen(path, mode);
data/rtl-433-20.11/src/mongoose.c:10532:3:  [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 wpath[MG_MAX_PATH];
data/rtl-433-20.11/src/mongoose.c:10536:10:  [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).
  return open(path, flag, mode); /* LCOV_EXCL_LINE */
data/rtl-433-20.11/src/mongoose.c:10665: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 ascii[17] = "";
data/rtl-433-20.11/src/mongoose.c:10693:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[80];
data/rtl-433-20.11/src/mongoose.c:10707: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 src[60], dst[60];
data/rtl-433-20.11/src/mongoose.c:11448: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((char *) te->topic, topic.p, topic.len);
data/rtl-433-20.11/src/mongoose.c:11470: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 buf[100], *p = buf;
data/rtl-433-20.11/src/mongoose.c:11588: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(data, rr->rdata.p, data_len);
data/rtl-433-20.11/src/mongoose.c:11595: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(data, rr->rdata.p, data_len);
data/rtl-433-20.11/src/mongoose.c:11749:20:  [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 (((unsigned char *) data)[0] & 0xc0) {
data/rtl-433-20.11/src/mongoose.c:11866: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(dst, data, chunk_len);
data/rtl-433-20.11/src/mongoose.c:11966: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 rname[512];
data/rtl-433-20.11/src/mongoose.c:12011: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 name[1024];
data/rtl-433-20.11/src/mongoose.c:12036:3:  [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 subkey[512], value[128],
data/rtl-433-20.11/src/mongoose.c:12079: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 line[512];
data/rtl-433-20.11/src/mongoose.c:12106: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 line[1024];
data/rtl-433-20.11/src/mongoose.c:12108: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 alias[256];
data/rtl-433-20.11/src/mongoose.c:12204: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 addr[32];
data/rtl-433-20.11/src/mongoose.c:12230: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 dns_server_buff[17], nameserver_url[26];
data/rtl-433-20.11/src/mongoose.c:12771: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(ptr, cm->token.p, cm->token.len);
data/rtl-433-20.11/src/mongoose.c:12793: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(ptr, opt->value.p, opt->value.len);
data/rtl-433-20.11/src/mongoose.c:12804: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(ptr, cm->payload.p, cm->payload.len);
data/rtl-433-20.11/src/mongoose.c:12973:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&buf[40], &sec, sizeof(sec));
data/rtl-433-20.11/src/mongoose.c:13074: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 url[100], *p_url = url;
data/rtl-433-20.11/src/mongoose.c:13207: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 reply[2] = {MG_SOCKS_VERSION, MG_SOCKS_HANDSHAKE_FAILURE};
data/rtl-433-20.11/src/mongoose.c:13270: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 addr[300];
data/rtl-433-20.11/src/mongoose.c:13989:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int open(const char *pathname, unsigned flags, int mode) {
data/rtl-433-20.11/src/mongoose.c:14179:34:  [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.
          const char c = ((const char *) buf)[i];
data/rtl-433-20.11/src/mongoose.c:14344: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 a[16];
data/rtl-433-20.11/src/mongoose.c:14839:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if (remote) memcpy(sa, &nc->sa, sizeof(*sa));
data/rtl-433-20.11/src/mongoose.c:15013:8:  [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).
  pf = fopen(pem_file, "r");
data/rtl-433-20.11/src/mongoose.c:15017:8:  [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).
  df = fopen(der_file, "w");
data/rtl-433-20.11/src/mongoose.c:15021: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 pem_buf[70];
data/rtl-433-20.11/src/mongoose.c:15022: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 der_buf[48];
data/rtl-433-20.11/src/mongoose.c:15278: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((dst)->sin6.sin6_addr.s6_addr, (src)->ip6.addr, \
data/rtl-433-20.11/src/mongoose.c:15798:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p->payload, data, len);
data/rtl-433-20.11/src/mongoose.c:15918: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(sa, &nc->sa, sizeof(*sa));
data/rtl-433-20.11/src/mongoose.c:15926: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(sa, &nc->sa, sizeof(*sa));
data/rtl-433-20.11/src/mongoose.c:16170:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[10];
data/rtl-433-20.11/src/mongoose.c:16175:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int open(const char *filename, int oflag, int pmode) {
data/rtl-433-20.11/src/mongoose.c:16363: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(&nc->sa, sa, sizeof(*sa));
data/rtl-433-20.11/src/mongoose.c:16403: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 addr[17];
data/rtl-433-20.11/src/optparse.c:24:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi(arg);
data/rtl-433-20.11/src/output_influx.c:36: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 hostname[64];
data/rtl-433-20.11/src/output_influx.c:37: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 url[400];
data/rtl-433-20.11/src/output_influx.c:38: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 extra_headers[150];
data/rtl-433-20.11/src/output_influx.c:194: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[1000];
data/rtl-433-20.11/src/output_influx.c:416: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(url, "http", 4);
data/rtl-433-20.11/src/output_mqtt.c:31: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 address[253 + 6 + 1]; // dns max + port
data/rtl-433-20.11/src/output_mqtt.c:32: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 client_id[256];
data/rtl-433-20.11/src/output_mqtt.c:167: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 topic[256];
data/rtl-433-20.11/src/output_mqtt.c:168: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 hostname[64];
data/rtl-433-20.11/src/output_mqtt.c:183:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(orig, "/%d", c);
data/rtl-433-20.11/src/output_mqtt.c:197:18:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        topic += sprintf(topic, "%d", data->value.v_int);
data/rtl-433-20.11/src/output_mqtt.c:298:22:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            topic += sprintf(topic, "%.*s", (int)(d_end - d_start), d_start);
data/rtl-433-20.11/src/output_mqtt.c:343:13:  [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 message[1024]; // we expect the biggest strings to be around 500 bytes.
data/rtl-433-20.11/src/output_mqtt.c:386: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[20];
data/rtl-433-20.11/src/output_mqtt.c:405: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[20];
data/rtl-433-20.11/src/output_mqtt.c:430: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 path[256];
data/rtl-433-20.11/src/output_mqtt.c:466: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 client_id[17];
data/rtl-433-20.11/src/output_mqtt.c:470: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 base_topic[8 + sizeof(mqtt->hostname)];
data/rtl-433-20.11/src/pulse_detect.c:74: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 time_str[LOCAL_TIME_BUFLEN];
data/rtl-433-20.11/src/pulse_detect.c:116: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 s[1024];
data/rtl-433-20.11/src/pulse_detect.c:161: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 time_str[LOCAL_TIME_BUFLEN];
data/rtl-433-20.11/src/r_api.c:319:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char const *well_known_default[15] = {0};
data/rtl-433-20.11/src/r_api.c:499: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 time_str[LOCAL_TIME_BUFLEN];
data/rtl-433-20.11/src/r_api.c:738: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 time_str[LOCAL_TIME_BUFLEN];
data/rtl-433-20.11/src/r_api.c:820: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 since_str[LOCAL_TIME_BUFLEN];
data/rtl-433-20.11/src/r_api.c:865:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen(param, "a");
data/rtl-433-20.11/src/r_api.c:1005:24:  [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).
        dumper->file = fopen(dumper->path, "wb");
data/rtl-433-20.11/src/r_util.c:211:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[30];
data/rtl-433-20.11/src/rfraw.c:153: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(&data->pulse[data->num_pulses], &data->pulse[prev_pulses], pkt_pulses * sizeof (*data->pulse));
data/rtl-433-20.11/src/rfraw.c:154: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(&data->gap[data->num_pulses], &data->gap[prev_pulses], pkt_pulses * sizeof (*data->pulse));
data/rtl-433-20.11/src/rtl_433.c:299: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 time_str[LOCAL_TIME_BUFLEN];
data/rtl-433-20.11/src/rtl_433.c:367: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(demod->am_buf, iq_buf, len);
data/rtl-433-20.11/src/rtl_433.c:370: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(demod->buf.fm, iq_buf, len);
data/rtl-433-20.11/src/rtl_433.c:815:20:  [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 (arg && atoi(arg) > 0)
data/rtl-433-20.11/src/rtl_433.c:816: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).
            n = atoi(arg);
data/rtl-433-20.11/src/rtl_433.c:973:13:  [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).
        n = atoi(arg);
data/rtl-433-20.11/src/rtl_433.c:1365: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 line[INPUT_LINE_MAX];
data/rtl-433-20.11/src/rtl_433.c:1369:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            fp = fopen(&cfg->test_data[1], "r");
data/rtl-433-20.11/src/rtl_433.c:1487:27:  [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).
                in_file = fopen(demod->load_info.path, "rb");
data/rtl-433-20.11/src/samp_grab.c:74: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(&g->sg_buf[g->sg_index], iq_buf, chunk_len);
data/rtl-433-20.11/src/samp_grab.c:97: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 f_name[64] = {0};
data/rtl-433-20.11/src/samp_grab.c:136:10:  [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).
    fp = fopen(f_name, "wb");
data/rtl-433-20.11/src/sdr.c:154: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 magic[4];             // "RTL0"
data/rtl-433-20.11/src/sdr.c:383:21:  [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).
        dev_index = atoi(dev_query);
data/rtl-433-20.11/src/sdr.c:392: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 vendor[256] = "n/a", product[256] = "n/a", serial[256] = "n/a";
data/rtl-433-20.11/src/sdr.c:569: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).
    int set_num = atoi(set_value);
data/rtl-433-20.11/src/sdr.c:669: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 gain_cpy[GAIN_STR_MAX_SIZE];
data/rtl-433-20.11/src/term_ctl.c:335: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[4000];
data/rtl-433-20.11/src/term_ctl.c:438: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[4000];
data/rtl-433-20.11/src/write_sigrok.c:47: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("version", "w");
data/rtl-433-20.11/src/write_sigrok.c:56:10:  [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).
    fp = fopen("metadata", "w");
data/rtl-433-20.11/src/write_sigrok.c:94: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 cmd_line[MAX_PATH] = "";
data/rtl-433-20.11/src/write_sigrok.c:108: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_buf[64];
data/rtl-433-20.11/src/write_sigrok.c:150: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 *argv[30] = {0};
data/rtl-433-20.11/src/write_sigrok.c:162: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_buf[64];
data/rtl-433-20.11/src/write_sigrok.c:224: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 *argv[9] = {0};
data/rtl-433-20.11/tests/baseband-test.c:50:14:  [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).
    int fd = open(filename, O_RDONLY);
data/rtl-433-20.11/tests/baseband-test.c:62:14:  [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).
    int fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0644);
data/rtl-433-20.11/tests/pulse-eval.c:46:14:  [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).
    int fd = open(filename, O_RDONLY);
data/rtl-433-20.11/tests/pulse-eval.c:58:14:  [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).
    int fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0644);
data/rtl-433-20.11/tests/pulse-eval.c:186:26:  [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).
            block_size = atoi(argv[++argi]);
data/rtl-433-20.11/tests/pulse-eval.c:188:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            sample_rate = atoi(argv[++argi]);
data/rtl-433-20.11/tests/style-check.c:29: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(path, "r");
data/rtl-433-20.11/tests/style-check.c:50: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[MAX_LEN];
data/rtl-433-20.11/include/mongoose.h:3928:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define MG_RECV_FUNC(s, b, l, f) read(s, b, l)
data/rtl-433-20.11/src/abuf.c:46: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(str);
data/rtl-433-20.11/src/data.c:796:42:  [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 (strncmp(str, csv->separator, strlen(csv->separator)) == 0)
data/rtl-433-20.11/src/data.c:975: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).
    if (size < strlen(str) + 3) {
data/rtl-433-20.11/src/devices/ert_idm.c:224:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(p, "0x", sizeof(TamperCounters_str));
data/rtl-433-20.11/src/devices/ert_idm.c:236:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(p, "0x", sizeof(PowerOutageFlags_str));
data/rtl-433-20.11/src/devices/ert_idm.c:501:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(p, "0x", sizeof(TamperCounters_str));
data/rtl-433-20.11/src/devices/ert_idm.c:512:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(p, "0x", sizeof(Unknown_field_1_str));
data/rtl-433-20.11/src/devices/ert_idm.c:527:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(p, "0x", sizeof(Unknown_field_2_str));
data/rtl-433-20.11/src/devices/flex.c:509:71:  [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 (!spec || !*spec || *spec == '?' || !strncasecmp(spec, "help", strlen(spec))) {
data/rtl-433-20.11/src/devices/flex.c:545:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int name_size = strlen(val) + 27;
data/rtl-433-20.11/src/getopt/getopt.c:238:51:  [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 (!defined __STDC__ || !__STDC__) && !defined strlen
data/rtl-433-20.11/src/getopt/getopt.c:241: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).
extern int strlen (const char *);
data/rtl-433-20.11/src/getopt/getopt.c:432:44:  [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 = nonoption_flags_max_len = strlen (orig_str);
data/rtl-433-20.11/src/getopt/getopt.c:660: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).
		== (unsigned int) strlen (p->name))
data/rtl-433-20.11/src/getopt/getopt.c:687: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).
	  nextchar += strlen (nextchar);
data/rtl-433-20.11/src/getopt/getopt.c:719: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).
		  nextchar += strlen (nextchar);
data/rtl-433-20.11/src/getopt/getopt.c:735: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).
		  nextchar += strlen (nextchar);
data/rtl-433-20.11/src/getopt/getopt.c:740: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).
	  nextchar += strlen (nextchar);
data/rtl-433-20.11/src/getopt/getopt.c:851:51:  [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 ((unsigned int) (nameend - nextchar) == strlen (p->name))
data/rtl-433-20.11/src/getopt/getopt.c:874: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).
	    nextchar += strlen (nextchar);
data/rtl-433-20.11/src/getopt/getopt.c:894: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).
		    nextchar += strlen (nextchar);
data/rtl-433-20.11/src/getopt/getopt.c:908: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).
		    nextchar += strlen (nextchar);
data/rtl-433-20.11/src/getopt/getopt.c:912: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).
	    nextchar += strlen (nextchar);
data/rtl-433-20.11/src/http_server.c:323:42:  [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 (tok->type == JSMN_STRING && (int)strlen(s) == tok->end - tok->start &&
data/rtl-433-20.11/src/http_server.c:727:70:  [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).
        mg_send_websocket_frame(rpc->nc, WEBSOCKET_OP_TEXT, message, strlen(message));
data/rtl-433-20.11/src/http_server.c:912:63:  [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).
        mg_send_websocket_frame(nc, WEBSOCKET_OP_TEXT, error, strlen(error));
data/rtl-433-20.11/src/http_server.c:939:63:  [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).
        mg_send_websocket_frame(nc, WEBSOCKET_OP_TEXT, error, strlen(error));
data/rtl-433-20.11/src/http_server.c:982:75:  [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).
            mg_send_websocket_frame(nc, WEBSOCKET_OP_TEXT, (char *)*iter, strlen((char *)*iter));
data/rtl-433-20.11/src/mongoose.c:653: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).
  p = file + strlen(file);
data/rtl-433-20.11/src/mongoose.c:1699: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).
  if (s != NULL) ret.len = strlen(s);
data/rtl-433-20.11/src/mongoose.c:1711: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).
  size_t n2 = strlen(str2), n1 = str1->len;
data/rtl-433-20.11/src/mongoose.c:1721: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).
  size_t n2 = strlen(str2), n1 = str1->len;
data/rtl-433-20.11/src/mongoose.c:2078:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buf, path, sizeof(buf));
data/rtl-433-20.11/src/mongoose.c:2082: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).
  p = buf + strlen(buf) - 1;
data/rtl-433-20.11/src/mongoose.c:2106: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).
  size_t find_length = strlen(find);
data/rtl-433-20.11/src/mongoose.c:2125: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(src) + 1;
data/rtl-433-20.11/src/mongoose.c:2360: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).
  if (str != NULL) s.len = strlen(str);
data/rtl-433-20.11/src/mongoose.c:2828: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).
  } else if (strlen(str) < host_len &&
data/rtl-433-20.11/src/mongoose.c:5013: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).
  key_len = strlen(key_str);
data/rtl-433-20.11/src/mongoose.c:5033:23:  [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).
  ctx->identity_len = strlen(identity);
data/rtl-433-20.11/src/mongoose.c:5102:41:  [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).
  LOG(cs_level, ("%p %.*s", ctx, (int) (strlen(str) - 1), str));
data/rtl-433-20.11/src/mongoose.c:5494: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).
      l = (e != NULL ? (e - s) : (int) strlen(s));
data/rtl-433-20.11/src/mongoose.c:5495:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(tmp, s, l);
data/rtl-433-20.11/src/mongoose.c:5524: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).
  key_len = strlen(key_str);
data/rtl-433-20.11/src/mongoose.c:5548: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).
                           strlen(identity)) != 0) {
data/rtl-433-20.11/src/mongoose.c:6183: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).
  path_len = strlen(path);
data/rtl-433-20.11/src/mongoose.c:6198: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).
      r.len = strlen(r.p);
data/rtl-433-20.11/src/mongoose.c:6204: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).
  r.len = strlen(r.p);
data/rtl-433-20.11/src/mongoose.c:6337: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).
  size_t i, len = strlen(name);
data/rtl-433-20.11/src/mongoose.c:6834:34:  [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).
    pd->mp_stream.boundary_len = strlen(boundary);
data/rtl-433-20.11/src/mongoose.c:7267: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).
  mg_send_head(nc, code, strlen(reason),
data/rtl-433-20.11/src/mongoose.c:7269:23:  [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).
  mg_send(nc, reason, strlen(reason));
data/rtl-433-20.11/src/mongoose.c:7407:42:  [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 (mg_match_prefix(opts->ssi_pattern, strlen(opts->ssi_pattern), path) > 0) {
data/rtl-433-20.11/src/mongoose.c:7466: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).
    name_len = strlen(name);
data/rtl-433-20.11/src/mongoose.c:7552:43:  [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 ch = ' ', ch1 = ',', ch2 = ';', n = strlen(var_name);
data/rtl-433-20.11/src/mongoose.c:7659: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).
         (p1 != NULL && mg_match_prefix(p1, strlen(p1), path) == strlen(p1)) ||
data/rtl-433-20.11/src/mongoose.c:7659:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         (p1 != NULL && mg_match_prefix(p1, strlen(p1), path) == strlen(p1)) ||
data/rtl-433-20.11/src/mongoose.c:7660: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).
         (p2 != NULL && mg_match_prefix(p2, strlen(p2), path) > 0);
data/rtl-433-20.11/src/mongoose.c:7723: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).
  cs_md5(ha1, user, (size_t) strlen(user), colon, one, auth_domain,
data/rtl-433-20.11/src/mongoose.c:7724: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).
         (size_t) strlen(auth_domain), colon, one, passwd,
data/rtl-433-20.11/src/mongoose.c:7725: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).
         (size_t) strlen(passwd), NULL);
data/rtl-433-20.11/src/mongoose.c:7726: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).
  mg_mkmd5resp(method, strlen(method), uri, strlen(uri), ha1, sizeof(ha1) - 1,
data/rtl-433-20.11/src/mongoose.c:7726: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).
  mg_mkmd5resp(method, strlen(method), uri, strlen(uri), ha1, sizeof(ha1) - 1,
data/rtl-433-20.11/src/mongoose.c:7727:23:  [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).
               nonce, strlen(nonce), "1", one, cnonce, strlen(cnonce), qop,
data/rtl-433-20.11/src/mongoose.c:7727: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).
               nonce, strlen(nonce), "1", one, cnonce, strlen(cnonce), qop,
data/rtl-433-20.11/src/mongoose.c:7816:65:  [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).
      mg_mkmd5resp(method.p, method.len, uri.p, uri.len, f_ha1, strlen(f_ha1),
data/rtl-433-20.11/src/mongoose.c:7821: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).
      return mg_ncasecmp(response.p, exp_resp, strlen(exp_resp)) == 0;
data/rtl-433-20.11/src/mongoose.c:8023: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 path_len = strlen(path);
data/rtl-433-20.11/src/mongoose.c:8249: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).
        root.len = strlen(opts->dav_document_root);
data/rtl-433-20.11/src/mongoose.c:8254: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).
        root.len = strlen(opts->document_root);
data/rtl-433-20.11/src/mongoose.c:8376:9:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  if (((sscanf(datetime, "%d/%3s/%d %d:%d:%d", &day, month_str, &year, &hour,
data/rtl-433-20.11/src/mongoose.c:8378:9:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
       (sscanf(datetime, "%d %3s %d %d:%d:%d", &day, month_str, &year, &hour,
data/rtl-433-20.11/src/mongoose.c:8380:9:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
       (sscanf(datetime, "%*3s, %d %3s %d %d:%d:%d", &day, month_str, &year,
data/rtl-433-20.11/src/mongoose.c:8382:9:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
       (sscanf(datetime, "%d-%3s-%d %d:%d:%d", &day, month_str, &year, &hour,
data/rtl-433-20.11/src/mongoose.c:8453: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).
      (mg_match_prefix(opts->cgi_file_pattern, strlen(opts->cgi_file_pattern),
data/rtl-433-20.11/src/mongoose.c:8835: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) (path.p - host.p), host.p, strlen(post_data), (int) auth.len,
data/rtl-433-20.11/src/mongoose.c:9084:41:  [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).
  WideCharToMultiByte(CP_UTF8, 0, buf2, wcslen(buf2) + 1, abs_path, len, 0, 0);
data/rtl-433-20.11/src/mongoose.c:9198: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).
    send(1, buf, strlen(buf), 0);
data/rtl-433-20.11/src/mongoose.c:9539: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).
    snprintf(path + strlen(path), sizeof(path) - strlen(path), "%s", file_name);
data/rtl-433-20.11/src/mongoose.c:9539: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).
    snprintf(path + strlen(path), sizeof(path) - strlen(path), "%s", file_name);
data/rtl-433-20.11/src/mongoose.c:9550:44:  [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 (mg_match_prefix(opts->ssi_pattern, strlen(opts->ssi_pattern), path) >
data/rtl-433-20.11/src/mongoose.c:9598:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((ch = fgetc(fp)) != EOF) {
data/rtl-433-20.11/src/mongoose.c:10015: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((const char *) data);
data/rtl-433-20.11/src/mongoose.c:10625:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(buf, inet_ntoa(sa->sin.sin_addr), len - 1);
data/rtl-433-20.11/src/mongoose.c:10638: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 buf_len = strlen(buf);
data/rtl-433-20.11/src/mongoose.c:10646: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).
  return strlen(buf);
data/rtl-433-20.11/src/mongoose.c:10788:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  mbuf_append(buf, header_prefix, strlen(header_prefix));
data/rtl-433-20.11/src/mongoose.c:10796:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  mbuf_append(buf, header_suffix, strlen(header_suffix));
data/rtl-433-20.11/src/mongoose.c:11112: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).
    id_len = strlen(client_id);
data/rtl-433-20.11/src/mongoose.c:11124: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).
    wt_len = strlen(opts.will_topic);
data/rtl-433-20.11/src/mongoose.c:11125: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).
    wm_len = strlen(opts.will_message);
data/rtl-433-20.11/src/mongoose.c:11136: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).
    user_len = strlen(opts.user_name);
data/rtl-433-20.11/src/mongoose.c:11140: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).
    pw_len = strlen(opts.password);
data/rtl-433-20.11/src/mongoose.c:11185: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).
  uint16_t topic_len = strlen(topic);
data/rtl-433-20.11/src/mongoose.c:11215: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).
    total_len += 2 + strlen(topics[i].topic) + 1;
data/rtl-433-20.11/src/mongoose.c:11224: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).
    topic_len = strlen(topics[i].topic);
data/rtl-433-20.11/src/mongoose.c:11255: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).
    total_len += 2 + strlen(topics[i]);
data/rtl-433-20.11/src/mongoose.c:11264: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).
    topic_len = strlen(topics[i]);
data/rtl-433-20.11/src/mongoose.c:11724:44:  [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 (mg_dns_encode_record(&pkt, rr, name, strlen(name), NULL, 0) == -1) {
data/rtl-433-20.11/src/mongoose.c:11983: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).
  if (mg_dns_encode_record(reply->io, ans, name, strlen(name), rdata,
data/rtl-433-20.11/src/mongoose.c:12244:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(req->name, name, sizeof(req->name));
data/rtl-433-20.11/src/mongoose.c:14125:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int read(int fd, char *buf, unsigned count) {
data/rtl-433-20.11/src/mongoose.c:14280: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).
  return (strlen(path) == 1 && *path == '.') ? 0 : ENOTDIR;
data/rtl-433-20.11/src/mongoose.c:15102: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).
                          strlen(ssl_cert));
data/rtl-433-20.11/src/mongoose.c:15109:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            strlen(ssl_key));
data/rtl-433-20.11/src/mongoose.c:15126: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).
                          ssl_ca_cert, strlen(ssl_ca_cert));
data/rtl-433-20.11/src/mongoose.c:15138:47:  [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).
                        ctx->ssl_server_name, strlen(ctx->ssl_server_name));
data/rtl-433-20.11/src/output_influx.c:92:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ctx->url, url, sizeof(ctx->url));
data/rtl-433-20.11/src/output_influx.c:169: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).
        size_t len = strlen(str);
data/rtl-433-20.11/src/output_influx.c:207: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).
    if (size < strlen(str) + 3) {
data/rtl-433-20.11/src/output_mqtt.c:113:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ctx->client_id, client_id, sizeof(ctx->client_id));
data/rtl-433-20.11/src/output_mqtt.c:138:81:  [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).
    mg_mqtt_publish(ctx->conn, topic, ctx->message_id, ctx->publish_flags, str, strlen(str));
data/rtl-433-20.11/src/output_mqtt.c:180: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).
    char *orig = mqtt->topic + strlen(mqtt->topic); // save current topic
data/rtl-433-20.11/src/output_mqtt.c:194: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).
        topic += strlen(data->value.v_ptr);
data/rtl-433-20.11/src/output_mqtt.c:311: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).
    char *orig = mqtt->topic + strlen(mqtt->topic); // save current topic
data/rtl-433-20.11/src/output_mqtt.c:464:58:  [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).
    uint16_t host_crc = crc16((uint8_t *)mqtt->hostname, strlen(mqtt->hostname), 0x1021, 0xffff);
data/rtl-433-20.11/src/output_mqtt.c:465:63:  [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).
    uint16_t devq_crc = crc16((uint8_t *)dev_hint, dev_hint ? strlen(dev_hint) : 0, 0x1021, 0xffff);
data/rtl-433-20.11/src/r_api.c:982:23:  [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 spec_len = strlen(spec);
data/rtl-433-20.11/src/r_util.c:50:13:  [1] (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 character.
            strcpy(buf + l, "Z");
data/rtl-433-20.11/src/r_util.c:80:13:  [1] (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 character.
            strcpy(buf + l, "Z");
data/rtl-433-20.11/src/r_util.c:149: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 str_len = strlen(str);
data/rtl-433-20.11/src/r_util.c:150: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).
    int suffix_len = strlen(suffix);
data/rtl-433-20.11/src/r_util.c:173: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).
    len_rep = strlen(rep);
data/rtl-433-20.11/src/r_util.c:178: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_with = strlen(with);
data/rtl-433-20.11/src/r_util.c:186: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).
    tmp = result = malloc(strlen(orig) + (len_with - len_rep) * (size_t)count + 1);
data/rtl-433-20.11/src/r_util.c:200:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        tmp = strncpy(tmp, orig, len_front) + len_front;
data/rtl-433-20.11/src/sdr.c:422:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size_t info_len = 41 + strlen(vendor) + strlen(product) + strlen(serial);
data/rtl-433-20.11/src/sdr.c:422:53:  [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 info_len = 41 + strlen(vendor) + strlen(product) + strlen(serial);
data/rtl-433-20.11/src/sdr.c:422:71:  [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 info_len = 41 + strlen(vendor) + strlen(product) + strlen(serial);
data/rtl-433-20.11/src/sdr.c:650:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!gain_str || !*gain_str || strlen(gain_str) >= GAIN_STR_MAX_SIZE)
data/rtl-433-20.11/src/sdr.c:670:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(gain_cpy, gain_str, GAIN_STR_MAX_SIZE);
data/rtl-433-20.11/src/sdr.c:866: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).
        info_len += strlen(args.keys[i]) + strlen(args.vals[i]) + 6;
data/rtl-433-20.11/src/sdr.c:866:44:  [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(args.keys[i]) + strlen(args.vals[i]) + 6;
data/rtl-433-20.11/src/sdr.c:874:5:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    sprintf(p, "}");
data/rtl-433-20.11/src/term_ctl.c:315: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).
    buf_len = (int)strlen(buf);
data/rtl-433-20.11/src/term_ctl.c:366: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).
    buf_len = (int)strlen(buf);
data/rtl-433-20.11/tests/baseband-test.c:55:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ssize_t ret = read(fd, buf, nbyte);
data/rtl-433-20.11/tests/pulse-eval.c:51:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ssize_t ret = read(fd, buf, nbyte);
data/rtl-433-20.11/tests/style-check.c:52: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 len = strlen(str);

ANALYSIS SUMMARY:

Hits = 698
Lines analyzed = 70292 in approximately 2.01 seconds (34982 lines/second)
Physical Source Lines of Code (SLOC) = 45972
Hits@level = [0] 917 [1] 140 [2] 477 [3]  19 [4]  62 [5]   0
Hits@level+ = [0+] 1615 [1+] 698 [2+] 558 [3+]  81 [4+]  62 [5+]   0
Hits/KSLOC@level+ = [0+] 35.1301 [1+] 15.1832 [2+] 12.1378 [3+] 1.76194 [4+] 1.34865 [5+]   0
Dot directories skipped = 3 (--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.