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/libical3-3.0.8/examples/access_components.c
Examining data/libical3-3.0.8/examples/access_properties_and_parameters.c
Examining data/libical3-3.0.8/examples/errors.c
Examining data/libical3-3.0.8/examples/main.c
Examining data/libical3-3.0.8/examples/parse_text.c
Examining data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c
Examining data/libical3-3.0.8/src/java/jlibical_consts_cxx.h
Examining data/libical3-3.0.8/src/java/jlibical_utils_cxx.cpp
Examining data/libical3-3.0.8/src/java/jlibical_utils_cxx.h
Examining data/libical3-3.0.8/src/java/jniICalDurationType_cxx.cpp
Examining data/libical3-3.0.8/src/java/jniICalDurationType_cxx.h
Examining data/libical3-3.0.8/src/java/jniICalPeriodType_cxx.cpp
Examining data/libical3-3.0.8/src/java/jniICalPeriodType_cxx.h
Examining data/libical3-3.0.8/src/java/jniICalRecurrenceType_cxx.cpp
Examining data/libical3-3.0.8/src/java/jniICalRecurrenceType_cxx.h
Examining data/libical3-3.0.8/src/java/jniICalTimeType_cxx.cpp
Examining data/libical3-3.0.8/src/java/jniICalTimeType_cxx.h
Examining data/libical3-3.0.8/src/java/jniICalTriggerType_cxx.cpp
Examining data/libical3-3.0.8/src/java/jniICalTriggerType_cxx.h
Examining data/libical3-3.0.8/src/java/net_cp_jlibical_ICalParameter_cxx.cpp
Examining data/libical3-3.0.8/src/java/net_cp_jlibical_ICalParameter_cxx.h
Examining data/libical3-3.0.8/src/java/net_cp_jlibical_ICalProperty_cxx.cpp
Examining data/libical3-3.0.8/src/java/net_cp_jlibical_ICalProperty_cxx.h
Examining data/libical3-3.0.8/src/java/net_cp_jlibical_ICalValue_cxx.cpp
Examining data/libical3-3.0.8/src/java/net_cp_jlibical_ICalValue_cxx.h
Examining data/libical3-3.0.8/src/java/net_cp_jlibical_VComponent_cxx.cpp
Examining data/libical3-3.0.8/src/java/net_cp_jlibical_VComponent_cxx.h
Examining data/libical3-3.0.8/src/libical-glib/tools/generator.c
Examining data/libical3-3.0.8/src/libical-glib/tools/generator.h
Examining data/libical3-3.0.8/src/libical-glib/tools/xml-parser.c
Examining data/libical3-3.0.8/src/libical-glib/tools/xml-parser.h
Examining data/libical3-3.0.8/src/libical/astime.h
Examining data/libical3-3.0.8/src/libical/caldate.c
Examining data/libical3-3.0.8/src/libical/icalarray.c
Examining data/libical3-3.0.8/src/libical/icalarray.h
Examining data/libical3-3.0.8/src/libical/icalattach.c
Examining data/libical3-3.0.8/src/libical/icalattach.h
Examining data/libical3-3.0.8/src/libical/icalattachimpl.h
Examining data/libical3-3.0.8/src/libical/icalcomponent.c
Examining data/libical3-3.0.8/src/libical/icalcomponent.h
Examining data/libical3-3.0.8/src/libical/icalduration.c
Examining data/libical3-3.0.8/src/libical/icalduration.h
Examining data/libical3-3.0.8/src/libical/icalenums.c
Examining data/libical3-3.0.8/src/libical/icalenums.h
Examining data/libical3-3.0.8/src/libical/icalerror.c
Examining data/libical3-3.0.8/src/libical/icalerror.h
Examining data/libical3-3.0.8/src/libical/icallangbind.c
Examining data/libical3-3.0.8/src/libical/icallangbind.h
Examining data/libical3-3.0.8/src/libical/icalmemory.c
Examining data/libical3-3.0.8/src/libical/icalmemory.h
Examining data/libical3-3.0.8/src/libical/icalmime.c
Examining data/libical3-3.0.8/src/libical/icalmime.h
Examining data/libical3-3.0.8/src/libical/icalparameter.c
Examining data/libical3-3.0.8/src/libical/icalparameter.h
Examining data/libical3-3.0.8/src/libical/icalparameter_cxx.cpp
Examining data/libical3-3.0.8/src/libical/icalparameter_cxx.h
Examining data/libical3-3.0.8/src/libical/icalparameterimpl.h
Examining data/libical3-3.0.8/src/libical/icalparser.c
Examining data/libical3-3.0.8/src/libical/icalparser.h
Examining data/libical3-3.0.8/src/libical/icalperiod.c
Examining data/libical3-3.0.8/src/libical/icalperiod.h
Examining data/libical3-3.0.8/src/libical/icalproperty.c
Examining data/libical3-3.0.8/src/libical/icalproperty.h
Examining data/libical3-3.0.8/src/libical/icalproperty_cxx.cpp
Examining data/libical3-3.0.8/src/libical/icalproperty_cxx.h
Examining data/libical3-3.0.8/src/libical/icalproperty_p.h
Examining data/libical3-3.0.8/src/libical/icalrecur.c
Examining data/libical3-3.0.8/src/libical/icalrecur.h
Examining data/libical3-3.0.8/src/libical/icalrestriction.h
Examining data/libical3-3.0.8/src/libical/icaltime.c
Examining data/libical3-3.0.8/src/libical/icaltime.h
Examining data/libical3-3.0.8/src/libical/icaltimezone.c
Examining data/libical3-3.0.8/src/libical/icaltimezone.h
Examining data/libical3-3.0.8/src/libical/icaltimezoneimpl.h
Examining data/libical3-3.0.8/src/libical/icaltypes.c
Examining data/libical3-3.0.8/src/libical/icaltypes.h
Examining data/libical3-3.0.8/src/libical/icaltz-util.c
Examining data/libical3-3.0.8/src/libical/icaltz-util.h
Examining data/libical3-3.0.8/src/libical/icalvalue.c
Examining data/libical3-3.0.8/src/libical/icalvalue.h
Examining data/libical3-3.0.8/src/libical/icalvalue_cxx.cpp
Examining data/libical3-3.0.8/src/libical/icalvalue_cxx.h
Examining data/libical3-3.0.8/src/libical/icalvalueimpl.h
Examining data/libical3-3.0.8/src/libical/icptrholder_cxx.h
Examining data/libical3-3.0.8/src/libical/libical_ical_export.h
Examining data/libical3-3.0.8/src/libical/pvl.c
Examining data/libical3-3.0.8/src/libical/pvl.h
Examining data/libical3-3.0.8/src/libical/sspm.c
Examining data/libical3-3.0.8/src/libical/sspm.h
Examining data/libical3-3.0.8/src/libical/vcomponent_cxx.cpp
Examining data/libical3-3.0.8/src/libical/vcomponent_cxx.h
Examining data/libical3-3.0.8/src/libicalss/icalbdbset.c
Examining data/libical3-3.0.8/src/libicalss/icalbdbset.h
Examining data/libical3-3.0.8/src/libicalss/icalbdbset_cxx.h
Examining data/libical3-3.0.8/src/libicalss/icalbdbsetimpl.h
Examining data/libical3-3.0.8/src/libicalss/icalcalendar.c
Examining data/libical3-3.0.8/src/libicalss/icalcalendar.h
Examining data/libical3-3.0.8/src/libicalss/icalclassify.c
Examining data/libical3-3.0.8/src/libicalss/icalclassify.h
Examining data/libical3-3.0.8/src/libicalss/icalcluster.c
Examining data/libical3-3.0.8/src/libicalss/icalcluster.h
Examining data/libical3-3.0.8/src/libicalss/icalclusterimpl.h
Examining data/libical3-3.0.8/src/libicalss/icaldirset.c
Examining data/libical3-3.0.8/src/libicalss/icaldirset.h
Examining data/libical3-3.0.8/src/libicalss/icaldirsetimpl.h
Examining data/libical3-3.0.8/src/libicalss/icalfileset.c
Examining data/libical3-3.0.8/src/libicalss/icalfileset.h
Examining data/libical3-3.0.8/src/libicalss/icalfilesetimpl.h
Examining data/libical3-3.0.8/src/libicalss/icalgauge.c
Examining data/libical3-3.0.8/src/libicalss/icalgauge.h
Examining data/libical3-3.0.8/src/libicalss/icalgaugeimpl.h
Examining data/libical3-3.0.8/src/libicalss/icalmessage.c
Examining data/libical3-3.0.8/src/libicalss/icalmessage.h
Examining data/libical3-3.0.8/src/libicalss/icalset.c
Examining data/libical3-3.0.8/src/libicalss/icalset.h
Examining data/libical3-3.0.8/src/libicalss/icalspanlist.c
Examining data/libical3-3.0.8/src/libicalss/icalspanlist.h
Examining data/libical3-3.0.8/src/libicalss/icalspanlist_cxx.cpp
Examining data/libical3-3.0.8/src/libicalss/icalspanlist_cxx.h
Examining data/libical3-3.0.8/src/libicalss/icalsslexer.c
Examining data/libical3-3.0.8/src/libicalss/icalssyacc.c
Examining data/libical3-3.0.8/src/libicalss/icalssyacc.h
Examining data/libical3-3.0.8/src/libicalss/libical_icalss_export.h
Examining data/libical3-3.0.8/src/libicalvcal/icalvcal.c
Examining data/libical3-3.0.8/src/libicalvcal/icalvcal.h
Examining data/libical3-3.0.8/src/libicalvcal/libical_vcal_export.h
Examining data/libical3-3.0.8/src/libicalvcal/vcaltmp.c
Examining data/libical3-3.0.8/src/libicalvcal/vcaltmp.h
Examining data/libical3-3.0.8/src/libicalvcal/vcc.c
Examining data/libical3-3.0.8/src/libicalvcal/vcc.h
Examining data/libical3-3.0.8/src/libicalvcal/vobject.c
Examining data/libical3-3.0.8/src/libicalvcal/vobject.h
Examining data/libical3-3.0.8/src/test/builtin_timezones.c
Examining data/libical3-3.0.8/src/test/copycluster.c
Examining data/libical3-3.0.8/src/test/icalattach-leak.c
Examining data/libical3-3.0.8/src/test/icalrecur_test.c
Examining data/libical3-3.0.8/src/test/icaltestparser.c
Examining data/libical3-3.0.8/src/test/icaltm_test.c
Examining data/libical3-3.0.8/src/test/process.c
Examining data/libical3-3.0.8/src/test/recur.c
Examining data/libical3-3.0.8/src/test/regression-classify.c
Examining data/libical3-3.0.8/src/test/regression-component.c
Examining data/libical3-3.0.8/src/test/regression-cxx.cpp
Examining data/libical3-3.0.8/src/test/regression-recur.c
Examining data/libical3-3.0.8/src/test/regression-storage.c
Examining data/libical3-3.0.8/src/test/regression-utils.c
Examining data/libical3-3.0.8/src/test/regression.c
Examining data/libical3-3.0.8/src/test/regression.h
Examining data/libical3-3.0.8/src/test/stow.c
Examining data/libical3-3.0.8/src/test/testmime.c
Examining data/libical3-3.0.8/src/test/testvcal.c
Examining data/libical3-3.0.8/src/test/timezones.c
Examining data/libical3-3.0.8/zoneinfo/zones.h

FINAL RESULTS:

data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c:239: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 (_c, type);
data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c:362:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy(temp_type,tp->name);
data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c:369:8:  [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(SwigCache[SwigCacheIndex].mapped,_c);
data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c:370:8:  [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(SwigCache[SwigCacheIndex].name,_t);
data/libical3-3.0.8/src/libical/icalcomponent.c:2189: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(new_tzid + tzid_len, suffix_buf);
data/libical3-3.0.8/src/libical/icalmemory.c:250: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(b, str);
data/libical3-3.0.8/src/libical/icalmemory.c:329: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(*pos, string);
data/libical3-3.0.8/src/libical/icalmime.c:231:17:  [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(temp, str);
data/libical3-3.0.8/src/libical/icaltime.c:372: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.
        snprintf(buf, size, fmt, tt.year, tt.month, tt.day, tt.hour, tt.minute, tt.second);
data/libical3-3.0.8/src/libical/icaltimezone.c:457: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(tznames, standard_tzname);
data/libical3-3.0.8/src/libical/icaltimezone.c:459: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(tznames + standard_len + 1, daylight_tzname);
data/libical3-3.0.8/src/libical/icaltimezone.c:2075:13:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
            wcscpy(dirname, wbuffer);
data/libical3-3.0.8/src/libical/icaltimezone.c:2077:13:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
            wcscat(dirname, zislash + 1);
data/libical3-3.0.8/src/libical/icaltimezone.c:2089: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(zoneinfodir, ZONEINFO_DIRECTORY);
data/libical3-3.0.8/src/libical/icaltimezone.c:2092: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(dirname, buffer);
data/libical3-3.0.8/src/libical/icaltimezone.c:2095:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(dirname, (char *)zislashp1);
data/libical3-3.0.8/src/libical/icaltimezone.c:2115: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(zone_files_directory, path);
data/libical3-3.0.8/src/libical/icaltz-util.c:185:14:  [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(file_path, F_OK | R_OK)) {
data/libical3-3.0.8/src/libical/icalvalue.c:76: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(new->id, old->id);
data/libical3-3.0.8/src/libical/icalvalue.c:859: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(str, data ? "TRUE" : "FALSE");
data/libical3-3.0.8/src/libical/icalvalue.c:921: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(str, data);
data/libical3-3.0.8/src/libical/icalvalue.c:952: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(str, url);
data/libical3-3.0.8/src/libical/icalvalue.c:959: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(str, data);
data/libical3-3.0.8/src/libical/icalvalue.c:1502: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(szEncText, ptr);
data/libical3-3.0.8/src/libical/icalvalue.c:1545: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(szDecText, str);
data/libical3-3.0.8/src/libical/sspm.c:740:17:  [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(boundary, line);
data/libical3-3.0.8/src/libical/sspm.c:778:17:  [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(boundary, line);
data/libical3-3.0.8/src/libical/sspm.c:802:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(data, line);
data/libical3-3.0.8/src/libical/sspm.c:897:21:  [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(boundary, line);
data/libical3-3.0.8/src/libical/sspm.c:1257: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(buf->pos, string);
data/libical3-3.0.8/src/libicalss/icalcluster.c:49: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(impl->id, ICALCLUSTER_ID);
data/libical3-3.0.8/src/libicalss/icalfileset.c:371:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if (system(tmp) < 0) {
data/libical3-3.0.8/src/libicalss/icalset.c:185: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(buf, path);
data/libical3-3.0.8/src/libicalss/icalset.c:202: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(bufptr, dp->d_name);
data/libical3-3.0.8/src/libicalss/icalssyacc.c:711:21:  [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.
#  define YYFPRINTF fprintf
data/libical3-3.0.8/src/libicalvcal/icalvcal.c:533:17:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
                strcat(new_url, url);
data/libical3-3.0.8/src/libicalvcal/vcc.c:74:17:  [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 DBG_(x) printf x
data/libical3-3.0.8/src/libicalvcal/vobject.c:1266: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(buf1,buf2);
data/libical3-3.0.8/src/test/regression-storage.c:368:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(uid, "%s_%d", icalcomponent_get_uid(clone), month);
data/libical3-3.0.8/src/test/regression.c:308:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(test_cn_str, str);
data/libical3-3.0.8/src/test/regression.c:752: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(b1, S1);
data/libical3-3.0.8/src/test/regression.c:756: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(b2, S2);
data/libical3-3.0.8/src/test/regression.c:760: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(b3, S3);
data/libical3-3.0.8/src/test/regression.c:764: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(b4, S4);
data/libical3-3.0.8/src/test/regression.c:768: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(b5, S5);
data/libical3-3.0.8/src/test/regression.c:772: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(b6, S6);
data/libical3-3.0.8/src/test/regression.c:776: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(b7, S7);
data/libical3-3.0.8/src/test/regression.c:780: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(b8, S8);
data/libical3-3.0.8/src/test/regression.c:2081:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(remaining_list, s);
data/libical3-3.0.8/src/test/regression.c:4385:5:  [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.
    snprintf(strcomp, len, strcomp_fmt, icaltimezone_get_tzid(zone));
data/libical3-3.0.8/src/test/regression.c:4414: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(buff, defvalue);
data/libical3-3.0.8/src/test/regression.c:4426: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(buff, defvalue);
data/libical3-3.0.8/src/test/regression.c:4438: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(buff, defvalue);
data/libical3-3.0.8/src/test/stow.c:201:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(m, mime_part_2);
data/libical3-3.0.8/src/test/stow.c:231:13:  [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.
        p = popen(SENDMAIL, "w");
data/libical3-3.0.8/src/test/testmime.c:230:17:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
                strcat(buf, array[i]);
data/libical3-3.0.8/src/test/testmime.c:240:17:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
                strcat(buf, array[r + non_rand]);
data/libical3-3.0.8/src/libicalvcal/vcc.c:1299:16:  [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 ((yys = getenv("YYDEBUG")) != 0)
data/libical3-3.0.8/src/test/icalrecur_test.c:584: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, "rv")) != EOF) {
data/libical3-3.0.8/src/test/regression-recur.c:96: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.
    file = getenv("ICAL_RECUR_FILE");
data/libical3-3.0.8/src/test/regression.c:4547:17:  [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 ((c = getopt(argc, argv, "lvq")) != -1) {
data/libical3-3.0.8/src/test/stow.c:171:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand((unsigned int)(time(0) << getpid()));
data/libical3-3.0.8/src/test/stow.c:491:17:  [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 ((c = getopt(argc, argv, "nemu:o:d:b:c:i:")) != -1) {
data/libical3-3.0.8/src/test/stow.c:562:22:  [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 *user = getenv("USER");
data/libical3-3.0.8/src/test/stow.c:574:22:  [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 *user = getenv("USER");
data/libical3-3.0.8/src/test/testmime.c:99:17:  [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 ((c = getopt(argc, argv, "nsbqi:S:c:")) != -1) {
data/libical3-3.0.8/src/test/testmime.c:225:13:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            srand(j);
data/libical3-3.0.8/src/test/testmime.c:238:17:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                srand(i);
data/libical3-3.0.8/examples/parse_text.c:29:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    stream = fopen(argv[1],"r");
data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c:132: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[256];          /* Given datatype name            */
data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c:133: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                mapped[256];        /* Equivalent name                */
data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c:219: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 _hex[16] =
data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c:223: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 _result[20], *_r;    /* Note : a 64-bit hex number = 16 digits */
data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c:236:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy (_c, "NULL");
data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c:257: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 temp_type[256];
data/libical3-3.0.8/src/libical-glib/tools/generator.c:29:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      tmpl = fopen(path, "rb");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:668: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(PRIVATE_HEADER, mode);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:681: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(PRIVATE_HEADER, "ab");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1118:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    out = fopen(FORWARD_DECLARATIONS_HEADER, "wb");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1933:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    header = fopen(headerName, "w");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1934:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    source = fopen(sourceName, "w");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2363:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    out = fopen("libical-glib.h", "w");
data/libical3-3.0.8/src/libical/icalarray.c:78: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(array->chunks[chunk], originalarray->chunks[chunk],
data/libical3-3.0.8/src/libical/icalarray.c:114: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(icalarray_element_at(array, pos), element, array->element_size);
data/libical3-3.0.8/src/libical/icalarray.c:152: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((char *)tmp + array->element_size * pos,
data/libical3-3.0.8/src/libical/icalarray.c:159: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(icalarray_element_at(array, pos),
data/libical3-3.0.8/src/libical/icalarray.c:182: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(new_chunks, array->chunks, num_chunks * sizeof(void *));
data/libical3-3.0.8/src/libical/icalcomponent.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[5];
data/libical3-3.0.8/src/libical/icalcomponent.c:101:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(comp->id, "comp");
data/libical3-3.0.8/src/libical/icalcomponent.c:1169:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[20];
data/libical3-3.0.8/src/libical/icalcomponent.c:2111: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 *tzid_copy, *new_tzid, suffix_buf[32];
data/libical3-3.0.8/src/libical/icalcomponent.c:2165: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).
                suffix = atoi(existing_tzid + existing_tzid_len);
data/libical3-3.0.8/src/libical/icalduration.c:203: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 temp[1024];
data/libical3-3.0.8/src/libical/icalenums.c:109: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 tmpbuf[36];
data/libical3-3.0.8/src/libical/icalerror.c:155:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[160];
data/libical3-3.0.8/src/libical/icallangbind.c:145: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[25];
data/libical3-3.0.8/src/libical/icalmime.c:183: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 mimetype[TMP_BUF_SIZE];
data/libical3-3.0.8/src/libical/icalmime.c:203: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 temp[TMP_ERR_SIZE];
data/libical3-3.0.8/src/libical/icalmime.c:287:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char *descStr = icalmemory_strdup((char *)parts[i].data);
data/libical3-3.0.8/src/libical/icalparameter.c:46:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(v->id, "para");
data/libical3-3.0.8/src/libical/icalparameter.c:96:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(new, old, sizeof(struct icalparameter_impl));
data/libical3-3.0.8/src/libical/icalparameterimpl.h: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[5];
data/libical3-3.0.8/src/libical/icalparser.c:56: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 temp[TMP_BUF_SIZE];
data/libical3-3.0.8/src/libical/icalparser.c:601: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 temp[1024];
data/libical3-3.0.8/src/libical/icalparser.c:890: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 name_stack[TMP_BUF_SIZE];
data/libical3-3.0.8/src/libical/icalparser.c:891: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 pvalue_stack[TMP_BUF_SIZE];
data/libical3-3.0.8/src/libical/icalparser.c:1160: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.
                char temp[200]; /* HACK */
data/libical3-3.0.8/src/libical/icalparser.c:1201: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.
                char temp[200]; /* HACK */
data/libical3-3.0.8/src/libical/icalproperty.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[5];
data/libical3-3.0.8/src/libical/icalproperty.c:77:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(prop->id, "prop");
data/libical3-3.0.8/src/libical/icalrecur.c:610: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).
            parser.rt.count = atoi(value);
data/libical3-3.0.8/src/libical/icalrecur.c:627: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).
            parser.rt.interval = (short)atoi(value);
data/libical3-3.0.8/src/libical/icalrecur.c:729: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 temp[20];
data/libical3-3.0.8/src/libical/icalrecur.c:1362: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 locale[ULOC_KEYWORD_AND_VALUES_CAPACITY] = "";
data/libical3-3.0.8/src/libical/icaltimezone.c:71: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 s_ical_tzid_prefix[BUILTIN_TZID_PREFIX_LEN] = {0};
data/libical3-3.0.8/src/libical/icaltimezone.c:220: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(zone, originalzone, sizeof(icaltimezone));
data/libical3-3.0.8/src/libical/icaltimezone.c:1663:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024];     /* Used to store each line of zones.tab as it is read. */
data/libical3-3.0.8/src/libical/icaltimezone.c:1664: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 location[1024];        /* Stores the city name when parsing buf. */
data/libical3-3.0.8/src/libical/icaltimezone.c:1703: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(filename, "r");
data/libical3-3.0.8/src/libical/icaltimezone.c:1833:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(filename, "r");
data/libical3-3.0.8/src/libical/icaltimezone.c:1907:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[8];
data/libical3-3.0.8/src/libical/icaltimezone.c:1977:5:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    wchar_t wbuffer[1000];
data/libical3-3.0.8/src/libical/icaltimezone.c:1980:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[1000], zoneinfodir[1000], dirname[1000];
data/libical3-3.0.8/src/libical/icaltimezone.c:1982:5:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    wchar_t zoneinfodir[1000], dirname[1000];
data/libical3-3.0.8/src/libical/icaltimezone.c:2071:9:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
        MultiByteToWideChar(CP_ACP, 0, ZONEINFO_DIRECTORY, -1, zoneinfodir, 1000);
data/libical3-3.0.8/src/libical/icaltz-util.c:87: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 ttisgmtcnt[4];
data/libical3-3.0.8/src/libical/icaltz-util.c:88: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 ttisstdcnt[4];
data/libical3-3.0.8/src/libical/icaltz-util.c:89: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 leapcnt[4];
data/libical3-3.0.8/src/libical/icaltz-util.c:90: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 timecnt[4];
data/libical3-3.0.8/src/libical/icaltz-util.c:91: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 typecnt[4];
data/libical3-3.0.8/src/libical/icaltz-util.c:92: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 charcnt[4];
data/libical3-3.0.8/src/libical/icaltz-util.c:178: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 file_path[MAXPATHLEN];
data/libical3-3.0.8/src/libical/icaltz-util.c:294:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((f = fopen(full_path, "rb")) == 0) {
data/libical3-3.0.8/src/libical/icaltz-util.c:350:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 a[4];
data/libical3-3.0.8/src/libical/icaltz-util.c:378: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 c[4];
data/libical3-3.0.8/src/libical/icalvalue.c:50:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(v->id, "val");
data/libical3-3.0.8/src/libical/icalvalue.c:374:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp_buf[TMP_NUM_SIZE + 1];     /*hack */
data/libical3-3.0.8/src/libical/icalvalue.c:481: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.
                char temp[TMP_BUF_SIZE];
data/libical3-3.0.8/src/libical/icalvalue.c:534:39:  [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).
        value = icalvalue_new_integer(atoi(str));
data/libical3-3.0.8/src/libical/icalvalue.c:617: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.
                char temp[TMP_BUF_SIZE];
data/libical3-3.0.8/src/libical/icalvalue.c:731: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 temp[TMP_BUF_SIZE];
data/libical3-3.0.8/src/libical/icalvalue.c:752: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 temp[TMP_BUF_SIZE];
data/libical3-3.0.8/src/libical/icalvalue.c:978: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 temp[20];
data/libical3-3.0.8/src/libical/icalvalue.c:995: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 temp[20];
data/libical3-3.0.8/src/libical/icalvalue.c:1023: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 temp[20];
data/libical3-3.0.8/src/libical/icalvalueimpl.h: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 id[5];
data/libical3-3.0.8/src/libical/sspm.c:77: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 temp[TMP_BUF_SIZE];
data/libical3-3.0.8/src/libical/sspm.c:146: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 name[1024];
data/libical3-3.0.8/src/libical/sspm.c:194: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 name[1024];
data/libical3-3.0.8/src/libical/sspm.c:208: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 value[1024];
data/libical3-3.0.8/src/libical/sspm.c:614: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 header_lines[MAX_HEADER_LINES][TMP_BUF_SIZE];  /* HACK, hard limits TODO */
data/libical3-3.0.8/src/libical/sspm.c:741:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                strcat(boundary, "--");
data/libical3-3.0.8/src/libical/sspm.c:767: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.
                char msg[256];
data/libical3-3.0.8/src/libical/sspm.c:779:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                strcat(boundary, "--");
data/libical3-3.0.8/src/libical/sspm.c:886:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char msg[256];
data/libical3-3.0.8/src/libical/sspm.c:898:21:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                    strcat(boundary, "--");
data/libical3-3.0.8/src/libical/sspm.c:1112: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[4] = { 0, 0, 0, 0 };
data/libical3-3.0.8/src/libical/sspm.c:1197: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[4];
data/libical3-3.0.8/src/libical/sspm.c:1314: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 BaseTable[64] = {
data/libical3-3.0.8/src/libical/sspm.c:1323: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 outbuf[4];
data/libical3-3.0.8/src/libical/sspm.c:1360: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 inbuf[3];
data/libical3-3.0.8/src/libical/sspm.c:1407: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 temp[TMP_BUF_SIZE];
data/libical3-3.0.8/src/libicalss/icalbdbset.c:78:24:  [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).
    ret = ICAL_DB_ENV->open(ICAL_DB_ENV, db_env_dir, flags, S_IRUSR | S_IWUSR);
data/libical3-3.0.8/src/libicalss/icalbdbset.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 keystore[256];
data/libical3-3.0.8/src/libicalss/icalbdbset.c:163: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 datastore[1024];
data/libical3-3.0.8/src/libicalss/icalbdbset.c:230: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(str, (char *)data.data, data.size);
data/libical3-3.0.8/src/libicalss/icalbdbset.c:375:17:  [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).
    ret = sdbp->open(sdbp, NULL, database, sub_database, type, (u_int32_t) flags, 0644);
data/libical3-3.0.8/src/libicalss/icalbdbset.c:425:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((ret = dbp->open(dbp, NULL, path, subdb, dbtype, flags, mode)) != 0) {
data/libical3-3.0.8/src/libicalss/icalbdbset.c:711: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 keystore[256];
data/libical3-3.0.8/src/libicalss/icalbdbset.c:712: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 uidbuf[256];
data/libical3-3.0.8/src/libicalss/icalbdbset.c:713: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 datastore[1024];
data/libical3-3.0.8/src/libicalss/icalcalendar.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 path[MAXPATHLEN];
data/libical3-3.0.8/src/libicalss/icalcalendar.c:169: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 dir[MAXPATHLEN];
data/libical3-3.0.8/src/libicalss/icalcalendar.c:190: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[MAXPATHLEN];
data/libical3-3.0.8/src/libicalss/icalcalendar.c:209: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[MAXPATHLEN];
data/libical3-3.0.8/src/libicalss/icalcalendar.c:228: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[MAXPATHLEN];
data/libical3-3.0.8/src/libicalss/icalclusterimpl.h:29: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[5]; /* clus */
data/libical3-3.0.8/src/libicalss/icaldirset.c:268: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[MAXPATHLEN];
data/libical3-3.0.8/src/libicalss/icaldirset.c:295: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 uidstring[MAXPATHLEN] = { 0 };
data/libical3-3.0.8/src/libicalss/icaldirset.c:331: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 clustername[MAXPATHLEN] = { 0 };
data/libical3-3.0.8/src/libicalss/icaldirset.c:496: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 sql[256];
data/libical3-3.0.8/src/libicalss/icaldirset.c:588: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[MAXPATHLEN];
data/libical3-3.0.8/src/libicalss/icalfileset.c:96:16:  [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).
    fset->fd = open(fset->path, flags, mode);
data/libical3-3.0.8/src/libicalss/icalfileset.c:341: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[MAXPATHLEN];
data/libical3-3.0.8/src/libicalss/icalmessage.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 tmp[45];
data/libical3-3.0.8/src/libicalss/icalset.c:182: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[PATH_MAX], *bufptr;
data/libical3-3.0.8/src/libicalss/icalset.c:274: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(data, impl, sizeof(icalset));
data/libical3-3.0.8/src/libicalss/icalsslexer.c:531:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char sstext[YYLMAX];
data/libical3-3.0.8/src/libicalss/icalsslexer.c:571: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(buf, input_buffer_p, n);
data/libical3-3.0.8/src/libicalss/icalssyacc.c:1008: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 const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/libical3-3.0.8/src/libicalss/icalssyacc.c:1025: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 yyformat[sizeof yyunexpected
data/libical3-3.0.8/src/libicalss/icalssyacc.c:1193: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 yymsgbuf[128];
data/libical3-3.0.8/src/libicalvcal/icalvcal.c:87: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 temp[4096];
data/libical3-3.0.8/src/libicalvcal/icalvcal.c:334:55:  [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).
                repeat_prop = icalproperty_new_repeat(atoi(s));
data/libical3-3.0.8/src/libicalvcal/icalvcal.c:386: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.
                char buffer[1024];
data/libical3-3.0.8/src/libicalvcal/icalvcal.c:532:17:  [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(new_url, "file://");
data/libical3-3.0.8/src/libicalvcal/icalvcal.c:624:16:  [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).
    sequence = atoi(s);
data/libical3-3.0.8/src/libicalvcal/icalvcal.c:823: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 buffer[20];
data/libical3-3.0.8/src/libicalvcal/icalvcal.c:1564: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 temp[1024];
data/libical3-3.0.8/src/libicalvcal/vcaltmp.c:319: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(OUTFILE, "w");
data/libical3-3.0.8/src/libicalvcal/vcc.c:916:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 outBytes[3];
data/libical3-3.0.8/src/libicalvcal/vcc.c:939:21:  [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(bytes + bytesLen, outBytes, numOut);
data/libical3-3.0.8/src/libicalvcal/vcc.c:1211: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(fname,"r");
data/libical3-3.0.8/src/libicalvcal/vcc.c:1218:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[256];
data/libical3-3.0.8/src/libicalvcal/vcc.c:1237:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/libical3-3.0.8/src/libicalvcal/vobject.c:132: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(t,s,size);
data/libical3-3.0.8/src/libicalvcal/vobject.c:557: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(fname,"w");
data/libical3-3.0.8/src/libicalvcal/vobject.c:566: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(fname,"w");
data/libical3-3.0.8/src/libicalvcal/vobject.c:1010: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(fp->s+fp->len,s,slen);
data/libical3-3.0.8/src/libicalvcal/vobject.c:1126: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 quad[5];
data/libical3-3.0.8/src/libicalvcal/vobject.c:1169: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[4];
data/libical3-3.0.8/src/libicalvcal/vobject.c:1214: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 buf[16];
data/libical3-3.0.8/src/libicalvcal/vobject.c:1220: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 buf[16];
data/libical3-3.0.8/src/libicalvcal/vobject.c:1256: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 buf1[256];
data/libical3-3.0.8/src/libicalvcal/vobject.c:1257: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 buf2[256];
data/libical3-3.0.8/src/libicalvcal/vobject.c:1372: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(fname,"w");
data/libical3-3.0.8/src/libicalvcal/vobject.c:1381: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(fname,"w");
data/libical3-3.0.8/src/test/icalrecur_test.c:576: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("test.out", "w");
data/libical3-3.0.8/src/test/icaltestparser.c:92:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    stream = fopen(argv[1], "r");
data/libical3-3.0.8/src/test/process.c:119: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.
                char temp[1024];
data/libical3-3.0.8/src/test/regression-classify.c:116:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[128];
data/libical3-3.0.8/src/test/regression-recur.c:59:22:  [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).
        num_events = atoi(note);
data/libical3-3.0.8/src/test/regression-recur.c:114:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[128];
data/libical3-3.0.8/src/test/regression-storage.c:517: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 title[255];
data/libical3-3.0.8/src/test/regression-storage.c:540:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str, &cal->ID, sizeof(cal->ID));
data/libical3-3.0.8/src/test/regression-storage.c:543:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str + cal->total_size_offset, &cal->total_size, sizeof(cal->total_size));
data/libical3-3.0.8/src/test/regression-storage.c:546:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str + cal->vcalendar_size_offset, &cal->vcalendar_size, sizeof(cal->vcalendar_size));
data/libical3-3.0.8/src/test/regression-storage.c:549:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str + cal->vcalendar_offset, cal->vcalendar, cal->vcalendar_size);
data/libical3-3.0.8/src/test/regression-storage.c:552:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str + cal->title_size_offset, &cal->title_size, sizeof(cal->title_size));
data/libical3-3.0.8/src/test/regression-storage.c:555:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str + cal->title_offset, cal->title, cal->title_size);
data/libical3-3.0.8/src/test/regression-storage.c:589: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(cal->vcalendar, (char *)(str + cal->vcalendar_offset), cal->vcalendar_size);
data/libical3-3.0.8/src/test/regression-storage.c:604: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(cal->title, (char *)(str + cal->title_offset), cal->title_size);
data/libical3-3.0.8/src/test/regression-utils.c:31: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 ictt_str[1024];
data/libical3-3.0.8/src/test/regression.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 test_cn_str[128] = "";
data/libical3-3.0.8/src/test/regression.c:1519: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 temp[1024];
data/libical3-3.0.8/src/test/regression.c:1679:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/libical3-3.0.8/src/test/regression.c:2014: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 vevent_list[64] = "";
data/libical3-3.0.8/src/test/regression.c:2015: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 remaining_list[64] = "";
data/libical3-3.0.8/src/test/regression.c:2130:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *zones[6] =
data/libical3-3.0.8/src/test/regression.c:2317: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 out_str[80] = "";
data/libical3-3.0.8/src/test/regression.c:2643: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 msg[128];
data/libical3-3.0.8/src/test/regression.c:2665: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[128];
data/libical3-3.0.8/src/test/regression.c:4033: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 funTime[2048];
data/libical3-3.0.8/src/test/regression.c:4040:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "BEGIN:VCALENDAR\n");
data/libical3-3.0.8/src/test/regression.c:4041:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "VERSION:2.0\n");
data/libical3-3.0.8/src/test/regression.c:4042:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "BEGIN:VTIMEZONE\n");
data/libical3-3.0.8/src/test/regression.c:4043:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "TZID:/mozilla.org/20071231_1/Europe/London\n");
data/libical3-3.0.8/src/test/regression.c:4044:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "X-LIC-LOCATION:Europe/London\n");
data/libical3-3.0.8/src/test/regression.c:4045:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "BEGIN:DAYLIGHT\n");
data/libical3-3.0.8/src/test/regression.c:4046:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "TZOFFSETFROM:+0000\n");
data/libical3-3.0.8/src/test/regression.c:4047:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "TZOFFSETTO:+0100\n");
data/libical3-3.0.8/src/test/regression.c:4048:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "TZNAME:BST\n");
data/libical3-3.0.8/src/test/regression.c:4049:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "DTSTART:19700328T230000\n");
data/libical3-3.0.8/src/test/regression.c:4050:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3\n");
data/libical3-3.0.8/src/test/regression.c:4051:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "END:DAYLIGHT\n");
data/libical3-3.0.8/src/test/regression.c:4052:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "BEGIN:STANDARD\n");
data/libical3-3.0.8/src/test/regression.c:4053:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "TZOFFSETFROM:+0100\n");
data/libical3-3.0.8/src/test/regression.c:4054:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "TZOFFSETTO:+0000\n");
data/libical3-3.0.8/src/test/regression.c:4055:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "TZNAME:GMT\n");
data/libical3-3.0.8/src/test/regression.c:4056:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "DTSTART:19701025T000000\n");
data/libical3-3.0.8/src/test/regression.c:4057:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10\n");
data/libical3-3.0.8/src/test/regression.c:4058:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "END:STANDARD\n");
data/libical3-3.0.8/src/test/regression.c:4059:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "END:VTIMEZONE\n");
data/libical3-3.0.8/src/test/regression.c:4060:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "BEGIN:VEVENT\n");
data/libical3-3.0.8/src/test/regression.c:4061:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "DTSTAMP:20080805T174443Z\n");
data/libical3-3.0.8/src/test/regression.c:4062:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "UID:5fb6ccb8-9646-45ab-8c95-8d15e9de1280\n");
data/libical3-3.0.8/src/test/regression.c:4063:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "SUMMARY:Exclude test\n");
data/libical3-3.0.8/src/test/regression.c:4064:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "EXDATE;TZID=/mozilla.org/20071231_1/Europe/London:20080818T190000\n");
data/libical3-3.0.8/src/test/regression.c:4065:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "EXDATE:20080819T180000Z\n");
data/libical3-3.0.8/src/test/regression.c:4066:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "RRULE:FREQ=DAILY;COUNT=12;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR\n");
data/libical3-3.0.8/src/test/regression.c:4067:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "DTSTART;TZID=/mozilla.org/20071231_1/Europe/London:20080811T190000\n");
data/libical3-3.0.8/src/test/regression.c:4068:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "DTEND;TZID=/mozilla.org/20071231_1/Europe/London:20080811T200000\n");
data/libical3-3.0.8/src/test/regression.c:4069:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "END:VEVENT\n");
data/libical3-3.0.8/src/test/regression.c:4070:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(funTime, "END:VCALENDAR\n");
data/libical3-3.0.8/src/test/regression.c:4409: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 buff[12];
data/libical3-3.0.8/src/test/regression.c:4572: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).
        do_test = atoi(argv[argc - 1]);
data/libical3-3.0.8/src/test/regression.c:4576: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).
        do_test = atoi(argv[1]);
data/libical3-3.0.8/src/test/stow.c:157: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 mime_part_1[TMPSIZE];
data/libical3-3.0.8/src/test/stow.c:158: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 mime_part_2[TMPSIZE];
data/libical3-3.0.8/src/test/stow.c:159: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 content_id[TMPSIZE_SMALL];
data/libical3-3.0.8/src/test/stow.c:160: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 boundary[TMPSIZE_SMALL];
data/libical3-3.0.8/src/test/stow.c:203:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(m, "--\n");
data/libical3-3.0.8/src/test/stow.c:274: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 attendee[TMPSIZE];
data/libical3-3.0.8/src/test/stow.c:276: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 prodid[TMPSIZE];
data/libical3-3.0.8/src/test/stow.c:345:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char static_component_error_str[MAXPATHLEN];
data/libical3-3.0.8/src/test/stow.c:375:13:  [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(static_component_error_str, "Did not find a component");
data/libical3-3.0.8/src/test/stow.c:382:13:  [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(static_component_error_str, "Root component is not a VCALENDAR");
data/libical3-3.0.8/src/test/stow.c:392:13:  [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(static_component_error_str,
data/libical3-3.0.8/src/test/stow.c:561: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 attendee[MAXPATHLEN];
data/libical3-3.0.8/src/test/stow.c:573: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 file[MAXPATHLEN];
data/libical3-3.0.8/src/test/stow.c:714: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).
        stream = fopen(opt->input_file, "r");
data/libical3-3.0.8/src/test/stow.c:776: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).
        stream = fopen(opt->input_file, "r");
data/libical3-3.0.8/src/test/testmime.c:96:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    program_name = (char *)strrchr((char *)argv[0], '/');
data/libical3-3.0.8/src/test/testmime.c:96:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    program_name = (char *)strrchr((char *)argv[0], '/');
data/libical3-3.0.8/src/test/testmime.c:141: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).
                opt.sleepy = atoi(optarg);
data/libical3-3.0.8/src/test/testmime.c:147:29:  [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).
                opt.count = atoi(optarg);
data/libical3-3.0.8/src/test/testmime.c:173:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        f = fopen(opt.input_file, "r");
data/libical3-3.0.8/src/test/testmime.c:195: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 *array[1024];
data/libical3-3.0.8/src/test/testmime.c:196: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 temp[1024];
data/libical3-3.0.8/src/test/testmime.c:260: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 str[4096];
data/libical3-3.0.8/src/test/testmime.c:261: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 conv[4096];
data/libical3-3.0.8/src/test/testmime.c:277: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 str[4096];
data/libical3-3.0.8/src/test/testmime.c:278: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 conv[4096];
data/libical3-3.0.8/src/test/timezones.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 new_tz[256];
data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c:194: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).
    t->len = strlen(t->name);
data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c:208: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).
  t1->len = strlen(t1->name);
data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c:363:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	    strncat(temp_type,_t+len,255-tp->len);
data/libical3-3.0.8/src/Net-ICal-Libical/netical_wrap.c:408:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  sv_magic(sv,sv,'U',name,strlen(name));
data/libical3-3.0.8/src/libical-glib/tools/generator.c:74: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).
        full_flag_len = (guint)strlen(full_flag);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:79: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).
            comment_len = (guint)strlen(para->comment);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:132: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).
        len = (guint)strlen(method->comment);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:137: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).
                (void)g_stpcpy(comment_line + strlen(comment_line), "\n *");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:141: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).
            cursor = (gint)strlen(comment_line);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:204: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).
    for (i = 1; i < (guint)strlen(lowerSnake); i++) {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:206: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).
            len = (guint)strlen(buffer);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:210: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).
            len = (guint)strlen(buffer);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:216: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).
    ret = g_new(gchar, strlen(buffer) + 1);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:217: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).
    for (i = 0; i < (guint)strlen(buffer); i++) {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:236: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).
    for (i = 0; i < (guint)strlen(lowerSnake); i++) {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:246:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    dest = g_new(gchar, strlen(ret) + 1);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:247: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).
    for (i = 0; i < (guint)strlen(ret); i++) {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:279: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).
    for (i = 0; i < (guint)strlen(upperCamel); i++) {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:281: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).
            len = (guint)strlen(buffer);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:286: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).
            len = (guint)strlen(buffer);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:304:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len =  (guint)strlen(lowerSnake);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:323: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).
    len = (guint)strlen(ret);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:650: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(str);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:760: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).
        count = (gint)strlen(method->ret->type) / TAB_SIZE;
data/libical3-3.0.8/src/libical-glib/tools/generator.c:768:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len = (gint)strlen(buffer);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:774:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (method->ret->type[strlen(method->ret->type) - 1] != '*') {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:781: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).
    count = (gint)(strlen(method->name) / TAB_SIZE);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:788:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len = (gint)strlen(buffer);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:794:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len = (gint)strlen(buffer);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:823: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 (para->type[strlen(para->type) - 1] != '*') {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:850:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = fgetc(in)) != EOF) {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:852:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((c = fgetc(in)) != '{' && c != '^') {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:861:31:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                while (!((c = fgetc(in)) == '$' && last == '^' && count == 1)) {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:871:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    len = (gint)strlen(buffer);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:875: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).
                if (strlen(buffer) > 0) {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:876: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).
                    buffer[strlen(buffer) - 1] = '\0';
data/libical3-3.0.8/src/libical-glib/tools/generator.c:880:29:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                while ((c = fgetc(in)) != '}') {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:881:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    len = (gint)strlen(buffer);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1148:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = fgetc(in)) != EOF) {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1150:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((c = fgetc(in)) != '{' && c != '^') {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1157:25:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            while ((c = fgetc(in)) != '}') {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1158: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).
                len = (gint)strlen(buffer);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1305: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).
    statement_len = (guint)strlen(statement);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1322: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).
        len = (gint)strlen(condition);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1337: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).
    expression_len = (guint)strlen(expression);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1340:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        for (iter = 0; iter < (guint)strlen(expression); iter++) {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1366:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    len = (gint)strlen(buffer);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1383:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        len = (gint)strlen(var);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1420: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).
    (void)g_stpcpy(buffer + strlen(buffer), method->corresponds);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1421: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).
    (void)g_stpcpy(buffer + strlen(buffer), " ");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1424:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void)g_stpcpy(buffer + strlen(buffer), "()");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1428: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).
                (void)g_stpcpy(buffer + strlen(buffer), "(");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1430: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).
                (void)g_stpcpy(buffer + strlen(buffer), ", ");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1433:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void)g_stpcpy(buffer + strlen(buffer), para);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1436:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void)g_stpcpy(buffer + strlen(buffer), ")");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1439: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).
    ret = g_malloc(strlen(buffer) + 1);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1636:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void)g_stpcpy(buffer + strlen(buffer), "((");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1637:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void)g_stpcpy(buffer + strlen(buffer), para->name);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1638:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void)g_stpcpy(buffer + strlen(buffer), ")?(");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1640:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void)g_stpcpy(buffer + strlen(buffer), translator);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1641:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void)g_stpcpy(buffer + strlen(buffer), " (");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1643:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void)g_stpcpy(buffer + strlen(buffer), "I_CAL_OBJECT (");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1646: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).
    (void)g_stpcpy(buffer + strlen(buffer), para->name);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1650:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void)g_stpcpy(buffer + strlen(buffer), ")");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1652:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void)g_stpcpy(buffer + strlen(buffer), ")");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1654:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void)g_stpcpy(buffer + strlen(buffer), "):NULL)");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1658: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).
    ret = g_new(gchar, strlen(buffer) + 1);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1685: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).
    (void)g_stpcpy(buffer + strlen(buffer), comment);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1688: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).
    (void)g_stpcpy(buffer + strlen(buffer), "\n");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1691: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).
    (void)g_stpcpy(buffer + strlen(buffer), proto);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1694: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).
    (void)g_stpcpy(buffer + strlen(buffer), "\n{\n");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1699:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void)g_stpcpy(buffer + strlen(buffer), checkers);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1709: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).
                    (void)g_stpcpy(buffer + strlen(buffer),
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1711: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).
                    (void)g_stpcpy(buffer + strlen(buffer), parameter->name);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1712: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).
                    (void)g_stpcpy(buffer + strlen(buffer), "));\n");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1714: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).
                    (void)g_stpcpy(buffer + strlen(buffer),
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1716: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).
                    (void)g_stpcpy(buffer + strlen(buffer), parameter->name);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1717: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).
                    (void)g_stpcpy(buffer + strlen(buffer), ", (GObject *)");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1718: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).
                    (void)g_stpcpy(buffer + strlen(buffer), (gchar *)parameter->owner_op);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1719: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).
                    (void)g_stpcpy(buffer + strlen(buffer), ");\n");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1722: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).
                (void)g_stpcpy(buffer + strlen(buffer), "\ti_cal_object_set_owner ((ICalObject *)");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1723: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).
                (void)g_stpcpy(buffer + strlen(buffer), parameter->name);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1724: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).
                (void)g_stpcpy(buffer + strlen(buffer), ", (GObject *)");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1725: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).
                (void)g_stpcpy(buffer + strlen(buffer), (gchar *)parameter->translatorArgus->data);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1726: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).
                (void)g_stpcpy(buffer + strlen(buffer), ");\n");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1730:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void)g_stpcpy(buffer + strlen(buffer), "\t");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1732:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void)g_stpcpy(buffer + strlen(buffer), "return ");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1735: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).
                (void)g_stpcpy(buffer + strlen(buffer), translator);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1736: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).
                (void)g_stpcpy(buffer + strlen(buffer), " (");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1741:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void)g_stpcpy(buffer + strlen(buffer), body);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1749:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        (void)g_stpcpy(buffer + strlen(buffer), ", ");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1750:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        (void)g_stpcpy(buffer + strlen(buffer), (gchar *)iter->data);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1758:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        (void)g_stpcpy(buffer + strlen(buffer), ", NULL");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1769:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void)g_stpcpy(buffer + strlen(buffer), ")");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1772:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void)g_stpcpy(buffer + strlen(buffer), ";");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1774:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void)g_stpcpy(buffer + strlen(buffer), method->custom);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1778: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).
    (void)g_stpcpy(buffer + strlen(buffer), "\n}");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1780: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).
    ret = g_new(gchar, strlen(buffer) + 1);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1802:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void)g_stpcpy(buffer + strlen(buffer), "void");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1804:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void)g_stpcpy(buffer + strlen(buffer), method->ret->type);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1806: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).
    (void)g_stpcpy(buffer + strlen(buffer), "\n");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1809: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).
    (void)g_stpcpy(buffer + strlen(buffer), method->name);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1811: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).
    paddingLength = (gint)strlen(method->name) + 2;
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1820:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void)g_stpcpy(buffer + strlen(buffer), " (void)");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1826: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).
                (void)g_stpcpy(buffer + strlen(buffer), " (");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1828: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).
                (void)g_stpcpy(buffer + strlen(buffer), ", \n");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1829: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).
                (void)g_stpcpy(buffer + strlen(buffer), padding);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1831:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void)g_stpcpy(buffer + strlen(buffer), para->type);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1832: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 (para->type[strlen(para->type) - 1] != '*') {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1833: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).
                (void)g_stpcpy(buffer + strlen(buffer), " ");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1835:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void)g_stpcpy(buffer + strlen(buffer), para->name);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1837:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void)g_stpcpy(buffer + strlen(buffer), ")");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1840: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).
    ret = g_malloc(strlen(buffer) + 1);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1867: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).
    const guint const_prefix_len = (guint)strlen(const_prefix);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1872: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).
    type_len = (guint)strlen(type);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1926:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void)g_stpcpy(headerName + strlen(headerName), dir);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1927:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void)g_stpcpy(headerName + strlen(headerName), lowerTrain);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1928:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void)g_stpcpy(headerName + strlen(headerName), ".h");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1929:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void)g_stpcpy(sourceName + strlen(sourceName), dir);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1930:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void)g_stpcpy(sourceName + strlen(sourceName), lowerTrain);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1931:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void)g_stpcpy(sourceName + strlen(sourceName), ".c");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:1972: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).
    const guint enum_header_len = (guint)strlen(ENUM_HEADER);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2014:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (enum_header_len >= (guint)strlen(nativeName)) {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2067: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).
    namespace_len = (guint)strlen(namespace);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2072:61:  [1] (buffer) strlen:
  Does not handle 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 (parameter && parameter->type && parameter->type[strlen(parameter->type) - 1] == '*') {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2079: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).
                (void)g_stpcpy(buffer + strlen(buffer), "\t");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2081: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).
                    (void)g_stpcpy(buffer + strlen(buffer), "if(");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2082: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).
                    (void)g_stpcpy(buffer + strlen(buffer), parameter->name);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2083: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).
                    (void)g_stpcpy(buffer + strlen(buffer), ")\n\t\t");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2093: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).
                    (void)g_stpcpy(buffer + strlen(buffer), "g_return_val_if_fail (");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2094: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).
                    (void)g_stpcpy(buffer + strlen(buffer), typeCheck);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2095: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).
                    (void)g_stpcpy(buffer + strlen(buffer), ", ");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2098: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).
                    } else if (method->ret->type[strlen(method->ret->type) - 1] == '*') {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2108: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).
                    (void)g_stpcpy(buffer + strlen(buffer), defaultValue);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2110: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).
                    (void)g_stpcpy(buffer + strlen(buffer), ");");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2112: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).
                    (void)g_stpcpy(buffer + strlen(buffer), "g_return_if_fail (");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2113: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).
                    (void)g_stpcpy(buffer + strlen(buffer), typeCheck);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2114: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).
                    (void)g_stpcpy(buffer + strlen(buffer), ");");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2119: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).
                (void)g_stpcpy(buffer + strlen(buffer), "\n");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2123: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).
                (void)g_stpcpy(buffer + strlen(buffer), "\t");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2125: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).
                    (void)g_stpcpy(buffer + strlen(buffer), "g_return_val_if_fail (");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2126: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).
                    (void)g_stpcpy(buffer + strlen(buffer), parameter->name);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2127: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).
                    (void)g_stpcpy(buffer + strlen(buffer), " != NULL, ");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2131: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).
                    } else if (method->ret->type[strlen(method->ret->type) - 1] == '*') {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2143: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).
                    (void)g_stpcpy(buffer + strlen(buffer), defaultValue);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2145: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).
                    (void)g_stpcpy(buffer + strlen(buffer), ");");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2147: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).
                    (void)g_stpcpy(buffer + strlen(buffer), "g_return_if_fail (");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2148: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).
                    (void)g_stpcpy(buffer + strlen(buffer), parameter->name);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2149: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).
                    (void)g_stpcpy(buffer + strlen(buffer), " != NULL");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2150: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).
                    (void)g_stpcpy(buffer + strlen(buffer), ");");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2152: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).
                (void)g_stpcpy(buffer + strlen(buffer), "\n");
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2158:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(buffer) > 0) {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2215: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).
        len = (gint)strlen(filename);
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2373:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = fgetc(in)) != EOF) {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2375:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((c = fgetc(in)) != '{' && c != '^') {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2383:25:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            while ((c = fgetc(in)) != '}') {
data/libical3-3.0.8/src/libical-glib/tools/generator.c:2384: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).
                len = (gint)strlen(buffer);
data/libical3-3.0.8/src/libical/icalcomponent.c:1250: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).
        if (strncasecmp(string, component_map[i].name, strlen(component_map[i].name)) == 0) {
data/libical3-3.0.8/src/libical/icalcomponent.c:2181: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).
    new_tzid = malloc(tzid_len + strlen(suffix_buf) + 1);
data/libical3-3.0.8/src/libical/icalcomponent.c:2188:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(new_tzid, tzid, tzid_len);
data/libical3-3.0.8/src/libical/icalcomponent.c:2202: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(tzid);
data/libical3-3.0.8/src/libical/icalduration.c:70: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 size = (int)strlen(str);
data/libical3-3.0.8/src/libical/icallangbind.c:198: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).
                char *copy = (char *)malloc(strlen(str) + 1);
data/libical3-3.0.8/src/libical/icallangbind.c:299: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).
    size_t buf_size = 2 * strlen(str);
data/libical3-3.0.8/src/libical/icalmemory.c:248:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *b = icalmemory_tmp_buffer(strlen(str) + 1);
data/libical3-3.0.8/src/libical/icalmemory.c:313:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    string_length = strlen(string);
data/libical3-3.0.8/src/libical/icalparser.c:81:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(buf);
data/libical3-3.0.8/src/libical/icalparser.c:179:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buf, start, size);
data/libical3-3.0.8/src/libical/icalparser.c:274: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).
        requested_value_length = strlen(next);
data/libical3-3.0.8/src/libical/icalparser.c:283:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(name, line, requested_name_length);
data/libical3-3.0.8/src/libical/icalparser.c:286:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(value, next, requested_value_length);
data/libical3-3.0.8/src/libical/icalparser.c:322: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).
        *end = make_segment(*end, *end + strlen(*end));
data/libical3-3.0.8/src/libical/icalparser.c:340:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        next = (char *)(size_t) line + (size_t) strlen(line);
data/libical3-3.0.8/src/libical/icalparser.c:357: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 length = strlen(line);
data/libical3-3.0.8/src/libical/icalparser.c:382: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 length = strlen(line);
data/libical3-3.0.8/src/libical/icalparser.c:986: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).
                    char *strStart = line + strlen(name) + 2;
data/libical3-3.0.8/src/libical/icalparser.c:1085: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).
                    size_t tmp_buf_len = strlen(err_str) + strlen(prop_str) + 2;
data/libical3-3.0.8/src/libical/icalparser.c:1085:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    size_t tmp_buf_len = strlen(err_str) + strlen(prop_str) + 2;
data/libical3-3.0.8/src/libical/icalparser.c:1312: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).
            size = strlen(data->pos);
data/libical3-3.0.8/src/libical/icalparser.c:1327:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(out, data->pos, size);
data/libical3-3.0.8/src/libical/icalproperty.c:276: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(text);
data/libical3-3.0.8/src/libical/icalrecur.c:579: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).
            if (strlen(parser.this_clause) > 0) {
data/libical3-3.0.8/src/libical/icalrecur.c:1370: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 len = (strlen(src) + 1) * U_SIZEOF_UCHAR;
data/libical3-3.0.8/src/libical/icaltime.c:411:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size = strlen(str);
data/libical3-3.0.8/src/libical/icaltimezone.c:189:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(s_ical_tzid_prefix, BUILTIN_TZID_PREFIX, BUILTIN_TZID_PREFIX_LEN-1);
data/libical3-3.0.8/src/libical/icaltimezone.c:454: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).
        standard_len = strlen(standard_tzname);
data/libical3-3.0.8/src/libical/icaltimezone.c:455: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).
        daylight_len = strlen(daylight_tzname);
data/libical3-3.0.8/src/libical/icaltimezone.c:1269:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            !strncmp(display_name, tzid_prefix, strlen(tzid_prefix))) {
data/libical3-3.0.8/src/libical/icaltimezone.c:1286: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).
            display_name += strlen(tzid_prefix);
data/libical3-3.0.8/src/libical/icaltimezone.c:1495: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 (strncmp(tzid, tzid_prefix, strlen(tzid_prefix)))
data/libical3-3.0.8/src/libical/icaltimezone.c:1516: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).
    p = tzid + strlen(tzid_prefix);
data/libical3-3.0.8/src/libical/icaltimezone.c:1602:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(lat, temp, len);
data/libical3-3.0.8/src/libical/icaltimezone.c:1612:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(location, loc, len);
data/libical3-3.0.8/src/libical/icaltimezone.c:1626:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(location, loc, len);
data/libical3-3.0.8/src/libical/icaltimezone.c:1640:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        parse_coord(lon, (int)strlen(lon),
data/libical3-3.0.8/src/libical/icaltimezone.c:1684: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).
        filename_len = strlen(zonedir);
data/libical3-3.0.8/src/libical/icaltimezone.c:1693: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).
    filename_len += strlen(zonetab);
data/libical3-3.0.8/src/libical/icaltimezone.c:1721:21:  [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(buf, "%1000s", location) != 1) {     /*limit location to 1000chars */
data/libical3-3.0.8/src/libical/icaltimezone.c:1727:24:  [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.
            } else if (sscanf(buf, "%4d%2d%2d %4d%2d%2d %1000s", /*limit location to 1000chars */
data/libical3-3.0.8/src/libical/icaltimezone.c:1823: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).
        filename_len = strlen(get_zone_directory()) + strlen(zone->location) + 6;
data/libical3-3.0.8/src/libical/icaltimezone.c:1823:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        filename_len = strlen(get_zone_directory()) + strlen(zone->location) + 6;
data/libical3-3.0.8/src/libical/icaltimezone.c:2076:13:  [1] (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
  character.
            wcscat(dirname, "/");
data/libical3-3.0.8/src/libical/icaltimezone.c:2093:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat(dirname, "/");
data/libical3-3.0.8/src/libical/icaltimezone.c:2112: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).
    zone_files_directory = malloc(strlen(path) + 1);
data/libical3-3.0.8/src/libical/icaltimezone.c:2129:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(s_ical_tzid_prefix, new_prefix, BUILTIN_TZID_PREFIX_LEN-1);
data/libical3-3.0.8/src/libical/icaltz-util.c:170:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    ret = strncpy(ret, str, size);
data/libical3-3.0.8/src/libical/icaltz-util.c:287:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size = strlen(zonedir) + strlen(location) + 2;
data/libical3-3.0.8/src/libical/icaltz-util.c:287: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).
    size = strlen(zonedir) + strlen(location) + 2;
data/libical3-3.0.8/src/libical/icaltz-util.c:337:28:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            trans_idx[i] = fgetc(f);
data/libical3-3.0.8/src/libical/icaltz-util.c:354:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = fgetc(f);
data/libical3-3.0.8/src/libical/icaltz-util.c:356:18:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if ((c = fgetc(f)) < 0) {
data/libical3-3.0.8/src/libical/icaltz-util.c:388:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        int c = getc(f);
data/libical3-3.0.8/src/libical/icaltz-util.c:397:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        int c = getc(f);
data/libical3-3.0.8/src/libical/icaltz-util.c:416:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size = strlen(icaltimezone_tzid_prefix()) + strlen(location) + 1;
data/libical3-3.0.8/src/libical/icaltz-util.c:416:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size = strlen(icaltimezone_tzid_prefix()) + strlen(location) + 1;
data/libical3-3.0.8/src/libical/icalvalue.c:172: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).
    char *out = (char *)malloc(sizeof(char) * strlen(str) + 1);
data/libical3-3.0.8/src/libical/icalvalue.c:266: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).
    buf_sz = strlen(unquoted_str) + 1;
data/libical3-3.0.8/src/libical/icalvalue.c:549: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).
            if (strlen(str) < 7) {
data/libical3-3.0.8/src/libical/icalvalue.c:919: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).
    str = (char *)icalmemory_new_buffer(strlen(data) + 1);
data/libical3-3.0.8/src/libical/icalvalue.c:951:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        str = icalmemory_new_buffer(strlen(url) + 1);
data/libical3-3.0.8/src/libical/icalvalue.c:958:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        str = icalmemory_new_buffer(strlen(data) + 1);
data/libical3-3.0.8/src/libical/icalvalue.c:985:13:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
            strncat(str, temp, 7);
data/libical3-3.0.8/src/libical/icalvalue.c:988:13:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
            strncat(str, temp, 6);
data/libical3-3.0.8/src/libical/icalvalue.c:1001:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
        strncat(str, temp, 8);
data/libical3-3.0.8/src/libical/icalvalue.c:1030:13:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
            strncat(str, "T", 19);
data/libical3-3.0.8/src/libical/icalvalue.c:1033:13:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
            strncat(str, temp, 19);
data/libical3-3.0.8/src/libical/icalvalue.c:1496: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).
    if ((int)strlen(ptr) >= nMaxBufferLen) {
data/libical3-3.0.8/src/libical/icalvalue.c:1519: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).
    buf_sz = strlen(szText) + 1;
data/libical3-3.0.8/src/libical/icalvalue.c:1540: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).
    if ((int)strlen(str) >= nMaxBufferLen) {
data/libical3-3.0.8/src/libical/sspm.c:157: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).
    p += strlen(parameter);
data/libical3-3.0.8/src/libical/sspm.c:175:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name, p, (size_t) s - (size_t) p);
data/libical3-3.0.8/src/libical/sspm.c:177:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name, p, sizeof(name) - 1);
data/libical3-3.0.8/src/libical/sspm.c:198:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name, line, (size_t) c - (size_t) line);
data/libical3-3.0.8/src/libical/sspm.c:225: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).
        s = c + strlen(line);
data/libical3-3.0.8/src/libical/sspm.c:428: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).
                    strlen(major_content_type_map[i].str)) == 0) {
data/libical3-3.0.8/src/libical/sspm.c:452:55:  [1] (buffer) strlen:
  Does not handle 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(p, minor_content_type_map[i].str, strlen(minor_content_type_map[i].str)) == 0) {
data/libical3-3.0.8/src/libical/sspm.c:646: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).
                assert(strlen(buf) < TMP_BUF_SIZE);
data/libical3-3.0.8/src/libical/sspm.c:648:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(header_lines[current_line], buf, TMP_BUF_SIZE);
data/libical3-3.0.8/src/libical/sspm.c:670:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if (last_line[strlen(last_line) - 1] == '\n') {
data/libical3-3.0.8/src/libical/sspm.c:671:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    last_line[strlen(last_line) - 1] = '\0';
data/libical3-3.0.8/src/libical/sspm.c:678: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).
                assert(strlen(buf_start) + strlen(last_line) < TMP_BUF_SIZE);
data/libical3-3.0.8/src/libical/sspm.c:678: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).
                assert(strlen(buf_start) + strlen(last_line) < TMP_BUF_SIZE);
data/libical3-3.0.8/src/libical/sspm.c:680:17:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
                strncat(last_line, buf_start, TMP_BUF_SIZE - strlen(last_line) - 1);
data/libical3-3.0.8/src/libical/sspm.c:680:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strncat(last_line, buf_start, TMP_BUF_SIZE - strlen(last_line) - 1);
data/libical3-3.0.8/src/libical/sspm.c:736: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).
                if ((boundary = (char *)malloc(strlen(line) + 5)) == 0) {
data/libical3-3.0.8/src/libical/sspm.c:774: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).
                if ((boundary = (char *)malloc(strlen(line) + 5)) == 0) {
data/libical3-3.0.8/src/libical/sspm.c:791: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 = strlen(line);
data/libical3-3.0.8/src/libical/sspm.c:893:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    if ((boundary = (char *)malloc(strlen(line) + 5)) == 0) {
data/libical3-3.0.8/src/libical/sspm.c:1241:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    string_length = strlen(string);
data/libical3-3.0.8/src/libical/sspm.c:1534: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).
    slen = strlen(buf.buffer);
data/libical3-3.0.8/src/libical/vcomponent_cxx.cpp:85: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).
    buf_sz = strlen(str) * 2; // assume worse case scenarios.
data/libical3-3.0.8/src/libicalss/icalbdbset.c:862: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).
            key.size = (u_int32_t) strlen(key.data);
data/libical3-3.0.8/src/libicalss/icalbdbset.c:866:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            data.size = (u_int32_t) strlen(str);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:67:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(path, impl->dir, MAXPATHLEN - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:68:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
    strncat(path, "/", MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:68:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strncat(path, "/", MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:69:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(path, BOOKED_DIR, MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:69: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).
    strncat(path, BOOKED_DIR, MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:174:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dir, impl->dir, MAXPATHLEN - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:175:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
    strncat(dir, "/", MAXPATHLEN - strlen(dir) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:175: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).
    strncat(dir, "/", MAXPATHLEN - strlen(dir) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:176:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(dir, BOOKED_DIR, MAXPATHLEN - strlen(dir) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:176: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).
    strncat(dir, BOOKED_DIR, MAXPATHLEN - strlen(dir) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:195:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(path, impl->dir, MAXPATHLEN - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:196:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
    strncat(path, "/", MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:196:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strncat(path, "/", MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:197:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(path, INCOMING_FILE, MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:197: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).
    strncat(path, INCOMING_FILE, MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:214:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(path, impl->dir, MAXPATHLEN - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:215:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
    strncat(path, "/", MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:215:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strncat(path, "/", MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:216:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(path, PROP_FILE, MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:216: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).
    strncat(path, PROP_FILE, MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:233:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(path, impl->dir, MAXPATHLEN - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:234:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
    strncat(path, "/", MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:234:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strncat(path, "/", MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:235:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(path, FBLIST_FILE, MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icalcalendar.c:235: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).
    strncat(path, FBLIST_FILE, MAXPATHLEN - strlen(path) - 1);
data/libical3-3.0.8/src/libicalss/icaldirset.c:318:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(uidstring, icalproperty_get_uid(uid), MAXPATHLEN - 1);
data/libical3-3.0.8/src/libicalss/icalfileset.c:160:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (read(set->fd, p, 1) != 1 || *p == '\n') {
data/libical3-3.0.8/src/libicalss/icalfileset.c:321:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p = result = malloc(strlen(s) * 5 + 1);
data/libical3-3.0.8/src/libicalss/icalfileset.c:397: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).
        sz = write(fset->fd, str, (IO_SIZE_T) strlen(str));
data/libical3-3.0.8/src/libicalss/icalfileset.c:398: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).
        if (sz != (IO_SSIZE_T) strlen(str)) {
data/libical3-3.0.8/src/libicalss/icalset.c:186: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).
    bufptr = buf + strlen(buf);
data/libical3-3.0.8/src/libicalss/icalsslexer.c:568: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).
    size_t n = minInt(max_size,strlen(input_buffer_p));
data/libical3-3.0.8/src/libicalss/icalsslexer.c:689:35:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                             (c = getc( ssin )) != EOF && c != '\n'; ++n ) \
data/libical3-3.0.8/src/libicalss/icalsslexer.c:1716: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).
        return ss_scan_bytes(yystr,(int)strlen(yystr) );
data/libical3-3.0.8/src/libicalss/icalssyacc.c:889: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).
#   define yystrlen strlen
data/libical3-3.0.8/src/libicalss/icalssyacc.c:1733: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).
    lenstr = strlen(value_str);
data/libical3-3.0.8/src/libicalvcal/icalvcal.c:385: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).
            if (*s && strlen(s) < 1000) {
data/libical3-3.0.8/src/libicalvcal/icalvcal.c:529: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).
                len = strlen(url) + 12;
data/libical3-3.0.8/src/libicalvcal/icalvcal.c:839:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(buffer, s, len);
data/libical3-3.0.8/src/libicalvcal/vcc.c:480: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).
                i = strlen(p1)+strlen(value)+2;
data/libical3-3.0.8/src/libicalvcal/vcc.c:480: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).
                i = strlen(p1)+strlen(value)+2;
data/libical3-3.0.8/src/libicalvcal/vcc.c:592:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        return (char)fgetc(lexBuf.inputFile);
data/libical3-3.0.8/src/libicalvcal/vobject.c:128: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 = strlen(s);
data/libical3-3.0.8/src/libicalvcal/vobject.c:1003: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).
    slen  = strlen(s);
data/libical3-3.0.8/src/libicalvcal/vobject.c:1091: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).
    slen  = strlen(s);
data/libical3-3.0.8/src/libicalvcal/vobject.c:1258:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buf1,NAME_OF(o),sizeof(buf1)-1);
data/libical3-3.0.8/src/libicalvcal/vobject.c:1262:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(buf2,STRINGZ_VALUE_OF(o),sizeof(buf2)-1);
data/libical3-3.0.8/src/libicalvcal/vobject.c:1264:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
        strncat(buf2,".",sizeof(buf2)-strlen(buf2)-1);
data/libical3-3.0.8/src/libicalvcal/vobject.c:1264:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        strncat(buf2,".",sizeof(buf2)-strlen(buf2)-1);
data/libical3-3.0.8/src/libicalvcal/vobject.c:1265:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
        strncat(buf2,buf1,sizeof(buf2)-strlen(buf2)-1);
data/libical3-3.0.8/src/libicalvcal/vobject.c:1265: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).
        strncat(buf2,buf1,sizeof(buf2)-strlen(buf2)-1);
data/libical3-3.0.8/src/libicalvcal/vobject.c:1420: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(ps)+1;
data/libical3-3.0.8/src/test/regression-storage.c:465: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).
        vcalendar_size = strlen(vcalendar);
data/libical3-3.0.8/src/test/regression-storage.c:468: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).
        vcalendar_size = strlen(vcalendar);
data/libical3-3.0.8/src/test/regression-storage.c:472: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).
        title_size = strlen(title);
data/libical3-3.0.8/src/test/regression-storage.c:475: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).
        title_size = strlen(title);
data/libical3-3.0.8/src/test/regression-storage.c:528: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).
    skey->size = (u_int32_t) strlen(skey->data);
data/libical3-3.0.8/src/test/regression.c:2056:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
        strncat(vevent_list, s, sizeof(vevent_list) - strlen(vevent_list) - 1);
data/libical3-3.0.8/src/test/regression.c:2056:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        strncat(vevent_list, s, sizeof(vevent_list) - strlen(vevent_list) - 1);
data/libical3-3.0.8/src/test/regression.c:3226:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(us);
data/libical3-3.0.8/src/test/regression.c:4383: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(strcomp_fmt) + strlen(icaltimezone_get_tzid(zone)) + 2;
data/libical3-3.0.8/src/test/regression.c:4383:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(strcomp_fmt) + strlen(icaltimezone_get_tzid(zone)) + 2;
data/libical3-3.0.8/src/test/stow.c:154:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        strlen(to) +
data/libical3-3.0.8/src/test/stow.c:155:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        strlen(from) + strlen(subject) + strlen(text_message) + strlen(ical_message) + TMPSIZE;
data/libical3-3.0.8/src/test/stow.c:155: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).
        strlen(from) + strlen(subject) + strlen(text_message) + strlen(ical_message) + TMPSIZE;
data/libical3-3.0.8/src/test/stow.c:155: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).
        strlen(from) + strlen(subject) + strlen(text_message) + strlen(ical_message) + TMPSIZE;
data/libical3-3.0.8/src/test/stow.c:155: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).
        strlen(from) + strlen(subject) + strlen(text_message) + strlen(ical_message) + TMPSIZE;
data/libical3-3.0.8/src/test/testmime.c:212:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                size += strlen(temp);
data/libical3-3.0.8/src/test/testmime.c:268: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).
            size = strlen(str);
data/libical3-3.0.8/src/test/testmime.c:285: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).
            size = strlen(str);
data/libical3-3.0.8/src/test/timezones.c:72:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
        strncat(new_tz, "TZ=", 255);
data/libical3-3.0.8/src/test/timezones.c:73:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
        strncat(new_tz, zone_location, 255 - strlen(new_tz));
data/libical3-3.0.8/src/test/timezones.c:73: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).
        strncat(new_tz, zone_location, 255 - strlen(new_tz));

ANALYSIS SUMMARY:

Hits = 630
Lines analyzed = 70196 in approximately 2.96 seconds (23708 lines/second)
Physical Source Lines of Code (SLOC) = 45016
Hits@level = [0] 580 [1] 326 [2] 236 [3]  11 [4]  57 [5]   0
Hits@level+ = [0+] 1210 [1+] 630 [2+] 304 [3+]  68 [4+]  57 [5+]   0
Hits/KSLOC@level+ = [0+] 26.8793 [1+] 13.995 [2+] 6.75315 [3+] 1.51057 [4+] 1.26622 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.