| 1 |
Flawfinder version 1.31, (C) 2001-2014 David A. Wheeler. |
| 2 |
Number of rules (primarily dangerous function names) in C/C++ ruleset: 169 |
| 3 |
./docs/examples/asiohiper.cpp:78: [4] (shell) system: |
| 4 |
This causes a new program to execute and is difficult to use safely |
| 5 |
(CWE-78). try using a library call that implements the same functionality |
| 6 |
if available. |
| 7 |
./docs/examples/asiohiper.cpp:97: [4] (shell) system: |
| 8 |
This causes a new program to execute and is difficult to use safely |
| 9 |
(CWE-78). try using a library call that implements the same functionality |
| 10 |
if available. |
| 11 |
./docs/examples/asiohiper.cpp:199: [4] (shell) system: |
| 12 |
This causes a new program to execute and is difficult to use safely |
| 13 |
(CWE-78). try using a library call that implements the same functionality |
| 14 |
if available. |
| 15 |
./docs/examples/asiohiper.cpp:359: [4] (shell) system: |
| 16 |
This causes a new program to execute and is difficult to use safely |
| 17 |
(CWE-78). try using a library call that implements the same functionality |
| 18 |
if available. |
| 19 |
./docs/examples/cookie_interface.c:92: [4] (format) snprintf: |
| 20 |
If format strings can be influenced by an attacker, they can be exploited, |
| 21 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 22 |
a constant for the format specification. |
| 23 |
./docs/examples/cookie_interface.c:92: [4] (format) _snprintf: |
| 24 |
If format strings can be influenced by an attacker, they can be exploited, |
| 25 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 26 |
a constant for the format specification. |
| 27 |
./docs/examples/evhiperfifo.c:76: [4] (format) printf: |
| 28 |
If format strings can be influenced by an attacker, they can be exploited |
| 29 |
(CWE-134). Use a constant for the format specification. |
| 30 |
./docs/examples/htmltidy.c:56: [4] (format) printf: |
| 31 |
If format strings can be influenced by an attacker, they can be exploited |
| 32 |
(CWE-134). Use a constant for the format specification. |
| 33 |
./docs/examples/rtsp.c:170: [4] (buffer) sscanf: |
| 34 |
The scanf() family's %s operation, without a limit specification, permits |
| 35 |
buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a |
| 36 |
differen input function. |
| 37 |
./docs/examples/synctime.c:155: [4] (buffer) sscanf: |
| 38 |
The scanf() family's %s operation, without a limit specification, permits |
| 39 |
buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a |
| 40 |
different input function. |
| 41 |
./lib/curl_ntlm_core.c:717: [4] (format) snprintf: |
| 42 |
If format strings can be influenced by an attacker, they can be exploited, |
| 43 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 44 |
a constant for the format specification. |
| 45 |
./lib/curl_ntlm_wb.c:180: [4] (race) access: |
| 46 |
This usually indicates a security flaw. If an attacker can change anything |
| 47 |
along the path between the call to access() and the file's actual use |
| 48 |
(e.g., by moving files), the attacker can exploit the race condition |
| 49 |
(CWE-362/CWE-367). Set up the correct permissions (e.g., using setuid()) |
| 50 |
and try to open the file directly. |
| 51 |
./lib/curl_ntlm_wb.c:225: [4] (shell) execl: |
| 52 |
This causes a new program to execute and is difficult to use safely |
| 53 |
(CWE-78). try using a library call that implements the same functionality |
| 54 |
if available. |
| 55 |
./lib/curl_ntlm_wb.c:232: [4] (shell) execl: |
| 56 |
This causes a new program to execute and is difficult to use safely |
| 57 |
(CWE-78). try using a library call that implements the same functionality |
| 58 |
if available. |
| 59 |
./lib/curl_printf.h:32: [4] (format) printf: |
| 60 |
If format strings can be influenced by an attacker, they can be exploited |
| 61 |
(CWE-134). Use a constant for the format specification. |
| 62 |
./lib/curl_printf.h:33: [4] (format) fprintf: |
| 63 |
If format strings can be influenced by an attacker, they can be exploited |
| 64 |
(CWE-134). Use a constant for the format specification. |
| 65 |
./lib/curl_printf.h:34: [4] (format) snprintf: |
| 66 |
If format strings can be influenced by an attacker, they can be exploited, |
| 67 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 68 |
a constant for the format specification. |
| 69 |
./lib/curl_printf.h:35: [4] (format) vprintf: |
| 70 |
If format strings can be influenced by an attacker, they can be exploited |
| 71 |
(CWE-134). Use a constant for the format specification. |
| 72 |
./lib/curl_printf.h:36: [4] (format) vfprintf: |
| 73 |
If format strings can be influenced by an attacker, they can be exploited |
| 74 |
(CWE-134). Use a constant for the format specification. |
| 75 |
./lib/curl_printf.h:37: [4] (format) vsnprintf: |
| 76 |
If format strings can be influenced by an attacker, they can be exploited, |
| 77 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 78 |
a constant for the format specification. |
| 79 |
./lib/curl_printf.h:40: [4] (format) printf: |
| 80 |
If format strings can be influenced by an attacker, they can be exploited |
| 81 |
(CWE-134). Use a constant for the format specification. |
| 82 |
./lib/curl_printf.h:41: [4] (format) fprintf: |
| 83 |
If format strings can be influenced by an attacker, they can be exploited |
| 84 |
(CWE-134). Use a constant for the format specification. |
| 85 |
./lib/curl_printf.h:42: [4] (format) snprintf: |
| 86 |
If format strings can be influenced by an attacker, they can be exploited, |
| 87 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 88 |
a constant for the format specification. |
| 89 |
./lib/curl_printf.h:43: [4] (format) vprintf: |
| 90 |
If format strings can be influenced by an attacker, they can be exploited |
| 91 |
(CWE-134). Use a constant for the format specification. |
| 92 |
./lib/curl_printf.h:44: [4] (format) vfprintf: |
| 93 |
If format strings can be influenced by an attacker, they can be exploited |
| 94 |
(CWE-134). Use a constant for the format specification. |
| 95 |
./lib/curl_printf.h:45: [4] (format) vsnprintf: |
| 96 |
If format strings can be influenced by an attacker, they can be exploited, |
| 97 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 98 |
a constant for the format specification. |
| 99 |
./lib/curl_printf.h:51: [4] (buffer) sprintf: |
| 100 |
Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or |
| 101 |
vsnprintf. |
| 102 |
./lib/curl_printf.h:52: [4] (buffer) vsprintf: |
| 103 |
Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or |
| 104 |
vsnprintf. |
| 105 |
./lib/curl_printf.h:53: [4] (buffer) sprintf: |
| 106 |
Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or |
| 107 |
vsnprintf. |
| 108 |
./lib/curl_printf.h:54: [4] (buffer) vsprintf: |
| 109 |
Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or |
| 110 |
vsnprintf. |
| 111 |
./lib/curlx.h:91: [4] (format) printf: |
| 112 |
If format strings can be influenced by an attacker, they can be exploited |
| 113 |
(CWE-134). Use a constant for the format specification. |
| 114 |
./lib/curlx.h:92: [4] (format) fprintf: |
| 115 |
If format strings can be influenced by an attacker, they can be exploited |
| 116 |
(CWE-134). Use a constant for the format specification. |
| 117 |
./lib/curlx.h:93: [4] (buffer) sprintf: |
| 118 |
Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or |
| 119 |
vsnprintf. |
| 120 |
./lib/curlx.h:94: [4] (format) snprintf: |
| 121 |
If format strings can be influenced by an attacker, they can be exploited, |
| 122 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 123 |
a constant for the format specification. |
| 124 |
./lib/curlx.h:95: [4] (format) vprintf: |
| 125 |
If format strings can be influenced by an attacker, they can be exploited |
| 126 |
(CWE-134). Use a constant for the format specification. |
| 127 |
./lib/curlx.h:96: [4] (format) vfprintf: |
| 128 |
If format strings can be influenced by an attacker, they can be exploited |
| 129 |
(CWE-134). Use a constant for the format specification. |
| 130 |
./lib/curlx.h:97: [4] (buffer) vsprintf: |
| 131 |
Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or |
| 132 |
vsnprintf. |
| 133 |
./lib/curlx.h:98: [4] (format) vsnprintf: |
| 134 |
If format strings can be influenced by an attacker, they can be exploited, |
| 135 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 136 |
a constant for the format specification. |
| 137 |
./lib/curlx.h:102: [4] (format) printf: |
| 138 |
If format strings can be influenced by an attacker, they can be exploited |
| 139 |
(CWE-134). Use a constant for the format specification. |
| 140 |
./lib/curlx.h:103: [4] (format) fprintf: |
| 141 |
If format strings can be influenced by an attacker, they can be exploited |
| 142 |
(CWE-134). Use a constant for the format specification. |
| 143 |
./lib/curlx.h:104: [4] (buffer) sprintf: |
| 144 |
Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or |
| 145 |
vsnprintf. |
| 146 |
./lib/curlx.h:105: [4] (format) snprintf: |
| 147 |
If format strings can be influenced by an attacker, they can be exploited, |
| 148 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 149 |
a constant for the format specification. |
| 150 |
./lib/curlx.h:106: [4] (format) vprintf: |
| 151 |
If format strings can be influenced by an attacker, they can be exploited |
| 152 |
(CWE-134). Use a constant for the format specification. |
| 153 |
./lib/curlx.h:107: [4] (format) vfprintf: |
| 154 |
If format strings can be influenced by an attacker, they can be exploited |
| 155 |
(CWE-134). Use a constant for the format specification. |
| 156 |
./lib/curlx.h:108: [4] (buffer) vsprintf: |
| 157 |
Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or |
| 158 |
vsnprintf. |
| 159 |
./lib/curlx.h:109: [4] (format) vsnprintf: |
| 160 |
If format strings can be influenced by an attacker, they can be exploited, |
| 161 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 162 |
a constant for the format specification. |
| 163 |
./lib/ftp.c:1056: [4] (buffer) strcpy: |
| 164 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 165 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 166 |
misused). |
| 167 |
./lib/ftp.c:1066: [4] (buffer) strcpy: |
| 168 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 169 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 170 |
misused). |
| 171 |
./lib/inet_ntop.c:69: [4] (buffer) strcpy: |
| 172 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 173 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 174 |
misused). |
| 175 |
./lib/inet_ntop.c:166: [4] (buffer) strcpy: |
| 176 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 177 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 178 |
misused). |
| 179 |
./lib/ldap.c:698: [4] (format) vfprintf: |
| 180 |
If format strings can be influenced by an attacker, they can be exploited |
| 181 |
(CWE-134). Use a constant for the format specification. |
| 182 |
./lib/memdebug.c:476: [4] (format) vsnprintf: |
| 183 |
If format strings can be influenced by an attacker, they can be exploited, |
| 184 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 185 |
a constant for the format specification. |
| 186 |
./lib/mprintf.c:957: [4] (buffer) sprintf: |
| 187 |
Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or |
| 188 |
vsnprintf. |
| 189 |
./lib/progress.c:43: [4] (format) snprintf: |
| 190 |
If format strings can be influenced by an attacker, they can be exploited, |
| 191 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 192 |
a constant for the format specification. |
| 193 |
./lib/progress.c:71: [4] (format) snprintf: |
| 194 |
If format strings can be influenced by an attacker, they can be exploited, |
| 195 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 196 |
a constant for the format specification. |
| 197 |
./lib/security.c:123: [4] (format) vsnprintf: |
| 198 |
If format strings can be influenced by an attacker, they can be exploited, |
| 199 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 200 |
a constant for the format specification. |
| 201 |
./lib/security.c:406: [4] (buffer) strcpy: |
| 202 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 203 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 204 |
misused). |
| 205 |
./lib/sendf.c:230: [4] (format) vsnprintf: |
| 206 |
If format strings can be influenced by an attacker, they can be exploited, |
| 207 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 208 |
a constant for the format specification. |
| 209 |
./lib/sendf.c:247: [4] (format) vsnprintf: |
| 210 |
If format strings can be influenced by an attacker, they can be exploited, |
| 211 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 212 |
a constant for the format specification. |
| 213 |
./lib/smb.c:121: [4] (buffer) strcpy: |
| 214 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 215 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 216 |
misused). |
| 217 |
./lib/smb.c:126: [4] (buffer) strcpy: |
| 218 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 219 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 220 |
misused). |
| 221 |
./lib/smb.c:527: [4] (buffer) strcpy: |
| 222 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 223 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 224 |
misused). |
| 225 |
./lib/smb.h:167: [4] (race) access: |
| 226 |
This usually indicates a security flaw. If an attacker can change anything |
| 227 |
along the path between the call to access() and the file's actual use |
| 228 |
(e.g., by moving files), the attacker can exploit the race condition |
| 229 |
(CWE-362/CWE-367). Set up the correct permissions (e.g., using setuid()) |
| 230 |
and try to open the file directly. |
| 231 |
./lib/socks.c:238: [4] (buffer) strcpy: |
| 232 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 233 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 234 |
misused). |
| 235 |
./lib/socks_gssapi.c:68: [4] (buffer) strcpy: |
| 236 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 237 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 238 |
misused). |
| 239 |
./lib/socks_gssapi.c:89: [4] (buffer) strcpy: |
| 240 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 241 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 242 |
misused). |
| 243 |
./lib/ssh.c:829: [4] (race) access: |
| 244 |
This usually indicates a security flaw. If an attacker can change anything |
| 245 |
along the path between the call to access() and the file's actual use |
| 246 |
(e.g., by moving files), the attacker can exploit the race condition |
| 247 |
(CWE-362/CWE-367). Set up the correct permissions (e.g., using setuid()) |
| 248 |
and try to open the file directly. |
| 249 |
./lib/ssh.c:834: [4] (race) access: |
| 250 |
This usually indicates a security flaw. If an attacker can change anything |
| 251 |
along the path between the call to access() and the file's actual use |
| 252 |
(e.g., by moving files), the attacker can exploit the race condition |
| 253 |
(CWE-362/CWE-367). Set up the correct permissions (e.g., using setuid()) |
| 254 |
and try to open the file directly. |
| 255 |
./lib/ssh.c:842: [4] (race) access: |
| 256 |
This usually indicates a security flaw. If an attacker can change anything |
| 257 |
along the path between the call to access() and the file's actual use |
| 258 |
(e.g., by moving files), the attacker can exploit the race condition |
| 259 |
(CWE-362/CWE-367). Set up the correct permissions (e.g., using setuid()) |
| 260 |
and try to open the file directly. |
| 261 |
./lib/ssh.c:845: [4] (race) access: |
| 262 |
This usually indicates a security flaw. If an attacker can change anything |
| 263 |
along the path between the call to access() and the file's actual use |
| 264 |
(e.g., by moving files), the attacker can exploit the race condition |
| 265 |
(CWE-362/CWE-367). Set up the correct permissions (e.g., using setuid()) |
| 266 |
and try to open the file directly. |
| 267 |
./lib/system_win32.c:310: [4] (buffer) _tcscpy: |
| 268 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 269 |
Consider using a function version that stops copying at the end of the |
| 270 |
buffer. |
| 271 |
./lib/system_win32.c:311: [4] (buffer) _tcscpy: |
| 272 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 273 |
Consider using a function version that stops copying at the end of the |
| 274 |
buffer. |
| 275 |
./lib/tftp.c:411: [4] (buffer) strcpy: |
| 276 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 277 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 278 |
misused). |
| 279 |
./lib/tftp.c:502: [4] (format) snprintf: |
| 280 |
If format strings can be influenced by an attacker, they can be exploited, |
| 281 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 282 |
a constant for the format specification. |
| 283 |
./lib/vauth/krb5_sspi.c:411: [4] (buffer) strcpy: |
| 284 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 285 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 286 |
misused). |
| 287 |
./lib/vauth/ntlm.c:402: [4] (format) snprintf: |
| 288 |
If format strings can be influenced by an attacker, they can be exploited, |
| 289 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 290 |
a constant for the format specification. |
| 291 |
./lib/vauth/ntlm.c:674: [4] (format) snprintf: |
| 292 |
If format strings can be influenced by an attacker, they can be exploited, |
| 293 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 294 |
a constant for the format specification. |
| 295 |
./lib/version.c:88: [4] (buffer) strcpy: |
| 296 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 297 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 298 |
misused). |
| 299 |
./lib/vtls/cyassl.c:368: [4] (buffer) strcpy: |
| 300 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 301 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 302 |
misused). |
| 303 |
./lib/vtls/cyassl.c:373: [4] (buffer) strcpy: |
| 304 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 305 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 306 |
misused). |
| 307 |
./lib/vtls/gskit.c:359: [4] (buffer) strcpy: |
| 308 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 309 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 310 |
misused). |
| 311 |
./lib/vtls/gskit.c:409: [4] (buffer) strcpy: |
| 312 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 313 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 314 |
misused). |
| 315 |
./lib/vtls/openssl.c:3238: [4] (format) snprintf: |
| 316 |
If format strings can be influenced by an attacker, they can be exploited, |
| 317 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 318 |
a constant for the format specification. |
| 319 |
./packages/OS400/os400sys.c:1129: [4] (buffer) strcpy: |
| 320 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 321 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 322 |
misused). |
| 323 |
./packages/OS400/os400sys.c:1161: [4] (buffer) strcpy: |
| 324 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 325 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 326 |
misused). |
| 327 |
./packages/OS400/os400sys.c:1193: [4] (buffer) strcpy: |
| 328 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 329 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 330 |
misused). |
| 331 |
./src/tool_cb_prg.c:94: [4] (format) fprintf: |
| 332 |
If format strings can be influenced by an attacker, they can be exploited |
| 333 |
(CWE-134). Use a constant for the format specification. |
| 334 |
./src/tool_dirhie.c:138: [4] (buffer) strcpy: |
| 335 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 336 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 337 |
misused). |
| 338 |
./src/tool_dirhie.c:142: [4] (race) access: |
| 339 |
This usually indicates a security flaw. If an attacker can change anything |
| 340 |
along the path between the call to access() and the file's actual use |
| 341 |
(e.g., by moving files), the attacker can exploit the race condition |
| 342 |
(CWE-362/CWE-367). Set up the correct permissions (e.g., using setuid()) |
| 343 |
and try to open the file directly. |
| 344 |
./src/tool_getparam.c:1251: [4] (buffer) strcpy: |
| 345 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 346 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 347 |
misused). |
| 348 |
./src/tool_help.c:338: [4] (format) printf: |
| 349 |
If format strings can be influenced by an attacker, they can be exploited |
| 350 |
(CWE-134). Use a constant for the format specification. |
| 351 |
./src/tool_main.c:103: [4] (buffer) strcpy: |
| 352 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 353 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 354 |
misused). |
| 355 |
./src/tool_msgs.c:47: [4] (format) vsnprintf: |
| 356 |
If format strings can be influenced by an attacker, they can be exploited, |
| 357 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 358 |
a constant for the format specification. |
| 359 |
./src/tool_msgs.c:112: [4] (format) vfprintf: |
| 360 |
If format strings can be influenced by an attacker, they can be exploited |
| 361 |
(CWE-134). Use a constant for the format specification. |
| 362 |
./src/tool_paramhlp.c:82: [4] (buffer) strcpy: |
| 363 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 364 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 365 |
misused). |
| 366 |
./src/tool_parsecfg.c:351: [4] (buffer) strcpy: |
| 367 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 368 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 369 |
misused). |
| 370 |
./src/tool_setopt.c:553: [4] (format) snprintf: |
| 371 |
If format strings can be influenced by an attacker, they can be exploited, |
| 372 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 373 |
a constant for the format specification. |
| 374 |
./src/tool_writeout.c:315: [4] (format) fprintf: |
| 375 |
If format strings can be influenced by an attacker, they can be exploited |
| 376 |
(CWE-134). Use a constant for the format specification. |
| 377 |
./tests/libtest/first.c:97: [4] (buffer) strcpy: |
| 378 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 379 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 380 |
misused). |
| 381 |
./tests/libtest/lib1900.c:66: [4] (buffer) fscanf: |
| 382 |
The scanf() family's %s operation, without a limit specification, permits |
| 383 |
buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a |
| 384 |
different input function. |
| 385 |
./tests/libtest/lib1900.c:73: [4] (buffer) fscanf: |
| 386 |
The scanf() family's %s operation, without a limit specification, permits |
| 387 |
buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a |
| 388 |
different input function. |
| 389 |
./tests/libtest/lib518.c:137: [4] (format) snprintf: |
| 390 |
If format strings can be influenced by an attacker, they can be exploited, |
| 391 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 392 |
a constant for the format specification. |
| 393 |
./tests/libtest/lib518.c:145: [4] (format) snprintf: |
| 394 |
If format strings can be influenced by an attacker, they can be exploited, |
| 395 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 396 |
a constant for the format specification. |
| 397 |
./tests/libtest/lib518.c:203: [4] (format) snprintf: |
| 398 |
If format strings can be influenced by an attacker, they can be exploited, |
| 399 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 400 |
a constant for the format specification. |
| 401 |
./tests/libtest/lib518.c:211: [4] (format) snprintf: |
| 402 |
If format strings can be influenced by an attacker, they can be exploited, |
| 403 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 404 |
a constant for the format specification. |
| 405 |
./tests/libtest/lib518.c:238: [4] (format) snprintf: |
| 406 |
If format strings can be influenced by an attacker, they can be exploited, |
| 407 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 408 |
a constant for the format specification. |
| 409 |
./tests/libtest/lib518.c:239: [4] (format) snprintf: |
| 410 |
If format strings can be influenced by an attacker, they can be exploited, |
| 411 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 412 |
a constant for the format specification. |
| 413 |
./tests/libtest/lib518.c:262: [4] (format) snprintf: |
| 414 |
If format strings can be influenced by an attacker, they can be exploited, |
| 415 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 416 |
a constant for the format specification. |
| 417 |
./tests/libtest/lib518.c:290: [4] (format) snprintf: |
| 418 |
If format strings can be influenced by an attacker, they can be exploited, |
| 419 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 420 |
a constant for the format specification. |
| 421 |
./tests/libtest/lib518.c:301: [4] (format) snprintf: |
| 422 |
If format strings can be influenced by an attacker, they can be exploited, |
| 423 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 424 |
a constant for the format specification. |
| 425 |
./tests/libtest/lib518.c:321: [4] (format) snprintf: |
| 426 |
If format strings can be influenced by an attacker, they can be exploited, |
| 427 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 428 |
a constant for the format specification. |
| 429 |
./tests/libtest/lib518.c:349: [4] (format) snprintf: |
| 430 |
If format strings can be influenced by an attacker, they can be exploited, |
| 431 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 432 |
a constant for the format specification. |
| 433 |
./tests/libtest/lib518.c:353: [4] (format) snprintf: |
| 434 |
If format strings can be influenced by an attacker, they can be exploited, |
| 435 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 436 |
a constant for the format specification. |
| 437 |
./tests/libtest/lib518.c:360: [4] (format) snprintf: |
| 438 |
If format strings can be influenced by an attacker, they can be exploited, |
| 439 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 440 |
a constant for the format specification. |
| 441 |
./tests/libtest/lib518.c:361: [4] (format) snprintf: |
| 442 |
If format strings can be influenced by an attacker, they can be exploited, |
| 443 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 444 |
a constant for the format specification. |
| 445 |
./tests/libtest/lib518.c:380: [4] (format) snprintf: |
| 446 |
If format strings can be influenced by an attacker, they can be exploited, |
| 447 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 448 |
a constant for the format specification. |
| 449 |
./tests/libtest/lib518.c:437: [4] (format) snprintf: |
| 450 |
If format strings can be influenced by an attacker, they can be exploited, |
| 451 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 452 |
a constant for the format specification. |
| 453 |
./tests/libtest/lib537.c:138: [4] (format) snprintf: |
| 454 |
If format strings can be influenced by an attacker, they can be exploited, |
| 455 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 456 |
a constant for the format specification. |
| 457 |
./tests/libtest/lib537.c:146: [4] (format) snprintf: |
| 458 |
If format strings can be influenced by an attacker, they can be exploited, |
| 459 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 460 |
a constant for the format specification. |
| 461 |
./tests/libtest/lib537.c:198: [4] (format) snprintf: |
| 462 |
If format strings can be influenced by an attacker, they can be exploited, |
| 463 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 464 |
a constant for the format specification. |
| 465 |
./tests/libtest/lib537.c:206: [4] (format) snprintf: |
| 466 |
If format strings can be influenced by an attacker, they can be exploited, |
| 467 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 468 |
a constant for the format specification. |
| 469 |
./tests/libtest/lib537.c:236: [4] (format) snprintf: |
| 470 |
If format strings can be influenced by an attacker, they can be exploited, |
| 471 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 472 |
a constant for the format specification. |
| 473 |
./tests/libtest/lib537.c:279: [4] (format) snprintf: |
| 474 |
If format strings can be influenced by an attacker, they can be exploited, |
| 475 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 476 |
a constant for the format specification. |
| 477 |
./tests/libtest/lib537.c:291: [4] (format) snprintf: |
| 478 |
If format strings can be influenced by an attacker, they can be exploited, |
| 479 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 480 |
a constant for the format specification. |
| 481 |
./tests/libtest/lib537.c:315: [4] (format) snprintf: |
| 482 |
If format strings can be influenced by an attacker, they can be exploited, |
| 483 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 484 |
a constant for the format specification. |
| 485 |
./tests/libtest/lib537.c:343: [4] (format) snprintf: |
| 486 |
If format strings can be influenced by an attacker, they can be exploited, |
| 487 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 488 |
a constant for the format specification. |
| 489 |
./tests/libtest/lib537.c:347: [4] (format) snprintf: |
| 490 |
If format strings can be influenced by an attacker, they can be exploited, |
| 491 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 492 |
a constant for the format specification. |
| 493 |
./tests/libtest/lib537.c:355: [4] (format) snprintf: |
| 494 |
If format strings can be influenced by an attacker, they can be exploited, |
| 495 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 496 |
a constant for the format specification. |
| 497 |
./tests/libtest/lib537.c:367: [4] (format) snprintf: |
| 498 |
If format strings can be influenced by an attacker, they can be exploited, |
| 499 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 500 |
a constant for the format specification. |
| 501 |
./tests/libtest/lib537.c:384: [4] (format) snprintf: |
| 502 |
If format strings can be influenced by an attacker, they can be exploited, |
| 503 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 504 |
a constant for the format specification. |
| 505 |
./tests/libtest/lib537.c:441: [4] (format) snprintf: |
| 506 |
If format strings can be influenced by an attacker, they can be exploited, |
| 507 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 508 |
a constant for the format specification. |
| 509 |
./tests/libtest/lib547.c:57: [4] (buffer) strcpy: |
| 510 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 511 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 512 |
misused). |
| 513 |
./tests/libtest/lib555.c:56: [4] (buffer) strcpy: |
| 514 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 515 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 516 |
misused). |
| 517 |
./tests/server/fake_ntlm.c:101: [4] (format) snprintf: |
| 518 |
If format strings can be influenced by an attacker, they can be exploited, |
| 519 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 520 |
a constant for the format specification. |
| 521 |
./tests/server/getpart.c:47: [4] (format) printf: |
| 522 |
If format strings can be influenced by an attacker, they can be exploited |
| 523 |
(CWE-134). Use a constant for the format specification. |
| 524 |
./tests/server/getpart.c:404: [4] (buffer) strcpy: |
| 525 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 526 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 527 |
misused). |
| 528 |
./tests/server/getpart.c:410: [4] (buffer) strcpy: |
| 529 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 530 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 531 |
misused). |
| 532 |
./tests/server/getpart.c:416: [4] (buffer) strcpy: |
| 533 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 534 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 535 |
misused). |
| 536 |
./tests/server/util.c:119: [4] (format) vsnprintf: |
| 537 |
If format strings can be influenced by an attacker, they can be exploited, |
| 538 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 539 |
a constant for the format specification. |
| 540 |
./tests/server/util.c:189: [4] (format) snprintf: |
| 541 |
If format strings can be influenced by an attacker, they can be exploited, |
| 542 |
and note that sprintf variations do not always \0-terminate (CWE-134). Use |
| 543 |
a constant for the format specification. |
| 544 |
./docs/examples/curlx.c:331: [3] (buffer) getenv: |
| 545 |
Environment variables are untrustable input if they can be set by an |
| 546 |
attacker. They can have any content and length, and the same variable can |
| 547 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 548 |
carefully before using them. |
| 549 |
./include/curl/curl.h:2050: [3] (buffer) curl_getenv: |
| 550 |
Environment variables are untrustable input if they can be set by an |
| 551 |
attacker. They can have any content and length, and the same variable can |
| 552 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 553 |
carefully before using them. |
| 554 |
./lib/config-dos.h:152: [3] (buffer) getenv: |
| 555 |
Environment variables are untrustable input if they can be set by an |
| 556 |
attacker. They can have any content and length, and the same variable can |
| 557 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 558 |
carefully before using them. |
| 559 |
./lib/curl_gethostname.c:67: [3] (buffer) getenv: |
| 560 |
Environment variables are untrustable input if they can be set by an |
| 561 |
attacker. They can have any content and length, and the same variable can |
| 562 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 563 |
carefully before using them. |
| 564 |
./lib/curl_ntlm_core.c:699: [3] (buffer) getenv: |
| 565 |
Environment variables are untrustable input if they can be set by an |
| 566 |
attacker. They can have any content and length, and the same variable can |
| 567 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 568 |
carefully before using them. |
| 569 |
./lib/curl_ntlm_wb.c:143: [3] (buffer) getenv: |
| 570 |
Environment variables are untrustable input if they can be set by an |
| 571 |
attacker. They can have any content and length, and the same variable can |
| 572 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 573 |
carefully before using them. |
| 574 |
./lib/curl_ntlm_wb.c:145: [3] (buffer) getenv: |
| 575 |
Environment variables are untrustable input if they can be set by an |
| 576 |
attacker. They can have any content and length, and the same variable can |
| 577 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 578 |
carefully before using them. |
| 579 |
./lib/curl_ntlm_wb.c:147: [3] (buffer) getenv: |
| 580 |
Environment variables are untrustable input if they can be set by an |
| 581 |
attacker. They can have any content and length, and the same variable can |
| 582 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 583 |
carefully before using them. |
| 584 |
./lib/curl_ntlm_wb.c:173: [3] (buffer) curl_getenv: |
| 585 |
Environment variables are untrustable input if they can be set by an |
| 586 |
attacker. They can have any content and length, and the same variable can |
| 587 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 588 |
carefully before using them. |
| 589 |
./lib/curl_setup.h:652: [3] (buffer) getenv: |
| 590 |
Environment variables are untrustable input if they can be set by an |
| 591 |
attacker. They can have any content and length, and the same variable can |
| 592 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 593 |
carefully before using them. |
| 594 |
./lib/curl_threads.h:42: [3] (misc) InitializeCriticalSection: |
| 595 |
Exceptions can be thrown in low-memory situations. Use |
| 596 |
InitializeCriticalSectionAndSpinCount instead. |
| 597 |
./lib/curl_threads.h:46: [3] (misc) EnterCriticalSection: |
| 598 |
On some versions of Windows, exceptions can be thrown in low-memory |
| 599 |
situations. Use InitializeCriticalSectionAndSpinCount instead. |
| 600 |
./lib/curlx.h:75: [3] (buffer) curl_getenv: |
| 601 |
Environment variables are untrustable input if they can be set by an |
| 602 |
attacker. They can have any content and length, and the same variable can |
| 603 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 604 |
carefully before using them. |
| 605 |
./lib/getenv.c:39: [3] (buffer) getenv: |
| 606 |
Environment variables are untrustable input if they can be set by an |
| 607 |
attacker. They can have any content and length, and the same variable can |
| 608 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 609 |
carefully before using them. |
| 610 |
./lib/getenv.c:45: [3] (buffer) getenv: |
| 611 |
Environment variables are untrustable input if they can be set by an |
| 612 |
attacker. They can have any content and length, and the same variable can |
| 613 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 614 |
carefully before using them. |
| 615 |
./lib/getenv.c:51: [3] (buffer) curl_getenv: |
| 616 |
Environment variables are untrustable input if they can be set by an |
| 617 |
attacker. They can have any content and length, and the same variable can |
| 618 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 619 |
carefully before using them. |
| 620 |
./lib/ldap.c:691: [3] (buffer) getenv: |
| 621 |
Environment variables are untrustable input if they can be set by an |
| 622 |
attacker. They can have any content and length, and the same variable can |
| 623 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 624 |
carefully before using them. |
| 625 |
./lib/netrc.c:72: [3] (buffer) curl_getenv: |
| 626 |
Environment variables are untrustable input if they can be set by an |
| 627 |
attacker. They can have any content and length, and the same variable can |
| 628 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 629 |
carefully before using them. |
| 630 |
./lib/rand.c:45: [3] (buffer) getenv: |
| 631 |
Environment variables are untrustable input if they can be set by an |
| 632 |
attacker. They can have any content and length, and the same variable can |
| 633 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 634 |
carefully before using them. |
| 635 |
./lib/setup-vms.h:37: [3] (buffer) getenv: |
| 636 |
Environment variables are untrustable input if they can be set by an |
| 637 |
attacker. They can have any content and length, and the same variable can |
| 638 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 639 |
carefully before using them. |
| 640 |
./lib/setup-vms.h:50: [3] (buffer) getenv: |
| 641 |
Environment variables are untrustable input if they can be set by an |
| 642 |
attacker. They can have any content and length, and the same variable can |
| 643 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 644 |
carefully before using them. |
| 645 |
./lib/setup-vms.h:52: [3] (buffer) getenv: |
| 646 |
Environment variables are untrustable input if they can be set by an |
| 647 |
attacker. They can have any content and length, and the same variable can |
| 648 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 649 |
carefully before using them. |
| 650 |
./lib/ssh.c:818: [3] (buffer) curl_getenv: |
| 651 |
Environment variables are untrustable input if they can be set by an |
| 652 |
attacker. They can have any content and length, and the same variable can |
| 653 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 654 |
carefully before using them. |
| 655 |
./lib/system_win32.c:291: [3] (misc) LoadLibrary: |
| 656 |
Ensure that the full path to the library is specified, or current directory |
| 657 |
may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to |
| 658 |
find library path, if you aren't already. |
| 659 |
./lib/system_win32.c:317: [3] (misc) LoadLibrary: |
| 660 |
Ensure that the full path to the library is specified, or current directory |
| 661 |
may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to |
| 662 |
find library path, if you aren't already. |
| 663 |
./lib/url.c:4819: [3] (buffer) curl_getenv: |
| 664 |
Environment variables are untrustable input if they can be set by an |
| 665 |
attacker. They can have any content and length, and the same variable can |
| 666 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 667 |
carefully before using them. |
| 668 |
./lib/url.c:4821: [3] (buffer) curl_getenv: |
| 669 |
Environment variables are untrustable input if they can be set by an |
| 670 |
attacker. They can have any content and length, and the same variable can |
| 671 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 672 |
carefully before using them. |
| 673 |
./lib/url.c:4837: [3] (buffer) curl_getenv: |
| 674 |
Environment variables are untrustable input if they can be set by an |
| 675 |
attacker. They can have any content and length, and the same variable can |
| 676 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 677 |
carefully before using them. |
| 678 |
./lib/url.c:4854: [3] (buffer) curl_getenv: |
| 679 |
Environment variables are untrustable input if they can be set by an |
| 680 |
attacker. They can have any content and length, and the same variable can |
| 681 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 682 |
carefully before using them. |
| 683 |
./lib/url.c:4860: [3] (buffer) curl_getenv: |
| 684 |
Environment variables are untrustable input if they can be set by an |
| 685 |
attacker. They can have any content and length, and the same variable can |
| 686 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 687 |
carefully before using them. |
| 688 |
./lib/url.c:4862: [3] (buffer) curl_getenv: |
| 689 |
Environment variables are untrustable input if they can be set by an |
| 690 |
attacker. They can have any content and length, and the same variable can |
| 691 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 692 |
carefully before using them. |
| 693 |
./lib/vtls/nss.c:1235: [3] (buffer) getenv: |
| 694 |
Environment variables are untrustable input if they can be set by an |
| 695 |
attacker. They can have any content and length, and the same variable can |
| 696 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 697 |
carefully before using them. |
| 698 |
./src/tool_homedir.c:57: [3] (buffer) getenv: |
| 699 |
Environment variables are untrustable input if they can be set by an |
| 700 |
attacker. They can have any content and length, and the same variable can |
| 701 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 702 |
carefully before using them. |
| 703 |
./src/tool_main.c:264: [3] (buffer) getenv: |
| 704 |
Environment variables are untrustable input if they can be set by an |
| 705 |
attacker. They can have any content and length, and the same variable can |
| 706 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 707 |
carefully before using them. |
| 708 |
./src/tool_vms.c:56: [3] (buffer) getenv: |
| 709 |
Environment variables are untrustable input if they can be set by an |
| 710 |
attacker. They can have any content and length, and the same variable can |
| 711 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 712 |
carefully before using them. |
| 713 |
./tests/libtest/first.c:91: [3] (buffer) curl_getenv: |
| 714 |
Environment variables are untrustable input if they can be set by an |
| 715 |
attacker. They can have any content and length, and the same variable can |
| 716 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 717 |
carefully before using them. |
| 718 |
./tests/libtest/first.c:105: [3] (buffer) curl_getenv: |
| 719 |
Environment variables are untrustable input if they can be set by an |
| 720 |
attacker. They can have any content and length, and the same variable can |
| 721 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 722 |
carefully before using them. |
| 723 |
./tests/libtest/sethostname.c:32: [3] (buffer) getenv: |
| 724 |
Environment variables are untrustable input if they can be set by an |
| 725 |
attacker. They can have any content and length, and the same variable can |
| 726 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 727 |
carefully before using them. |
| 728 |
./tests/server/fake_ntlm.c:165: [3] (buffer) getenv: |
| 729 |
Environment variables are untrustable input if they can be set by an |
| 730 |
attacker. They can have any content and length, and the same variable can |
| 731 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 732 |
carefully before using them. |
| 733 |
./tests/server/fake_ntlm.c:180: [3] (buffer) getenv: |
| 734 |
Environment variables are untrustable input if they can be set by an |
| 735 |
attacker. They can have any content and length, and the same variable can |
| 736 |
be set more than once (CWE-807, CWE-20). Check environment variables |
| 737 |
carefully before using them. |
| 738 |
./CMake/CurlTests.c:116: [2] (buffer) char: |
| 739 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 740 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 741 |
functions that limit length, or ensure that the size is larger than the |
| 742 |
maximum possible length. |
| 743 |
./CMake/CurlTests.c:512: [2] (buffer) char: |
| 744 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 745 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 746 |
functions that limit length, or ensure that the size is larger than the |
| 747 |
maximum possible length. |
| 748 |
./CMake/CurlTests.c:526: [2] (buffer) char: |
| 749 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 750 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 751 |
functions that limit length, or ensure that the size is larger than the |
| 752 |
maximum possible length. |
| 753 |
./docs/examples/anyauthput.c:137: [2] (misc) open: |
| 754 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 755 |
force the opening of special file type (e.g., device files), move things |
| 756 |
around to create a race condition, control its ancestors, or change its |
| 757 |
contents? (CWE-362). |
| 758 |
./docs/examples/asiohiper.cpp:75: [2] (buffer) char: |
| 759 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 760 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 761 |
functions that limit length, or ensure that the size is larger than the |
| 762 |
maximum possible length. |
| 763 |
./docs/examples/asiohiper.cpp:360: [2] (misc) open: |
| 764 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 765 |
force the opening of special file type (e.g., device files), move things |
| 766 |
around to create a race condition, control its ancestors, or change its |
| 767 |
contents? (CWE-362). |
| 768 |
./docs/examples/cookie_interface.c:71: [2] (buffer) char: |
| 769 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 770 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 771 |
functions that limit length, or ensure that the size is larger than the |
| 772 |
maximum possible length. |
| 773 |
./docs/examples/curlgtk.c:55: [2] (misc) fopen: |
| 774 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 775 |
force the opening of special file type (e.g., device files), move things |
| 776 |
around to create a race condition, control its ancestors, or change its |
| 777 |
contents? (CWE-362). |
| 778 |
./docs/examples/curlx.c:157: [2] (buffer) memcpy: |
| 779 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 780 |
Make sure destination can always hold the source data. |
| 781 |
./docs/examples/evhiperfifo.c:99: [2] (buffer) char: |
| 782 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 783 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 784 |
functions that limit length, or ensure that the size is larger than the |
| 785 |
maximum possible length. |
| 786 |
./docs/examples/evhiperfifo.c:373: [2] (buffer) char: |
| 787 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 788 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 789 |
functions that limit length, or ensure that the size is larger than the |
| 790 |
maximum possible length. |
| 791 |
./docs/examples/evhiperfifo.c:410: [2] (misc) open: |
| 792 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 793 |
force the opening of special file type (e.g., device files), move things |
| 794 |
around to create a race condition, control its ancestors, or change its |
| 795 |
contents? (CWE-362). |
| 796 |
./docs/examples/fileupload.c:39: [2] (misc) fopen: |
| 797 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 798 |
force the opening of special file type (e.g., device files), move things |
| 799 |
around to create a race condition, control its ancestors, or change its |
| 800 |
contents? (CWE-362). |
| 801 |
./docs/examples/fopen.c:121: [2] (buffer) memcpy: |
| 802 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 803 |
Make sure destination can always hold the source data. |
| 804 |
./docs/examples/fopen.c:246: [2] (misc) fopen: |
| 805 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 806 |
force the opening of special file type (e.g., device files), move things |
| 807 |
around to create a race condition, control its ancestors, or change its |
| 808 |
contents? (CWE-362). |
| 809 |
./docs/examples/fopen.c:358: [2] (buffer) memcpy: |
| 810 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 811 |
Make sure destination can always hold the source data. |
| 812 |
./docs/examples/fopen.c:406: [2] (buffer) memcpy: |
| 813 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 814 |
Make sure destination can always hold the source data. |
| 815 |
./docs/examples/fopen.c:462: [2] (buffer) char: |
| 816 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 817 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 818 |
functions that limit length, or ensure that the size is larger than the |
| 819 |
maximum possible length. |
| 820 |
./docs/examples/fopen.c:471: [2] (misc) fopen: |
| 821 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 822 |
force the opening of special file type (e.g., device files), move things |
| 823 |
around to create a race condition, control its ancestors, or change its |
| 824 |
contents? (CWE-362). |
| 825 |
./docs/examples/fopen.c:495: [2] (misc) fopen: |
| 826 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 827 |
force the opening of special file type (e.g., device files), move things |
| 828 |
around to create a race condition, control its ancestors, or change its |
| 829 |
contents? (CWE-362). |
| 830 |
./docs/examples/fopen.c:519: [2] (misc) fopen: |
| 831 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 832 |
force the opening of special file type (e.g., device files), move things |
| 833 |
around to create a race condition, control its ancestors, or change its |
| 834 |
contents? (CWE-362). |
| 835 |
./docs/examples/ftp-wildcard.c:122: [2] (misc) fopen: |
| 836 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 837 |
force the opening of special file type (e.g., device files), move things |
| 838 |
around to create a race condition, control its ancestors, or change its |
| 839 |
contents? (CWE-362). |
| 840 |
./docs/examples/ftpget.c:41: [2] (misc) fopen: |
| 841 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 842 |
force the opening of special file type (e.g., device files), move things |
| 843 |
around to create a race condition, control its ancestors, or change its |
| 844 |
contents? (CWE-362). |
| 845 |
./docs/examples/ftpgetresp.c:49: [2] (misc) fopen: |
| 846 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 847 |
force the opening of special file type (e.g., device files), move things |
| 848 |
around to create a race condition, control its ancestors, or change its |
| 849 |
contents? (CWE-362). |
| 850 |
./docs/examples/ftpgetresp.c:52: [2] (misc) fopen: |
| 851 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 852 |
force the opening of special file type (e.g., device files), move things |
| 853 |
around to create a race condition, control its ancestors, or change its |
| 854 |
contents? (CWE-362). |
| 855 |
./docs/examples/ftpsget.c:43: [2] (misc) fopen: |
| 856 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 857 |
force the opening of special file type (e.g., device files), move things |
| 858 |
around to create a race condition, control its ancestors, or change its |
| 859 |
contents? (CWE-362). |
| 860 |
./docs/examples/ftpupload.c:88: [2] (misc) fopen: |
| 861 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 862 |
force the opening of special file type (e.g., device files), move things |
| 863 |
around to create a race condition, control its ancestors, or change its |
| 864 |
contents? (CWE-362). |
| 865 |
./docs/examples/ftpuploadresume.c:88: [2] (misc) fopen: |
| 866 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 867 |
force the opening of special file type (e.g., device files), move things |
| 868 |
around to create a race condition, control its ancestors, or change its |
| 869 |
contents? (CWE-362). |
| 870 |
./docs/examples/getinmemory.c:52: [2] (buffer) memcpy: |
| 871 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 872 |
Make sure destination can always hold the source data. |
| 873 |
./docs/examples/ghiper.c:82: [2] (buffer) char: |
| 874 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 875 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 876 |
functions that limit length, or ensure that the size is larger than the |
| 877 |
maximum possible length. |
| 878 |
./docs/examples/ghiper.c:393: [2] (misc) open: |
| 879 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 880 |
force the opening of special file type (e.g., device files), move things |
| 881 |
around to create a race condition, control its ancestors, or change its |
| 882 |
contents? (CWE-362). |
| 883 |
./docs/examples/hiperfifo.c:95: [2] (buffer) char: |
| 884 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 885 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 886 |
functions that limit length, or ensure that the size is larger than the |
| 887 |
maximum possible length. |
| 888 |
./docs/examples/hiperfifo.c:353: [2] (buffer) char: |
| 889 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 890 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 891 |
functions that limit length, or ensure that the size is larger than the |
| 892 |
maximum possible length. |
| 893 |
./docs/examples/hiperfifo.c:392: [2] (misc) open: |
| 894 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 895 |
force the opening of special file type (e.g., device files), move things |
| 896 |
around to create a race condition, control its ancestors, or change its |
| 897 |
contents? (CWE-362). |
| 898 |
./docs/examples/href_extractor.c:42: [2] (buffer) char: |
| 899 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 900 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 901 |
functions that limit length, or ensure that the size is larger than the |
| 902 |
maximum possible length. |
| 903 |
./docs/examples/href_extractor.c:55: [2] (buffer) char: |
| 904 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 905 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 906 |
functions that limit length, or ensure that the size is larger than the |
| 907 |
maximum possible length. |
| 908 |
./docs/examples/htmltidy.c:78: [2] (buffer) char: |
| 909 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 910 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 911 |
functions that limit length, or ensure that the size is larger than the |
| 912 |
maximum possible length. |
| 913 |
./docs/examples/htmltitle.cpp:65: [2] (buffer) char: |
| 914 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 915 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 916 |
functions that limit length, or ensure that the size is larger than the |
| 917 |
maximum possible length. |
| 918 |
./docs/examples/http2-download.c:150: [2] (buffer) char: |
| 919 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 920 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 921 |
functions that limit length, or ensure that the size is larger than the |
| 922 |
maximum possible length. |
| 923 |
./docs/examples/http2-download.c:154: [2] (misc) fopen: |
| 924 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 925 |
force the opening of special file type (e.g., device files), move things |
| 926 |
around to create a race condition, control its ancestors, or change its |
| 927 |
contents? (CWE-362). |
| 928 |
./docs/examples/http2-download.c:193: [2] (integer) atoi: |
| 929 |
Unless checked, the resulting number can exceed the expected range |
| 930 |
(CWE-190). If source untrusted, check both minimum and maximum, even if the |
| 931 |
input had no minus sign (large numbers can roll over into negative number; |
| 932 |
consider saving to an unsigned value if that is intended). |
| 933 |
./docs/examples/http2-serverpush.c:130: [2] (misc) fopen: |
| 934 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 935 |
force the opening of special file type (e.g., device files), move things |
| 936 |
around to create a race condition, control its ancestors, or change its |
| 937 |
contents? (CWE-362). |
| 938 |
./docs/examples/http2-serverpush.c:166: [2] (buffer) char: |
| 939 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 940 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 941 |
functions that limit length, or ensure that the size is larger than the |
| 942 |
maximum possible length. |
| 943 |
./docs/examples/http2-serverpush.c:175: [2] (misc) fopen: |
| 944 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 945 |
force the opening of special file type (e.g., device files), move things |
| 946 |
around to create a race condition, control its ancestors, or change its |
| 947 |
contents? (CWE-362). |
| 948 |
./docs/examples/http2-upload.c:114: [2] (buffer) char: |
| 949 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 950 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 951 |
functions that limit length, or ensure that the size is larger than the |
| 952 |
maximum possible length. |
| 953 |
./docs/examples/http2-upload.c:185: [2] (buffer) char: |
| 954 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 955 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 956 |
functions that limit length, or ensure that the size is larger than the |
| 957 |
maximum possible length. |
| 958 |
./docs/examples/http2-upload.c:186: [2] (buffer) char: |
| 959 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 960 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 961 |
functions that limit length, or ensure that the size is larger than the |
| 962 |
maximum possible length. |
| 963 |
./docs/examples/http2-upload.c:191: [2] (misc) fopen: |
| 964 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 965 |
force the opening of special file type (e.g., device files), move things |
| 966 |
around to create a race condition, control its ancestors, or change its |
| 967 |
contents? (CWE-362). |
| 968 |
./docs/examples/http2-upload.c:199: [2] (misc) fopen: |
| 969 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 970 |
force the opening of special file type (e.g., device files), move things |
| 971 |
around to create a race condition, control its ancestors, or change its |
| 972 |
contents? (CWE-362). |
| 973 |
./docs/examples/http2-upload.c:250: [2] (integer) atoi: |
| 974 |
Unless checked, the resulting number can exceed the expected range |
| 975 |
(CWE-190). If source untrusted, check both minimum and maximum, even if the |
| 976 |
input had no minus sign (large numbers can roll over into negative number; |
| 977 |
consider saving to an unsigned value if that is intended). |
| 978 |
./docs/examples/httpput.c:81: [2] (misc) fopen: |
| 979 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 980 |
force the opening of special file type (e.g., device files), move things |
| 981 |
around to create a race condition, control its ancestors, or change its |
| 982 |
contents? (CWE-362). |
| 983 |
./docs/examples/imap-append.c:75: [2] (buffer) memcpy: |
| 984 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 985 |
Make sure destination can always hold the source data. |
| 986 |
./docs/examples/multi-uv.c:76: [2] (buffer) char: |
| 987 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 988 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 989 |
functions that limit length, or ensure that the size is larger than the |
| 990 |
maximum possible length. |
| 991 |
./docs/examples/multi-uv.c:82: [2] (misc) fopen: |
| 992 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 993 |
force the opening of special file type (e.g., device files), move things |
| 994 |
around to create a race condition, control its ancestors, or change its |
| 995 |
contents? (CWE-362). |
| 996 |
./docs/examples/multithread.c:42: [2] (buffer) char: |
| 997 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 998 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 999 |
functions that limit length, or ensure that the size is larger than the |
| 1000 |
maximum possible length. |
| 1001 |
./docs/examples/postinmemory.c:49: [2] (buffer) memcpy: |
| 1002 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1003 |
Make sure destination can always hold the source data. |
| 1004 |
./docs/examples/rtsp.c:92: [2] (misc) fopen: |
| 1005 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1006 |
force the opening of special file type (e.g., device files), move things |
| 1007 |
around to create a race condition, control its ancestors, or change its |
| 1008 |
contents? (CWE-362). |
| 1009 |
./docs/examples/rtsp.c:150: [2] (buffer) strcpy: |
| 1010 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1011 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 1012 |
misused). Risk is low because the source is a constant string. |
| 1013 |
./docs/examples/rtsp.c:166: [2] (misc) fopen: |
| 1014 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1015 |
force the opening of special file type (e.g., device files), move things |
| 1016 |
around to create a race condition, control its ancestors, or change its |
| 1017 |
contents? (CWE-362). |
| 1018 |
./docs/examples/sendrecv.c:130: [2] (buffer) char: |
| 1019 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1020 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1021 |
functions that limit length, or ensure that the size is larger than the |
| 1022 |
maximum possible length. |
| 1023 |
./docs/examples/sepheaders.c:61: [2] (misc) fopen: |
| 1024 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1025 |
force the opening of special file type (e.g., device files), move things |
| 1026 |
around to create a race condition, control its ancestors, or change its |
| 1027 |
contents? (CWE-362). |
| 1028 |
./docs/examples/sepheaders.c:68: [2] (misc) fopen: |
| 1029 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1030 |
force the opening of special file type (e.g., device files), move things |
| 1031 |
around to create a race condition, control its ancestors, or change its |
| 1032 |
contents? (CWE-362). |
| 1033 |
./docs/examples/sftpget.c:52: [2] (misc) fopen: |
| 1034 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1035 |
force the opening of special file type (e.g., device files), move things |
| 1036 |
around to create a race condition, control its ancestors, or change its |
| 1037 |
contents? (CWE-362). |
| 1038 |
./docs/examples/simplessl.c:74: [2] (misc) fopen: |
| 1039 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1040 |
force the opening of special file type (e.g., device files), move things |
| 1041 |
around to create a race condition, control its ancestors, or change its |
| 1042 |
contents? (CWE-362). |
| 1043 |
./docs/examples/smooth-gtk-thread.c:89: [2] (misc) fopen: |
| 1044 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1045 |
force the opening of special file type (e.g., device files), move things |
| 1046 |
around to create a race condition, control its ancestors, or change its |
| 1047 |
contents? (CWE-362). |
| 1048 |
./docs/examples/smtp-mail.c:76: [2] (buffer) memcpy: |
| 1049 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1050 |
Make sure destination can always hold the source data. |
| 1051 |
./docs/examples/smtp-multi.c:77: [2] (buffer) memcpy: |
| 1052 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1053 |
Make sure destination can always hold the source data. |
| 1054 |
./docs/examples/smtp-ssl.c:77: [2] (buffer) memcpy: |
| 1055 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1056 |
Make sure destination can always hold the source data. |
| 1057 |
./docs/examples/smtp-tls.c:77: [2] (buffer) memcpy: |
| 1058 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1059 |
Make sure destination can always hold the source data. |
| 1060 |
./docs/examples/synctime.c:103: [2] (buffer) char: |
| 1061 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1062 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1063 |
functions that limit length, or ensure that the size is larger than the |
| 1064 |
maximum possible length. |
| 1065 |
./docs/examples/synctime.c:104: [2] (buffer) char: |
| 1066 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1067 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1068 |
functions that limit length, or ensure that the size is larger than the |
| 1069 |
maximum possible length. |
| 1070 |
./docs/examples/synctime.c:105: [2] (buffer) char: |
| 1071 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1072 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1073 |
functions that limit length, or ensure that the size is larger than the |
| 1074 |
maximum possible length. |
| 1075 |
./docs/examples/synctime.c:108: [2] (buffer) char: |
| 1076 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1077 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1078 |
functions that limit length, or ensure that the size is larger than the |
| 1079 |
maximum possible length. |
| 1080 |
./docs/examples/synctime.c:139: [2] (buffer) char: |
| 1081 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1082 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1083 |
functions that limit length, or ensure that the size is larger than the |
| 1084 |
maximum possible length. |
| 1085 |
./docs/examples/synctime.c:210: [2] (misc) fopen: |
| 1086 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1087 |
force the opening of special file type (e.g., device files), move things |
| 1088 |
around to create a race condition, control its ancestors, or change its |
| 1089 |
contents? (CWE-362). |
| 1090 |
./docs/examples/synctime.c:264: [2] (buffer) char: |
| 1091 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1092 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1093 |
functions that limit length, or ensure that the size is larger than the |
| 1094 |
maximum possible length. |
| 1095 |
./docs/examples/synctime.c:265: [2] (buffer) char: |
| 1096 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1097 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1098 |
functions that limit length, or ensure that the size is larger than the |
| 1099 |
maximum possible length. |
| 1100 |
./docs/examples/url2file.c:67: [2] (misc) fopen: |
| 1101 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1102 |
force the opening of special file type (e.g., device files), move things |
| 1103 |
around to create a race condition, control its ancestors, or change its |
| 1104 |
contents? (CWE-362). |
| 1105 |
./docs/examples/xmlstream.c:80: [2] (buffer) memcpy: |
| 1106 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1107 |
Make sure destination can always hold the source data. |
| 1108 |
./include/curl/curlrules.h:141: [2] (buffer) char: |
| 1109 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1110 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1111 |
functions that limit length, or ensure that the size is larger than the |
| 1112 |
maximum possible length. |
| 1113 |
./include/curl/curlrules.h:151: [2] (buffer) char: |
| 1114 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1115 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1116 |
functions that limit length, or ensure that the size is larger than the |
| 1117 |
maximum possible length. |
| 1118 |
./include/curl/curlrules.h:161: [2] (buffer) char: |
| 1119 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1120 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1121 |
functions that limit length, or ensure that the size is larger than the |
| 1122 |
maximum possible length. |
| 1123 |
./include/curl/curlrules.h:171: [2] (buffer) char: |
| 1124 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1125 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1126 |
functions that limit length, or ensure that the size is larger than the |
| 1127 |
maximum possible length. |
| 1128 |
./include/curl/curlrules.h:181: [2] (buffer) char: |
| 1129 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1130 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1131 |
functions that limit length, or ensure that the size is larger than the |
| 1132 |
maximum possible length. |
| 1133 |
./lib/asyn-ares.c:670: [2] (buffer) char: |
| 1134 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1135 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1136 |
functions that limit length, or ensure that the size is larger than the |
| 1137 |
maximum possible length. |
| 1138 |
./lib/asyn-thread.c:270: [2] (buffer) char: |
| 1139 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1140 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1141 |
functions that limit length, or ensure that the size is larger than the |
| 1142 |
maximum possible length. |
| 1143 |
./lib/asyn-thread.c:600: [2] (buffer) char: |
| 1144 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1145 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1146 |
functions that limit length, or ensure that the size is larger than the |
| 1147 |
maximum possible length. |
| 1148 |
./lib/base64.c:177: [2] (buffer) char: |
| 1149 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1150 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1151 |
functions that limit length, or ensure that the size is larger than the |
| 1152 |
maximum possible length. |
| 1153 |
./lib/base64.c:178: [2] (buffer) char: |
| 1154 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1155 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1156 |
functions that limit length, or ensure that the size is larger than the |
| 1157 |
maximum possible length. |
| 1158 |
./lib/connect.c:270: [2] (buffer) char: |
| 1159 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1160 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1161 |
functions that limit length, or ensure that the size is larger than the |
| 1162 |
maximum possible length. |
| 1163 |
./lib/connect.c:394: [2] (integer) atoi: |
| 1164 |
Unless checked, the resulting number can exceed the expected range |
| 1165 |
(CWE-190). If source untrusted, check both minimum and maximum, even if the |
| 1166 |
input had no minus sign (large numbers can roll over into negative number; |
| 1167 |
consider saving to an unsigned value if that is intended). |
| 1168 |
./lib/connect.c:602: [2] (buffer) memcpy: |
| 1169 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1170 |
Make sure destination can always hold the source data. |
| 1171 |
./lib/connect.c:603: [2] (buffer) memcpy: |
| 1172 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1173 |
Make sure destination can always hold the source data. |
| 1174 |
./lib/connect.c:701: [2] (buffer) memcpy: |
| 1175 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1176 |
Make sure destination can always hold the source data. |
| 1177 |
./lib/connect.c:828: [2] (buffer) char: |
| 1178 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1179 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1180 |
functions that limit length, or ensure that the size is larger than the |
| 1181 |
maximum possible length. |
| 1182 |
./lib/connect.c:995: [2] (buffer) char: |
| 1183 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1184 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1185 |
functions that limit length, or ensure that the size is larger than the |
| 1186 |
maximum possible length. |
| 1187 |
./lib/connect.c:1350: [2] (buffer) memcpy: |
| 1188 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1189 |
Make sure destination can always hold the source data. |
| 1190 |
./lib/content_encoding.c:357: [2] (buffer) memcpy: |
| 1191 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1192 |
Make sure destination can always hold the source data. |
| 1193 |
./lib/content_encoding.c:380: [2] (buffer) memcpy: |
| 1194 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1195 |
Make sure destination can always hold the source data. |
| 1196 |
./lib/cookie.c:378: [2] (buffer) char: |
| 1197 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1198 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1199 |
functions that limit length, or ensure that the size is larger than the |
| 1200 |
maximum possible length. |
| 1201 |
./lib/cookie.c:636: [2] (buffer) memcpy: |
| 1202 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1203 |
Make sure destination can always hold the source data. |
| 1204 |
./lib/cookie.c:979: [2] (misc) fopen: |
| 1205 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1206 |
force the opening of special file type (e.g., device files), move things |
| 1207 |
around to create a race condition, control its ancestors, or change its |
| 1208 |
contents? (CWE-362). |
| 1209 |
./lib/cookie.c:1347: [2] (misc) fopen: |
| 1210 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1211 |
force the opening of special file type (e.g., device files), move things |
| 1212 |
around to create a race condition, control its ancestors, or change its |
| 1213 |
contents? (CWE-362). |
| 1214 |
./lib/curl_addrinfo.c:173: [2] (buffer) memcpy: |
| 1215 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1216 |
Make sure destination can always hold the source data. |
| 1217 |
./lib/curl_addrinfo.c:338: [2] (buffer) memcpy: |
| 1218 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1219 |
Make sure destination can always hold the source data. |
| 1220 |
./lib/curl_addrinfo.c:347: [2] (buffer) memcpy: |
| 1221 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1222 |
Make sure destination can always hold the source data. |
| 1223 |
./lib/curl_addrinfo.c:374: [2] (buffer) char: |
| 1224 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1225 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1226 |
functions that limit length, or ensure that the size is larger than the |
| 1227 |
maximum possible length. |
| 1228 |
./lib/curl_addrinfo.c:421: [2] (buffer) memcpy: |
| 1229 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1230 |
Make sure destination can always hold the source data. |
| 1231 |
./lib/curl_addrinfo.c:427: [2] (buffer) memcpy: |
| 1232 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1233 |
Make sure destination can always hold the source data. |
| 1234 |
./lib/curl_addrinfo.c:515: [2] (buffer) memcpy: |
| 1235 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1236 |
Make sure destination can always hold the source data. |
| 1237 |
./lib/curl_fnmatch.c:74: [2] (buffer) char: |
| 1238 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1239 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1240 |
functions that limit length, or ensure that the size is larger than the |
| 1241 |
maximum possible length. |
| 1242 |
./lib/curl_fnmatch.c:316: [2] (buffer) char: |
| 1243 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1244 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1245 |
functions that limit length, or ensure that the size is larger than the |
| 1246 |
maximum possible length. |
| 1247 |
./lib/curl_gssapi.c:120: [2] (buffer) char: |
| 1248 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1249 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1250 |
functions that limit length, or ensure that the size is larger than the |
| 1251 |
maximum possible length. |
| 1252 |
./lib/curl_multibyte.c:45: [2] (buffer) MultiByteToWideChar: |
| 1253 |
Requires maximum length in CHARACTERS, not bytes (CWE-120). |
| 1254 |
./lib/curl_multibyte.c:50: [2] (buffer) MultiByteToWideChar: |
| 1255 |
Requires maximum length in CHARACTERS, not bytes (CWE-120). |
| 1256 |
./lib/curl_ntlm_core.c:164: [2] (buffer) char: |
| 1257 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1258 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1259 |
functions that limit length, or ensure that the size is larger than the |
| 1260 |
maximum possible length. |
| 1261 |
./lib/curl_ntlm_core.c:184: [2] (buffer) char: |
| 1262 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1263 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1264 |
functions that limit length, or ensure that the size is larger than the |
| 1265 |
maximum possible length. |
| 1266 |
./lib/curl_ntlm_core.c:202: [2] (buffer) char: |
| 1267 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1268 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1269 |
functions that limit length, or ensure that the size is larger than the |
| 1270 |
maximum possible length. |
| 1271 |
./lib/curl_ntlm_core.c:228: [2] (buffer) char: |
| 1272 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1273 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1274 |
functions that limit length, or ensure that the size is larger than the |
| 1275 |
maximum possible length. |
| 1276 |
./lib/curl_ntlm_core.c:286: [2] (buffer) char: |
| 1277 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1278 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1279 |
functions that limit length, or ensure that the size is larger than the |
| 1280 |
maximum possible length. |
| 1281 |
./lib/curl_ntlm_core.c:309: [2] (buffer) char: |
| 1282 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1283 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1284 |
functions that limit length, or ensure that the size is larger than the |
| 1285 |
maximum possible length. |
| 1286 |
./lib/curl_ntlm_core.c:338: [2] (buffer) char: |
| 1287 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1288 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1289 |
functions that limit length, or ensure that the size is larger than the |
| 1290 |
maximum possible length. |
| 1291 |
./lib/curl_ntlm_core.c:367: [2] (buffer) memcpy: |
| 1292 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1293 |
Make sure destination can always hold the source data. |
| 1294 |
./lib/curl_ntlm_core.c:444: [2] (buffer) char: |
| 1295 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1296 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1297 |
functions that limit length, or ensure that the size is larger than the |
| 1298 |
maximum possible length. |
| 1299 |
./lib/curl_ntlm_core.c:569: [2] (buffer) memcpy: |
| 1300 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1301 |
Make sure destination can always hold the source data. |
| 1302 |
./lib/curl_ntlm_core.c:688: [2] (buffer) char: |
| 1303 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1304 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1305 |
functions that limit length, or ensure that the size is larger than the |
| 1306 |
maximum possible length. |
| 1307 |
./lib/curl_ntlm_core.c:723: [2] (buffer) memcpy: |
| 1308 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1309 |
Make sure destination can always hold the source data. |
| 1310 |
./lib/curl_ntlm_core.c:724: [2] (buffer) memcpy: |
| 1311 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1312 |
Make sure destination can always hold the source data. |
| 1313 |
./lib/curl_ntlm_core.c:727: [2] (buffer) memcpy: |
| 1314 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1315 |
Make sure destination can always hold the source data. |
| 1316 |
./lib/curl_ntlm_core.c:736: [2] (buffer) memcpy: |
| 1317 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1318 |
Make sure destination can always hold the source data. |
| 1319 |
./lib/curl_ntlm_core.c:764: [2] (buffer) char: |
| 1320 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1321 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1322 |
functions that limit length, or ensure that the size is larger than the |
| 1323 |
maximum possible length. |
| 1324 |
./lib/curl_ntlm_core.c:765: [2] (buffer) char: |
| 1325 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1326 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1327 |
functions that limit length, or ensure that the size is larger than the |
| 1328 |
maximum possible length. |
| 1329 |
./lib/curl_ntlm_core.c:768: [2] (buffer) memcpy: |
| 1330 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1331 |
Make sure destination can always hold the source data. |
| 1332 |
./lib/curl_ntlm_core.c:769: [2] (buffer) memcpy: |
| 1333 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1334 |
Make sure destination can always hold the source data. |
| 1335 |
./lib/curl_ntlm_core.c:776: [2] (buffer) memcpy: |
| 1336 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1337 |
Make sure destination can always hold the source data. |
| 1338 |
./lib/curl_ntlm_core.c:777: [2] (buffer) memcpy: |
| 1339 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1340 |
Make sure destination can always hold the source data. |
| 1341 |
./lib/curl_ntlm_wb.c:124: [2] (buffer) char: |
| 1342 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1343 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1344 |
functions that limit length, or ensure that the size is larger than the |
| 1345 |
maximum possible length. |
| 1346 |
./lib/dotdot.c:174: [2] (buffer) memcpy: |
| 1347 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1348 |
Make sure destination can always hold the source data. |
| 1349 |
./lib/escape.c:168: [2] (buffer) char: |
| 1350 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1351 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1352 |
functions that limit length, or ensure that the size is larger than the |
| 1353 |
maximum possible length. |
| 1354 |
./lib/file.c:75: [2] (misc) open: |
| 1355 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1356 |
force the opening of special file type (e.g., device files), move things |
| 1357 |
around to create a race condition, control its ancestors, or change its |
| 1358 |
contents? (CWE-362). |
| 1359 |
./lib/file.c:77: [2] (misc) open: |
| 1360 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1361 |
force the opening of special file type (e.g., device files), move things |
| 1362 |
around to create a race condition, control its ancestors, or change its |
| 1363 |
contents? (CWE-362). |
| 1364 |
./lib/file.c:341: [2] (misc) open: |
| 1365 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1366 |
force the opening of special file type (e.g., device files), move things |
| 1367 |
around to create a race condition, control its ancestors, or change its |
| 1368 |
contents? (CWE-362). |
| 1369 |
./lib/formdata.c:768: [2] (buffer) char: |
| 1370 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1371 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1372 |
functions that limit length, or ensure that the size is larger than the |
| 1373 |
maximum possible length. |
| 1374 |
./lib/formdata.c:773: [2] (misc) fopen: |
| 1375 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1376 |
force the opening of special file type (e.g., device files), move things |
| 1377 |
around to create a race condition, control its ancestors, or change its |
| 1378 |
contents? (CWE-362). |
| 1379 |
./lib/formdata.c:856: [2] (buffer) memcpy: |
| 1380 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1381 |
Make sure destination can always hold the source data. |
| 1382 |
./lib/formdata.c:978: [2] (buffer) char: |
| 1383 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1384 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1385 |
functions that limit length, or ensure that the size is larger than the |
| 1386 |
maximum possible length. |
| 1387 |
./lib/formdata.c:1310: [2] (misc) fopen: |
| 1388 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1389 |
force the opening of special file type (e.g., device files), move things |
| 1390 |
around to create a race condition, control its ancestors, or change its |
| 1391 |
contents? (CWE-362). |
| 1392 |
./lib/formdata.c:1332: [2] (buffer) char: |
| 1393 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1394 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1395 |
functions that limit length, or ensure that the size is larger than the |
| 1396 |
maximum possible length. |
| 1397 |
./lib/formdata.c:1419: [2] (misc) fopen: |
| 1398 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1399 |
force the opening of special file type (e.g., device files), move things |
| 1400 |
around to create a race condition, control its ancestors, or change its |
| 1401 |
contents? (CWE-362). |
| 1402 |
./lib/formdata.c:1441: [2] (misc) fopen: |
| 1403 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1404 |
force the opening of special file type (e.g., device files), move things |
| 1405 |
around to create a race condition, control its ancestors, or change its |
| 1406 |
contents? (CWE-362). |
| 1407 |
./lib/formdata.c:1444: [2] (misc) fopen: |
| 1408 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1409 |
force the opening of special file type (e.g., device files), move things |
| 1410 |
around to create a race condition, control its ancestors, or change its |
| 1411 |
contents? (CWE-362). |
| 1412 |
./lib/formdata.c:1521: [2] (buffer) memcpy: |
| 1413 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1414 |
Make sure destination can always hold the source data. |
| 1415 |
./lib/formdata.c:1529: [2] (buffer) memcpy: |
| 1416 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1417 |
Make sure destination can always hold the source data. |
| 1418 |
./lib/ftp.c:985: [2] (buffer) char: |
| 1419 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1420 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1421 |
functions that limit length, or ensure that the size is larger than the |
| 1422 |
maximum possible length. |
| 1423 |
./lib/ftp.c:990: [2] (buffer) char: |
| 1424 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1425 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1426 |
functions that limit length, or ensure that the size is larger than the |
| 1427 |
maximum possible length. |
| 1428 |
./lib/ftp.c:996: [2] (buffer) char: |
| 1429 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1430 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1431 |
functions that limit length, or ensure that the size is larger than the |
| 1432 |
maximum possible length. |
| 1433 |
./lib/ftp.c:1179: [2] (buffer) memcpy: |
| 1434 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1435 |
Make sure destination can always hold the source data. |
| 1436 |
./lib/ftp.c:1892: [2] (buffer) char: |
| 1437 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1438 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1439 |
functions that limit length, or ensure that the size is larger than the |
| 1440 |
maximum possible length. |
| 1441 |
./lib/ftp.c:2355: [2] (buffer) char: |
| 1442 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1443 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1444 |
functions that limit length, or ensure that the size is larger than the |
| 1445 |
maximum possible length. |
| 1446 |
./lib/ftp.c:3503: [2] (buffer) char: |
| 1447 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1448 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1449 |
functions that limit length, or ensure that the size is larger than the |
| 1450 |
maximum possible length. |
| 1451 |
./lib/ftp.c:4037: [2] (buffer) char: |
| 1452 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1453 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1454 |
functions that limit length, or ensure that the size is larger than the |
| 1455 |
maximum possible length. |
| 1456 |
./lib/ftp.c:4049: [2] (buffer) strcpy: |
| 1457 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1458 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 1459 |
misused). Risk is low because the source is a constant string. |
| 1460 |
./lib/getenv.c:38: [2] (buffer) char: |
| 1461 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1462 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1463 |
functions that limit length, or ensure that the size is larger than the |
| 1464 |
maximum possible length. |
| 1465 |
./lib/hash.c:109: [2] (buffer) memcpy: |
| 1466 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1467 |
Make sure destination can always hold the source data. |
| 1468 |
./lib/hostip.c:780: [2] (buffer) char: |
| 1469 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1470 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1471 |
functions that limit length, or ensure that the size is larger than the |
| 1472 |
maximum possible length. |
| 1473 |
./lib/hostip.c:781: [2] (buffer) char: |
| 1474 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1475 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1476 |
functions that limit length, or ensure that the size is larger than the |
| 1477 |
maximum possible length. |
| 1478 |
./lib/hostip4.c:140: [2] (buffer) char: |
| 1479 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1480 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1481 |
functions that limit length, or ensure that the size is larger than the |
| 1482 |
maximum possible length. |
| 1483 |
./lib/hostip6.c:137: [2] (buffer) char: |
| 1484 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1485 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1486 |
functions that limit length, or ensure that the size is larger than the |
| 1487 |
maximum possible length. |
| 1488 |
./lib/hostip6.c:168: [2] (buffer) char: |
| 1489 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1490 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1491 |
functions that limit length, or ensure that the size is larger than the |
| 1492 |
maximum possible length. |
| 1493 |
./lib/hostip6.c:171: [2] (buffer) char: |
| 1494 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1495 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1496 |
functions that limit length, or ensure that the size is larger than the |
| 1497 |
maximum possible length. |
| 1498 |
./lib/http.c:267: [2] (buffer) memcpy: |
| 1499 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1500 |
Make sure destination can always hold the source data. |
| 1501 |
./lib/http.c:1006: [2] (buffer) memcpy: |
| 1502 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1503 |
Make sure destination can always hold the source data. |
| 1504 |
./lib/http.c:1026: [2] (buffer) memcpy: |
| 1505 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1506 |
Make sure destination can always hold the source data. |
| 1507 |
./lib/http.c:1121: [2] (buffer) memcpy: |
| 1508 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1509 |
Make sure destination can always hold the source data. |
| 1510 |
./lib/http.c:1277: [2] (buffer) memcpy: |
| 1511 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1512 |
Make sure destination can always hold the source data. |
| 1513 |
./lib/http.c:1736: [2] (buffer) char: |
| 1514 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1515 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1516 |
functions that limit length, or ensure that the size is larger than the |
| 1517 |
maximum possible length. |
| 1518 |
./lib/http.c:2044: [2] (buffer) memcpy: |
| 1519 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1520 |
Make sure destination can always hold the source data. |
| 1521 |
./lib/http.c:2046: [2] (buffer) memcpy: |
| 1522 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1523 |
Make sure destination can always hold the source data. |
| 1524 |
./lib/http.c:2048: [2] (buffer) memcpy: |
| 1525 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1526 |
Make sure destination can always hold the source data. |
| 1527 |
./lib/http.c:2864: [2] (buffer) memcpy: |
| 1528 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1529 |
Make sure destination can always hold the source data. |
| 1530 |
./lib/http.c:3269: [2] (buffer) char: |
| 1531 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1532 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1533 |
functions that limit length, or ensure that the size is larger than the |
| 1534 |
maximum possible length. |
| 1535 |
./lib/http2.c:543: [2] (buffer) memcpy: |
| 1536 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1537 |
Make sure destination can always hold the source data. |
| 1538 |
./lib/http2.c:626: [2] (buffer) memcpy: |
| 1539 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1540 |
Make sure destination can always hold the source data. |
| 1541 |
./lib/http2.c:951: [2] (buffer) memcpy: |
| 1542 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1543 |
Make sure destination can always hold the source data. |
| 1544 |
./lib/http2.c:1287: [2] (buffer) memcpy: |
| 1545 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1546 |
Make sure destination can always hold the source data. |
| 1547 |
./lib/http2.c:1389: [2] (buffer) memcpy: |
| 1548 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1549 |
Make sure destination can always hold the source data. |
| 1550 |
./lib/http2.c:1425: [2] (buffer) memcpy: |
| 1551 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1552 |
Make sure destination can always hold the source data. |
| 1553 |
./lib/http2.c:1749: [2] (buffer) char: |
| 1554 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1555 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1556 |
functions that limit length, or ensure that the size is larger than the |
| 1557 |
maximum possible length. |
| 1558 |
./lib/http2.c:1771: [2] (buffer) char: |
| 1559 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1560 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1561 |
functions that limit length, or ensure that the size is larger than the |
| 1562 |
maximum possible length. |
| 1563 |
./lib/http2.c:1784: [2] (buffer) char: |
| 1564 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1565 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1566 |
functions that limit length, or ensure that the size is larger than the |
| 1567 |
maximum possible length. |
| 1568 |
./lib/http2.c:1789: [2] (buffer) char: |
| 1569 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1570 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1571 |
functions that limit length, or ensure that the size is larger than the |
| 1572 |
maximum possible length. |
| 1573 |
./lib/http2.c:1820: [2] (buffer) char: |
| 1574 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1575 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1576 |
functions that limit length, or ensure that the size is larger than the |
| 1577 |
maximum possible length. |
| 1578 |
./lib/http2.c:1831: [2] (buffer) char: |
| 1579 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1580 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1581 |
functions that limit length, or ensure that the size is larger than the |
| 1582 |
maximum possible length. |
| 1583 |
./lib/http2.c:2077: [2] (buffer) memcpy: |
| 1584 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1585 |
Make sure destination can always hold the source data. |
| 1586 |
./lib/http_chunks.h:83: [2] (buffer) char: |
| 1587 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1588 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1589 |
functions that limit length, or ensure that the size is larger than the |
| 1590 |
maximum possible length. |
| 1591 |
./lib/idn_win32.c:77: [2] (buffer) wchar_t: |
| 1592 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1593 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1594 |
functions that limit length, or ensure that the size is larger than the |
| 1595 |
maximum possible length. |
| 1596 |
./lib/idn_win32.c:97: [2] (buffer) wchar_t: |
| 1597 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1598 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1599 |
functions that limit length, or ensure that the size is larger than the |
| 1600 |
maximum possible length. |
| 1601 |
./lib/if2ip.c:138: [2] (buffer) char: |
| 1602 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1603 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1604 |
functions that limit length, or ensure that the size is larger than the |
| 1605 |
maximum possible length. |
| 1606 |
./lib/if2ip.c:139: [2] (buffer) char: |
| 1607 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1608 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1609 |
functions that limit length, or ensure that the size is larger than the |
| 1610 |
maximum possible length. |
| 1611 |
./lib/if2ip.c:200: [2] (buffer) char: |
| 1612 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1613 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1614 |
functions that limit length, or ensure that the size is larger than the |
| 1615 |
maximum possible length. |
| 1616 |
./lib/if2ip.c:231: [2] (buffer) memcpy: |
| 1617 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1618 |
Make sure destination can always hold the source data. |
| 1619 |
./lib/if2ip.c:243: [2] (buffer) memcpy: |
| 1620 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1621 |
Make sure destination can always hold the source data. |
| 1622 |
./lib/if2ip.h:53: [2] (buffer) char: |
| 1623 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1624 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1625 |
functions that limit length, or ensure that the size is larger than the |
| 1626 |
maximum possible length. |
| 1627 |
./lib/imap.c:1057: [2] (buffer) char: |
| 1628 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1629 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1630 |
functions that limit length, or ensure that the size is larger than the |
| 1631 |
maximum possible length. |
| 1632 |
./lib/imap.h:77: [2] (buffer) char: |
| 1633 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1634 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1635 |
functions that limit length, or ensure that the size is larger than the |
| 1636 |
maximum possible length. |
| 1637 |
./lib/inet_ntop.c:52: [2] (buffer) char: |
| 1638 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1639 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1640 |
functions that limit length, or ensure that the size is larger than the |
| 1641 |
maximum possible length. |
| 1642 |
./lib/inet_ntop.c:86: [2] (buffer) char: |
| 1643 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1644 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1645 |
functions that limit length, or ensure that the size is larger than the |
| 1646 |
maximum possible length. |
| 1647 |
./lib/inet_pton.c:97: [2] (buffer) char: |
| 1648 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1649 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1650 |
functions that limit length, or ensure that the size is larger than the |
| 1651 |
maximum possible length. |
| 1652 |
./lib/inet_pton.c:132: [2] (buffer) memcpy: |
| 1653 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1654 |
Make sure destination can always hold the source data. |
| 1655 |
./lib/inet_pton.c:155: [2] (buffer) char: |
| 1656 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1657 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1658 |
functions that limit length, or ensure that the size is larger than the |
| 1659 |
maximum possible length. |
| 1660 |
./lib/inet_pton.c:231: [2] (buffer) memcpy: |
| 1661 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1662 |
Make sure destination can always hold the source data. |
| 1663 |
./lib/krb5.c:91: [2] (buffer) strcpy: |
| 1664 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1665 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 1666 |
misused). Risk is low because the source is a constant string. |
| 1667 |
./lib/krb5.c:95: [2] (buffer) memcpy: |
| 1668 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1669 |
Make sure destination can always hold the source data. |
| 1670 |
./lib/krb5.c:139: [2] (buffer) memcpy: |
| 1671 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1672 |
Make sure destination can always hold the source data. |
| 1673 |
./lib/md4.c:57: [2] (buffer) char: |
| 1674 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1675 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1676 |
functions that limit length, or ensure that the size is larger than the |
| 1677 |
maximum possible length. |
| 1678 |
./lib/md4.c:227: [2] (buffer) memcpy: |
| 1679 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1680 |
Make sure destination can always hold the source data. |
| 1681 |
./lib/md4.c:231: [2] (buffer) memcpy: |
| 1682 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1683 |
Make sure destination can always hold the source data. |
| 1684 |
./lib/md4.c:242: [2] (buffer) memcpy: |
| 1685 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1686 |
Make sure destination can always hold the source data. |
| 1687 |
./lib/md5.c:54: [2] (buffer) char: |
| 1688 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1689 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1690 |
functions that limit length, or ensure that the size is larger than the |
| 1691 |
maximum possible length. |
| 1692 |
./lib/md5.c:80: [2] (buffer) char: |
| 1693 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1694 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1695 |
functions that limit length, or ensure that the size is larger than the |
| 1696 |
maximum possible length. |
| 1697 |
./lib/md5.c:82: [2] (buffer) memcpy: |
| 1698 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1699 |
Make sure destination can always hold the source data. |
| 1700 |
./lib/md5.c:122: [2] (buffer) char: |
| 1701 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1702 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1703 |
functions that limit length, or ensure that the size is larger than the |
| 1704 |
maximum possible length. |
| 1705 |
./lib/md5.c:154: [2] (buffer) char: |
| 1706 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1707 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1708 |
functions that limit length, or ensure that the size is larger than the |
| 1709 |
maximum possible length. |
| 1710 |
./lib/md5.c:224: [2] (buffer) char: |
| 1711 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1712 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1713 |
functions that limit length, or ensure that the size is larger than the |
| 1714 |
maximum possible length. |
| 1715 |
./lib/md5.c:416: [2] (buffer) memcpy: |
| 1716 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1717 |
Make sure destination can always hold the source data. |
| 1718 |
./lib/md5.c:420: [2] (buffer) memcpy: |
| 1719 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1720 |
Make sure destination can always hold the source data. |
| 1721 |
./lib/md5.c:431: [2] (buffer) memcpy: |
| 1722 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1723 |
Make sure destination can always hold the source data. |
| 1724 |
./lib/memdebug.c:117: [2] (misc) fopen: |
| 1725 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1726 |
force the opening of special file type (e.g., device files), move things |
| 1727 |
around to create a race condition, control its ancestors, or change its |
| 1728 |
contents? (CWE-362). |
| 1729 |
./lib/memdebug.c:235: [2] (buffer) memcpy: |
| 1730 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1731 |
Make sure destination can always hold the source data. |
| 1732 |
./lib/memdebug.c:260: [2] (buffer) memcpy: |
| 1733 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1734 |
Make sure destination can always hold the source data. |
| 1735 |
./lib/memdebug.c:421: [2] (misc) fopen: |
| 1736 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1737 |
force the opening of special file type (e.g., device files), move things |
| 1738 |
around to create a race condition, control its ancestors, or change its |
| 1739 |
contents? (CWE-362). |
| 1740 |
./lib/memdebug.h:146: [2] (misc) fopen: |
| 1741 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1742 |
force the opening of special file type (e.g., device files), move things |
| 1743 |
around to create a race condition, control its ancestors, or change its |
| 1744 |
contents? (CWE-362). |
| 1745 |
./lib/memdebug.h:147: [2] (misc) fopen: |
| 1746 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1747 |
force the opening of special file type (e.g., device files), move things |
| 1748 |
around to create a race condition, control its ancestors, or change its |
| 1749 |
contents? (CWE-362). |
| 1750 |
./lib/mprintf.c:583: [2] (buffer) char: |
| 1751 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1752 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1753 |
functions that limit length, or ensure that the size is larger than the |
| 1754 |
maximum possible length. |
| 1755 |
./lib/mprintf.c:586: [2] (buffer) char: |
| 1756 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1757 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1758 |
functions that limit length, or ensure that the size is larger than the |
| 1759 |
maximum possible length. |
| 1760 |
./lib/mprintf.c:891: [2] (buffer) char: |
| 1761 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1762 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1763 |
functions that limit length, or ensure that the size is larger than the |
| 1764 |
maximum possible length. |
| 1765 |
./lib/multi.c:2444: [2] (buffer) memcpy: |
| 1766 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1767 |
Make sure destination can always hold the source data. |
| 1768 |
./lib/multi.c:2523: [2] (buffer) memcpy: |
| 1769 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1770 |
Make sure destination can always hold the source data. |
| 1771 |
./lib/multi.c:2884: [2] (buffer) memcpy: |
| 1772 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1773 |
Make sure destination can always hold the source data. |
| 1774 |
./lib/netrc.c:79: [2] (buffer) char: |
| 1775 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1776 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1777 |
functions that limit length, or ensure that the size is larger than the |
| 1778 |
maximum possible length. |
| 1779 |
./lib/netrc.c:110: [2] (misc) fopen: |
| 1780 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1781 |
force the opening of special file type (e.g., device files), move things |
| 1782 |
around to create a race condition, control its ancestors, or change its |
| 1783 |
contents? (CWE-362). |
| 1784 |
./lib/netrc.c:117: [2] (buffer) char: |
| 1785 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1786 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1787 |
functions that limit length, or ensure that the size is larger than the |
| 1788 |
maximum possible length. |
| 1789 |
./lib/non-ascii.c:66: [2] (buffer) memcpy: |
| 1790 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1791 |
Make sure destination can always hold the source data. |
| 1792 |
./lib/openldap.c:193: [2] (buffer) char: |
| 1793 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1794 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1795 |
functions that limit length, or ensure that the size is larger than the |
| 1796 |
maximum possible length. |
| 1797 |
./lib/openldap.c:198: [2] (buffer) strcpy: |
| 1798 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1799 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 1800 |
misused). Risk is low because the source is a constant string. |
| 1801 |
./lib/parsedate.c:97: [2] (buffer) char: |
| 1802 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1803 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1804 |
functions that limit length, or ensure that the size is larger than the |
| 1805 |
maximum possible length. |
| 1806 |
./lib/parsedate.c:354: [2] (buffer) char: |
| 1807 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1808 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1809 |
functions that limit length, or ensure that the size is larger than the |
| 1810 |
maximum possible length. |
| 1811 |
./lib/parsedate.h:25: [2] (buffer) char: |
| 1812 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1813 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1814 |
functions that limit length, or ensure that the size is larger than the |
| 1815 |
maximum possible length. |
| 1816 |
./lib/parsedate.h:26: [2] (buffer) char: |
| 1817 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1818 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1819 |
functions that limit length, or ensure that the size is larger than the |
| 1820 |
maximum possible length. |
| 1821 |
./lib/pingpong.c:300: [2] (buffer) memcpy: |
| 1822 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1823 |
Make sure destination can always hold the source data. |
| 1824 |
./lib/pingpong.c:432: [2] (buffer) memcpy: |
| 1825 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1826 |
Make sure destination can always hold the source data. |
| 1827 |
./lib/pop3.c:461: [2] (buffer) char: |
| 1828 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1829 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1830 |
functions that limit length, or ensure that the size is larger than the |
| 1831 |
maximum possible length. |
| 1832 |
./lib/pop3.c:462: [2] (buffer) char: |
| 1833 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1834 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1835 |
functions that limit length, or ensure that the size is larger than the |
| 1836 |
maximum possible length. |
| 1837 |
./lib/pop3.c:684: [2] (buffer) memcpy: |
| 1838 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1839 |
Make sure destination can always hold the source data. |
| 1840 |
./lib/progress.c:36: [2] (buffer) strcpy: |
| 1841 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1842 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 1843 |
misused). Risk is low because the source is a constant string. |
| 1844 |
./lib/progress.c:342: [2] (buffer) char: |
| 1845 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1846 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1847 |
functions that limit length, or ensure that the size is larger than the |
| 1848 |
maximum possible length. |
| 1849 |
./lib/progress.c:353: [2] (buffer) char: |
| 1850 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1851 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1852 |
functions that limit length, or ensure that the size is larger than the |
| 1853 |
maximum possible length. |
| 1854 |
./lib/progress.c:354: [2] (buffer) char: |
| 1855 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1856 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1857 |
functions that limit length, or ensure that the size is larger than the |
| 1858 |
maximum possible length. |
| 1859 |
./lib/progress.c:355: [2] (buffer) char: |
| 1860 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1861 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1862 |
functions that limit length, or ensure that the size is larger than the |
| 1863 |
maximum possible length. |
| 1864 |
./lib/rand.c:51: [2] (buffer) memcpy: |
| 1865 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1866 |
Make sure destination can always hold the source data. |
| 1867 |
./lib/rand.c:73: [2] (misc) open: |
| 1868 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 1869 |
force the opening of special file type (e.g., device files), move things |
| 1870 |
around to create a race condition, control its ancestors, or change its |
| 1871 |
contents? (CWE-362). |
| 1872 |
./lib/rtsp.c:623: [2] (buffer) memcpy: |
| 1873 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1874 |
Make sure destination can always hold the source data. |
| 1875 |
./lib/rtsp.c:697: [2] (buffer) memcpy: |
| 1876 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1877 |
Make sure destination can always hold the source data. |
| 1878 |
./lib/rtsp.c:812: [2] (buffer) memcpy: |
| 1879 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1880 |
Make sure destination can always hold the source data. |
| 1881 |
./lib/security.c:120: [2] (buffer) char: |
| 1882 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1883 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1884 |
functions that limit length, or ensure that the size is larger than the |
| 1885 |
maximum possible length. |
| 1886 |
./lib/security.c:226: [2] (buffer) memcpy: |
| 1887 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1888 |
Make sure destination can always hold the source data. |
| 1889 |
./lib/sendf.c:190: [2] (buffer) memcpy: |
| 1890 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1891 |
Make sure destination can always hold the source data. |
| 1892 |
./lib/sendf.c:228: [2] (buffer) char: |
| 1893 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1894 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1895 |
functions that limit length, or ensure that the size is larger than the |
| 1896 |
maximum possible length. |
| 1897 |
./lib/sendf.c:481: [2] (buffer) memcpy: |
| 1898 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1899 |
Make sure destination can always hold the source data. |
| 1900 |
./lib/sendf.c:533: [2] (buffer) memcpy: |
| 1901 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1902 |
Make sure destination can always hold the source data. |
| 1903 |
./lib/sendf.c:699: [2] (buffer) memcpy: |
| 1904 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1905 |
Make sure destination can always hold the source data. |
| 1906 |
./lib/sendf.c:723: [2] (buffer) memcpy: |
| 1907 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1908 |
Make sure destination can always hold the source data. |
| 1909 |
./lib/sendf.c:737: [2] (buffer) char: |
| 1910 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1911 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1912 |
functions that limit length, or ensure that the size is larger than the |
| 1913 |
maximum possible length. |
| 1914 |
./lib/sendf.c:741: [2] (buffer) char: |
| 1915 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1916 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1917 |
functions that limit length, or ensure that the size is larger than the |
| 1918 |
maximum possible length. |
| 1919 |
./lib/sendf.c:753: [2] (buffer) memcpy: |
| 1920 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1921 |
Make sure destination can always hold the source data. |
| 1922 |
./lib/sendf.c:809: [2] (buffer) char: |
| 1923 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1924 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1925 |
functions that limit length, or ensure that the size is larger than the |
| 1926 |
maximum possible length. |
| 1927 |
./lib/smb.c:351: [2] (buffer) memcpy: |
| 1928 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1929 |
Make sure destination can always hold the source data. |
| 1930 |
./lib/smb.c:413: [2] (buffer) memcpy: |
| 1931 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1932 |
Make sure destination can always hold the source data. |
| 1933 |
./lib/smb.c:431: [2] (buffer) char: |
| 1934 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1935 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1936 |
functions that limit length, or ensure that the size is larger than the |
| 1937 |
maximum possible length. |
| 1938 |
./lib/smb.c:432: [2] (buffer) char: |
| 1939 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1940 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1941 |
functions that limit length, or ensure that the size is larger than the |
| 1942 |
maximum possible length. |
| 1943 |
./lib/smb.c:433: [2] (buffer) char: |
| 1944 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1945 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1946 |
functions that limit length, or ensure that the size is larger than the |
| 1947 |
maximum possible length. |
| 1948 |
./lib/smb.c:434: [2] (buffer) char: |
| 1949 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1950 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1951 |
functions that limit length, or ensure that the size is larger than the |
| 1952 |
maximum possible length. |
| 1953 |
./lib/smb.c:461: [2] (buffer) memcpy: |
| 1954 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1955 |
Make sure destination can always hold the source data. |
| 1956 |
./lib/smb.c:463: [2] (buffer) memcpy: |
| 1957 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1958 |
Make sure destination can always hold the source data. |
| 1959 |
./lib/smb.c:681: [2] (buffer) memcpy: |
| 1960 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 1961 |
Make sure destination can always hold the source data. |
| 1962 |
./lib/smb.h:37: [2] (buffer) char: |
| 1963 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1964 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1965 |
functions that limit length, or ensure that the size is larger than the |
| 1966 |
maximum possible length. |
| 1967 |
./lib/smb.h:98: [2] (buffer) char: |
| 1968 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1969 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1970 |
functions that limit length, or ensure that the size is larger than the |
| 1971 |
maximum possible length. |
| 1972 |
./lib/smb.h:104: [2] (buffer) char: |
| 1973 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1974 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1975 |
functions that limit length, or ensure that the size is larger than the |
| 1976 |
maximum possible length. |
| 1977 |
./lib/smb.h:128: [2] (buffer) char: |
| 1978 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1979 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1980 |
functions that limit length, or ensure that the size is larger than the |
| 1981 |
maximum possible length. |
| 1982 |
./lib/smb.h:148: [2] (buffer) char: |
| 1983 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1984 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1985 |
functions that limit length, or ensure that the size is larger than the |
| 1986 |
maximum possible length. |
| 1987 |
./lib/smb.h:157: [2] (buffer) char: |
| 1988 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1989 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1990 |
functions that limit length, or ensure that the size is larger than the |
| 1991 |
maximum possible length. |
| 1992 |
./lib/smb.h:180: [2] (buffer) char: |
| 1993 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1994 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 1995 |
functions that limit length, or ensure that the size is larger than the |
| 1996 |
maximum possible length. |
| 1997 |
./lib/smtp.c:1538: [2] (buffer) char: |
| 1998 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 1999 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2000 |
functions that limit length, or ensure that the size is larger than the |
| 2001 |
maximum possible length. |
| 2002 |
./lib/smtp.c:1618: [2] (buffer) memcpy: |
| 2003 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2004 |
Make sure destination can always hold the source data. |
| 2005 |
./lib/smtp.c:1636: [2] (buffer) memcpy: |
| 2006 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2007 |
Make sure destination can always hold the source data. |
| 2008 |
./lib/smtp.c:1648: [2] (buffer) memcpy: |
| 2009 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2010 |
Make sure destination can always hold the source data. |
| 2011 |
./lib/sockaddr.h:37: [2] (buffer) char: |
| 2012 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2013 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2014 |
functions that limit length, or ensure that the size is larger than the |
| 2015 |
maximum possible length. |
| 2016 |
./lib/socks.c:117: [2] (buffer) char: |
| 2017 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2018 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2019 |
functions that limit length, or ensure that the size is larger than the |
| 2020 |
maximum possible length. |
| 2021 |
./lib/socks.c:176: [2] (buffer) char: |
| 2022 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2023 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2024 |
functions that limit length, or ensure that the size is larger than the |
| 2025 |
maximum possible length. |
| 2026 |
./lib/socks.c:216: [2] (buffer) memcpy: |
| 2027 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2028 |
Make sure destination can always hold the source data. |
| 2029 |
./lib/socks.c:377: [2] (buffer) char: |
| 2030 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2031 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2032 |
functions that limit length, or ensure that the size is larger than the |
| 2033 |
maximum possible length. |
| 2034 |
./lib/socks.c:518: [2] (buffer) memcpy: |
| 2035 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2036 |
Make sure destination can always hold the source data. |
| 2037 |
./lib/socks.c:522: [2] (buffer) memcpy: |
| 2038 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2039 |
Make sure destination can always hold the source data. |
| 2040 |
./lib/socks.c:585: [2] (buffer) memcpy: |
| 2041 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2042 |
Make sure destination can always hold the source data. |
| 2043 |
./lib/socks.c:611: [2] (buffer) char: |
| 2044 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2045 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2046 |
functions that limit length, or ensure that the size is larger than the |
| 2047 |
maximum possible length. |
| 2048 |
./lib/socks_gssapi.c:55: [2] (buffer) char: |
| 2049 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2050 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2051 |
functions that limit length, or ensure that the size is larger than the |
| 2052 |
maximum possible length. |
| 2053 |
./lib/socks_gssapi.c:77: [2] (buffer) strcpy: |
| 2054 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2055 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 2056 |
misused). Risk is low because the source is a constant string. |
| 2057 |
./lib/socks_gssapi.c:123: [2] (buffer) char: |
| 2058 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2059 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2060 |
functions that limit length, or ensure that the size is larger than the |
| 2061 |
maximum possible length. |
| 2062 |
./lib/socks_gssapi.c:142: [2] (buffer) memcpy: |
| 2063 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2064 |
Make sure destination can always hold the source data. |
| 2065 |
./lib/socks_gssapi.c:199: [2] (buffer) memcpy: |
| 2066 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2067 |
Make sure destination can always hold the source data. |
| 2068 |
./lib/socks_gssapi.c:264: [2] (buffer) memcpy: |
| 2069 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2070 |
Make sure destination can always hold the source data. |
| 2071 |
./lib/socks_gssapi.c:323: [2] (buffer) memcpy: |
| 2072 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2073 |
Make sure destination can always hold the source data. |
| 2074 |
./lib/socks_gssapi.c:379: [2] (buffer) memcpy: |
| 2075 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2076 |
Make sure destination can always hold the source data. |
| 2077 |
./lib/socks_gssapi.c:388: [2] (buffer) memcpy: |
| 2078 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2079 |
Make sure destination can always hold the source data. |
| 2080 |
./lib/socks_gssapi.c:404: [2] (buffer) memcpy: |
| 2081 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2082 |
Make sure destination can always hold the source data. |
| 2083 |
./lib/socks_gssapi.c:416: [2] (buffer) memcpy: |
| 2084 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2085 |
Make sure destination can always hold the source data. |
| 2086 |
./lib/socks_gssapi.c:458: [2] (buffer) memcpy: |
| 2087 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2088 |
Make sure destination can always hold the source data. |
| 2089 |
./lib/socks_gssapi.c:499: [2] (buffer) memcpy: |
| 2090 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2091 |
Make sure destination can always hold the source data. |
| 2092 |
./lib/socks_gssapi.c:511: [2] (buffer) memcpy: |
| 2093 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2094 |
Make sure destination can always hold the source data. |
| 2095 |
./lib/socks_sspi.c:86: [2] (buffer) char: |
| 2096 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2097 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2098 |
functions that limit length, or ensure that the size is larger than the |
| 2099 |
maximum possible length. |
| 2100 |
./lib/socks_sspi.c:202: [2] (buffer) memcpy: |
| 2101 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2102 |
Make sure destination can always hold the source data. |
| 2103 |
./lib/socks_sspi.c:286: [2] (buffer) memcpy: |
| 2104 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2105 |
Make sure destination can always hold the source data. |
| 2106 |
./lib/socks_sspi.c:380: [2] (buffer) memcpy: |
| 2107 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2108 |
Make sure destination can always hold the source data. |
| 2109 |
./lib/socks_sspi.c:409: [2] (buffer) memcpy: |
| 2110 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2111 |
Make sure destination can always hold the source data. |
| 2112 |
./lib/socks_sspi.c:443: [2] (buffer) memcpy: |
| 2113 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2114 |
Make sure destination can always hold the source data. |
| 2115 |
./lib/socks_sspi.c:445: [2] (buffer) memcpy: |
| 2116 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2117 |
Make sure destination can always hold the source data. |
| 2118 |
./lib/socks_sspi.c:447: [2] (buffer) memcpy: |
| 2119 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2120 |
Make sure destination can always hold the source data. |
| 2121 |
./lib/socks_sspi.c:463: [2] (buffer) memcpy: |
| 2122 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2123 |
Make sure destination can always hold the source data. |
| 2124 |
./lib/socks_sspi.c:476: [2] (buffer) memcpy: |
| 2125 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2126 |
Make sure destination can always hold the source data. |
| 2127 |
./lib/socks_sspi.c:520: [2] (buffer) memcpy: |
| 2128 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2129 |
Make sure destination can always hold the source data. |
| 2130 |
./lib/socks_sspi.c:530: [2] (buffer) char: |
| 2131 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2132 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2133 |
functions that limit length, or ensure that the size is larger than the |
| 2134 |
maximum possible length. |
| 2135 |
./lib/socks_sspi.c:574: [2] (buffer) memcpy: |
| 2136 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2137 |
Make sure destination can always hold the source data. |
| 2138 |
./lib/socks_sspi.c:586: [2] (buffer) memcpy: |
| 2139 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2140 |
Make sure destination can always hold the source data. |
| 2141 |
./lib/ssh.c:435: [2] (buffer) memcpy: |
| 2142 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2143 |
Make sure destination can always hold the source data. |
| 2144 |
./lib/ssh.c:437: [2] (buffer) memcpy: |
| 2145 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2146 |
Make sure destination can always hold the source data. |
| 2147 |
./lib/ssh.c:449: [2] (buffer) memcpy: |
| 2148 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2149 |
Make sure destination can always hold the source data. |
| 2150 |
./lib/ssh.c:453: [2] (buffer) memcpy: |
| 2151 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2152 |
Make sure destination can always hold the source data. |
| 2153 |
./lib/ssh.c:463: [2] (buffer) memcpy: |
| 2154 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2155 |
Make sure destination can always hold the source data. |
| 2156 |
./lib/ssh.c:662: [2] (buffer) char: |
| 2157 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2158 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2159 |
functions that limit length, or ensure that the size is larger than the |
| 2160 |
maximum possible length. |
| 2161 |
./lib/ssh.c:1140: [2] (buffer) char: |
| 2162 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2163 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2164 |
functions that limit length, or ensure that the size is larger than the |
| 2165 |
maximum possible length. |
| 2166 |
./lib/ssh.c:2059: [2] (buffer) memcpy: |
| 2167 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2168 |
Make sure destination can always hold the source data. |
| 2169 |
./lib/ssh.c:3379: [2] (buffer) memcpy: |
| 2170 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2171 |
Make sure destination can always hold the source data. |
| 2172 |
./lib/strdup.c:51: [2] (buffer) memcpy: |
| 2173 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2174 |
Make sure destination can always hold the source data. |
| 2175 |
./lib/strdup.c:74: [2] (buffer) memcpy: |
| 2176 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2177 |
Make sure destination can always hold the source data. |
| 2178 |
./lib/strerror.c:646: [2] (buffer) wchar_t: |
| 2179 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2180 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2181 |
functions that limit length, or ensure that the size is larger than the |
| 2182 |
maximum possible length. |
| 2183 |
./lib/strerror.c:684: [2] (buffer) char: |
| 2184 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2185 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2186 |
functions that limit length, or ensure that the size is larger than the |
| 2187 |
maximum possible length. |
| 2188 |
./lib/strerror.c:697: [2] (buffer) char: |
| 2189 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2190 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2191 |
functions that limit length, or ensure that the size is larger than the |
| 2192 |
maximum possible length. |
| 2193 |
./lib/strerror.c:735: [2] (buffer) char: |
| 2194 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2195 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2196 |
functions that limit length, or ensure that the size is larger than the |
| 2197 |
maximum possible length. |
| 2198 |
./lib/strerror.c:736: [2] (buffer) char: |
| 2199 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2200 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2201 |
functions that limit length, or ensure that the size is larger than the |
| 2202 |
maximum possible length. |
| 2203 |
./lib/strerror.c:1018: [2] (buffer) wchar_t: |
| 2204 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2205 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2206 |
functions that limit length, or ensure that the size is larger than the |
| 2207 |
maximum possible length. |
| 2208 |
./lib/telnet.c:160: [2] (buffer) char: |
| 2209 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2210 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2211 |
functions that limit length, or ensure that the size is larger than the |
| 2212 |
maximum possible length. |
| 2213 |
./lib/telnet.c:161: [2] (buffer) char: |
| 2214 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2215 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2216 |
functions that limit length, or ensure that the size is larger than the |
| 2217 |
maximum possible length. |
| 2218 |
./lib/telnet.c:167: [2] (buffer) char: |
| 2219 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2220 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2221 |
functions that limit length, or ensure that the size is larger than the |
| 2222 |
maximum possible length. |
| 2223 |
./lib/telnet.c:346: [2] (buffer) char: |
| 2224 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2225 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2226 |
functions that limit length, or ensure that the size is larger than the |
| 2227 |
maximum possible length. |
| 2228 |
./lib/telnet.c:822: [2] (buffer) char: |
| 2229 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2230 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2231 |
functions that limit length, or ensure that the size is larger than the |
| 2232 |
maximum possible length. |
| 2233 |
./lib/telnet.c:823: [2] (buffer) char: |
| 2234 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2235 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2236 |
functions that limit length, or ensure that the size is larger than the |
| 2237 |
maximum possible length. |
| 2238 |
./lib/telnet.c:890: [2] (integer) atoi: |
| 2239 |
Unless checked, the resulting number can exceed the expected range |
| 2240 |
(CWE-190). If source untrusted, check both minimum and maximum, even if the |
| 2241 |
input had no minus sign (large numbers can roll over into negative number; |
| 2242 |
consider saving to an unsigned value if that is intended). |
| 2243 |
./lib/telnet.c:927: [2] (buffer) char: |
| 2244 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2245 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2246 |
functions that limit length, or ensure that the size is larger than the |
| 2247 |
maximum possible length. |
| 2248 |
./lib/telnet.c:932: [2] (buffer) char: |
| 2249 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2250 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2251 |
functions that limit length, or ensure that the size is larger than the |
| 2252 |
maximum possible length. |
| 2253 |
./lib/telnet.c:933: [2] (buffer) char: |
| 2254 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2255 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2256 |
functions that limit length, or ensure that the size is larger than the |
| 2257 |
maximum possible length. |
| 2258 |
./lib/telnet.c:1227: [2] (buffer) char: |
| 2259 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2260 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2261 |
functions that limit length, or ensure that the size is larger than the |
| 2262 |
maximum possible length. |
| 2263 |
./lib/tftp.c:453: [2] (buffer) char: |
| 2264 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2265 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2266 |
functions that limit length, or ensure that the size is larger than the |
| 2267 |
maximum possible length. |
| 2268 |
./lib/tftp.c:1110: [2] (buffer) memcpy: |
| 2269 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2270 |
Make sure destination can always hold the source data. |
| 2271 |
./lib/transfer.c:164: [2] (buffer) char: |
| 2272 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2273 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2274 |
functions that limit length, or ensure that the size is larger than the |
| 2275 |
maximum possible length. |
| 2276 |
./lib/transfer.c:190: [2] (buffer) memcpy: |
| 2277 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2278 |
Make sure destination can always hold the source data. |
| 2279 |
./lib/transfer.c:193: [2] (buffer) memcpy: |
| 2280 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2281 |
Make sure destination can always hold the source data. |
| 2282 |
./lib/transfer.c:330: [2] (buffer) char: |
| 2283 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2284 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2285 |
functions that limit length, or ensure that the size is larger than the |
| 2286 |
maximum possible length. |
| 2287 |
./lib/transfer.c:335: [2] (buffer) memcpy: |
| 2288 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2289 |
Make sure destination can always hold the source data. |
| 2290 |
./lib/transfer.c:1463: [2] (buffer) char: |
| 2291 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2292 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2293 |
functions that limit length, or ensure that the size is larger than the |
| 2294 |
maximum possible length. |
| 2295 |
./lib/transfer.c:1610: [2] (buffer) memcpy: |
| 2296 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2297 |
Make sure destination can always hold the source data. |
| 2298 |
./lib/url.c:1051: [2] (buffer) memcpy: |
| 2299 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2300 |
Make sure destination can always hold the source data. |
| 2301 |
./lib/url.c:4265: [2] (buffer) char: |
| 2302 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2303 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2304 |
functions that limit length, or ensure that the size is larger than the |
| 2305 |
maximum possible length. |
| 2306 |
./lib/url.c:4344: [2] (buffer) char: |
| 2307 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2308 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2309 |
functions that limit length, or ensure that the size is larger than the |
| 2310 |
maximum possible length. |
| 2311 |
./lib/url.c:4451: [2] (buffer) memcpy: |
| 2312 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2313 |
Make sure destination can always hold the source data. |
| 2314 |
./lib/url.c:4516: [2] (buffer) memcpy: |
| 2315 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2316 |
Make sure destination can always hold the source data. |
| 2317 |
./lib/url.c:4519: [2] (buffer) memcpy: |
| 2318 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2319 |
Make sure destination can always hold the source data. |
| 2320 |
./lib/url.c:4564: [2] (buffer) char: |
| 2321 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2322 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2323 |
functions that limit length, or ensure that the size is larger than the |
| 2324 |
maximum possible length. |
| 2325 |
./lib/url.c:4817: [2] (buffer) char: |
| 2326 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2327 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2328 |
functions that limit length, or ensure that the size is larger than the |
| 2329 |
maximum possible length. |
| 2330 |
./lib/url.c:4834: [2] (buffer) strcpy: |
| 2331 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2332 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 2333 |
misused). Risk is low because the source is a constant string. |
| 2334 |
./lib/url.c:5081: [2] (buffer) char: |
| 2335 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2336 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2337 |
functions that limit length, or ensure that the size is larger than the |
| 2338 |
maximum possible length. |
| 2339 |
./lib/url.c:5082: [2] (buffer) char: |
| 2340 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2341 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2342 |
functions that limit length, or ensure that the size is larger than the |
| 2343 |
maximum possible length. |
| 2344 |
./lib/url.c:5319: [2] (buffer) memcpy: |
| 2345 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2346 |
Make sure destination can always hold the source data. |
| 2347 |
./lib/url.c:5327: [2] (buffer) memcpy: |
| 2348 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2349 |
Make sure destination can always hold the source data. |
| 2350 |
./lib/url.c:5335: [2] (buffer) memcpy: |
| 2351 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2352 |
Make sure destination can always hold the source data. |
| 2353 |
./lib/url.c:5405: [2] (buffer) char: |
| 2354 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2355 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2356 |
functions that limit length, or ensure that the size is larger than the |
| 2357 |
maximum possible length. |
| 2358 |
./lib/urldata.h:297: [2] (buffer) char: |
| 2359 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2360 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2361 |
functions that limit length, or ensure that the size is larger than the |
| 2362 |
maximum possible length. |
| 2363 |
./lib/urldata.h:470: [2] (buffer) char: |
| 2364 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2365 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2366 |
functions that limit length, or ensure that the size is larger than the |
| 2367 |
maximum possible length. |
| 2368 |
./lib/urldata.h:924: [2] (buffer) char: |
| 2369 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2370 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2371 |
functions that limit length, or ensure that the size is larger than the |
| 2372 |
maximum possible length. |
| 2373 |
./lib/urldata.h:953: [2] (buffer) char: |
| 2374 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2375 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2376 |
functions that limit length, or ensure that the size is larger than the |
| 2377 |
maximum possible length. |
| 2378 |
./lib/urldata.h:960: [2] (buffer) char: |
| 2379 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2380 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2381 |
functions that limit length, or ensure that the size is larger than the |
| 2382 |
maximum possible length. |
| 2383 |
./lib/urldata.h:1083: [2] (buffer) char: |
| 2384 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2385 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2386 |
functions that limit length, or ensure that the size is larger than the |
| 2387 |
maximum possible length. |
| 2388 |
./lib/urldata.h:1171: [2] (buffer) char: |
| 2389 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2390 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2391 |
functions that limit length, or ensure that the size is larger than the |
| 2392 |
maximum possible length. |
| 2393 |
./lib/urldata.h:1174: [2] (buffer) char: |
| 2394 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2395 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2396 |
functions that limit length, or ensure that the size is larger than the |
| 2397 |
maximum possible length. |
| 2398 |
./lib/urldata.h:1306: [2] (buffer) char: |
| 2399 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2400 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2401 |
functions that limit length, or ensure that the size is larger than the |
| 2402 |
maximum possible length. |
| 2403 |
./lib/urldata.h:1307: [2] (buffer) char: |
| 2404 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2405 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2406 |
functions that limit length, or ensure that the size is larger than the |
| 2407 |
maximum possible length. |
| 2408 |
./lib/urldata.h:1714: [2] (buffer) char: |
| 2409 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2410 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2411 |
functions that limit length, or ensure that the size is larger than the |
| 2412 |
maximum possible length. |
| 2413 |
./lib/vauth/cleartext.c:92: [2] (buffer) memcpy: |
| 2414 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2415 |
Make sure destination can always hold the source data. |
| 2416 |
./lib/vauth/cleartext.c:94: [2] (buffer) memcpy: |
| 2417 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2418 |
Make sure destination can always hold the source data. |
| 2419 |
./lib/vauth/cleartext.c:96: [2] (buffer) memcpy: |
| 2420 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2421 |
Make sure destination can always hold the source data. |
| 2422 |
./lib/vauth/cram.c:100: [2] (buffer) char: |
| 2423 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2424 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2425 |
functions that limit length, or ensure that the size is larger than the |
| 2426 |
maximum possible length. |
| 2427 |
./lib/vauth/digest.c:353: [2] (buffer) char: |
| 2428 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2429 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2430 |
functions that limit length, or ensure that the size is larger than the |
| 2431 |
maximum possible length. |
| 2432 |
./lib/vauth/digest.c:354: [2] (buffer) char: |
| 2433 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2434 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2435 |
functions that limit length, or ensure that the size is larger than the |
| 2436 |
maximum possible length. |
| 2437 |
./lib/vauth/digest.c:355: [2] (buffer) char: |
| 2438 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2439 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2440 |
functions that limit length, or ensure that the size is larger than the |
| 2441 |
maximum possible length. |
| 2442 |
./lib/vauth/digest.c:356: [2] (buffer) char: |
| 2443 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2444 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2445 |
functions that limit length, or ensure that the size is larger than the |
| 2446 |
maximum possible length. |
| 2447 |
./lib/vauth/digest.c:357: [2] (buffer) char: |
| 2448 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2449 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2450 |
functions that limit length, or ensure that the size is larger than the |
| 2451 |
maximum possible length. |
| 2452 |
./lib/vauth/digest.c:358: [2] (buffer) char: |
| 2453 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2454 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2455 |
functions that limit length, or ensure that the size is larger than the |
| 2456 |
maximum possible length. |
| 2457 |
./lib/vauth/digest.c:359: [2] (buffer) char: |
| 2458 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2459 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2460 |
functions that limit length, or ensure that the size is larger than the |
| 2461 |
maximum possible length. |
| 2462 |
./lib/vauth/digest.c:360: [2] (buffer) char: |
| 2463 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2464 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2465 |
functions that limit length, or ensure that the size is larger than the |
| 2466 |
maximum possible length. |
| 2467 |
./lib/vauth/digest.c:362: [2] (buffer) char: |
| 2468 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2469 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2470 |
functions that limit length, or ensure that the size is larger than the |
| 2471 |
maximum possible length. |
| 2472 |
./lib/vauth/digest.c:532: [2] (buffer) char: |
| 2473 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2474 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2475 |
functions that limit length, or ensure that the size is larger than the |
| 2476 |
maximum possible length. |
| 2477 |
./lib/vauth/digest.c:533: [2] (buffer) char: |
| 2478 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2479 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2480 |
functions that limit length, or ensure that the size is larger than the |
| 2481 |
maximum possible length. |
| 2482 |
./lib/vauth/digest.c:671: [2] (buffer) char: |
| 2483 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2484 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2485 |
functions that limit length, or ensure that the size is larger than the |
| 2486 |
maximum possible length. |
| 2487 |
./lib/vauth/digest.c:672: [2] (buffer) char: |
| 2488 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2489 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2490 |
functions that limit length, or ensure that the size is larger than the |
| 2491 |
maximum possible length. |
| 2492 |
./lib/vauth/digest.c:674: [2] (buffer) char: |
| 2493 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2494 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2495 |
functions that limit length, or ensure that the size is larger than the |
| 2496 |
maximum possible length. |
| 2497 |
./lib/vauth/digest.c:675: [2] (buffer) char: |
| 2498 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2499 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2500 |
functions that limit length, or ensure that the size is larger than the |
| 2501 |
maximum possible length. |
| 2502 |
./lib/vauth/digest.c:676: [2] (buffer) char: |
| 2503 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2504 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2505 |
functions that limit length, or ensure that the size is larger than the |
| 2506 |
maximum possible length. |
| 2507 |
./lib/vauth/digest_sspi.c:271: [2] (buffer) char: |
| 2508 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2509 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2510 |
functions that limit length, or ensure that the size is larger than the |
| 2511 |
maximum possible length. |
| 2512 |
./lib/vauth/digest_sspi.c:272: [2] (buffer) char: |
| 2513 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2514 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2515 |
functions that limit length, or ensure that the size is larger than the |
| 2516 |
maximum possible length. |
| 2517 |
./lib/vauth/digest_sspi.c:515: [2] (buffer) memcpy: |
| 2518 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2519 |
Make sure destination can always hold the source data. |
| 2520 |
./lib/vauth/krb5_gssapi.c:298: [2] (buffer) memcpy: |
| 2521 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2522 |
Make sure destination can always hold the source data. |
| 2523 |
./lib/vauth/krb5_gssapi.c:336: [2] (buffer) memcpy: |
| 2524 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2525 |
Make sure destination can always hold the source data. |
| 2526 |
./lib/vauth/krb5_gssapi.c:337: [2] (buffer) memcpy: |
| 2527 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2528 |
Make sure destination can always hold the source data. |
| 2529 |
./lib/vauth/krb5_sspi.c:231: [2] (buffer) memcpy: |
| 2530 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2531 |
Make sure destination can always hold the source data. |
| 2532 |
./lib/vauth/krb5_sspi.c:360: [2] (buffer) memcpy: |
| 2533 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2534 |
Make sure destination can always hold the source data. |
| 2535 |
./lib/vauth/krb5_sspi.c:410: [2] (buffer) memcpy: |
| 2536 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2537 |
Make sure destination can always hold the source data. |
| 2538 |
./lib/vauth/krb5_sspi.c:461: [2] (buffer) memcpy: |
| 2539 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2540 |
Make sure destination can always hold the source data. |
| 2541 |
./lib/vauth/krb5_sspi.c:463: [2] (buffer) memcpy: |
| 2542 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2543 |
Make sure destination can always hold the source data. |
| 2544 |
./lib/vauth/krb5_sspi.c:465: [2] (buffer) memcpy: |
| 2545 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2546 |
Make sure destination can always hold the source data. |
| 2547 |
./lib/vauth/ntlm.c:194: [2] (buffer) memcpy: |
| 2548 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2549 |
Make sure destination can always hold the source data. |
| 2550 |
./lib/vauth/ntlm.c:309: [2] (buffer) memcpy: |
| 2551 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2552 |
Make sure destination can always hold the source data. |
| 2553 |
./lib/vauth/ntlm.c:383: [2] (buffer) char: |
| 2554 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2555 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2556 |
functions that limit length, or ensure that the size is larger than the |
| 2557 |
maximum possible length. |
| 2558 |
./lib/vauth/ntlm.c:509: [2] (buffer) char: |
| 2559 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2560 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2561 |
functions that limit length, or ensure that the size is larger than the |
| 2562 |
maximum possible length. |
| 2563 |
./lib/vauth/ntlm.c:511: [2] (buffer) char: |
| 2564 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2565 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2566 |
functions that limit length, or ensure that the size is larger than the |
| 2567 |
maximum possible length. |
| 2568 |
./lib/vauth/ntlm.c:515: [2] (buffer) char: |
| 2569 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2570 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2571 |
functions that limit length, or ensure that the size is larger than the |
| 2572 |
maximum possible length. |
| 2573 |
./lib/vauth/ntlm.c:520: [2] (buffer) char: |
| 2574 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2575 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2576 |
functions that limit length, or ensure that the size is larger than the |
| 2577 |
maximum possible length. |
| 2578 |
./lib/vauth/ntlm.c:557: [2] (buffer) char: |
| 2579 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2580 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2581 |
functions that limit length, or ensure that the size is larger than the |
| 2582 |
maximum possible length. |
| 2583 |
./lib/vauth/ntlm.c:559: [2] (buffer) char: |
| 2584 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2585 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2586 |
functions that limit length, or ensure that the size is larger than the |
| 2587 |
maximum possible length. |
| 2588 |
./lib/vauth/ntlm.c:596: [2] (buffer) char: |
| 2589 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2590 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2591 |
functions that limit length, or ensure that the size is larger than the |
| 2592 |
maximum possible length. |
| 2593 |
./lib/vauth/ntlm.c:597: [2] (buffer) char: |
| 2594 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2595 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2596 |
functions that limit length, or ensure that the size is larger than the |
| 2597 |
maximum possible length. |
| 2598 |
./lib/vauth/ntlm.c:598: [2] (buffer) char: |
| 2599 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2600 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2601 |
functions that limit length, or ensure that the size is larger than the |
| 2602 |
maximum possible length. |
| 2603 |
./lib/vauth/ntlm.c:607: [2] (buffer) memcpy: |
| 2604 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2605 |
Make sure destination can always hold the source data. |
| 2606 |
./lib/vauth/ntlm.c:613: [2] (buffer) memcpy: |
| 2607 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2608 |
Make sure destination can always hold the source data. |
| 2609 |
./lib/vauth/ntlm.c:614: [2] (buffer) memcpy: |
| 2610 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2611 |
Make sure destination can always hold the source data. |
| 2612 |
./lib/vauth/ntlm.c:634: [2] (buffer) char: |
| 2613 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2614 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2615 |
functions that limit length, or ensure that the size is larger than the |
| 2616 |
maximum possible length. |
| 2617 |
./lib/vauth/ntlm.c:636: [2] (buffer) char: |
| 2618 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2619 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2620 |
functions that limit length, or ensure that the size is larger than the |
| 2621 |
maximum possible length. |
| 2622 |
./lib/vauth/ntlm.c:762: [2] (buffer) memcpy: |
| 2623 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2624 |
Make sure destination can always hold the source data. |
| 2625 |
./lib/vauth/ntlm.c:774: [2] (buffer) memcpy: |
| 2626 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2627 |
Make sure destination can always hold the source data. |
| 2628 |
./lib/vauth/ntlm.c:805: [2] (buffer) memcpy: |
| 2629 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2630 |
Make sure destination can always hold the source data. |
| 2631 |
./lib/vauth/ntlm.c:813: [2] (buffer) memcpy: |
| 2632 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2633 |
Make sure destination can always hold the source data. |
| 2634 |
./lib/vauth/ntlm.c:821: [2] (buffer) memcpy: |
| 2635 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2636 |
Make sure destination can always hold the source data. |
| 2637 |
./lib/version.c:80: [2] (buffer) char: |
| 2638 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2639 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2640 |
functions that limit length, or ensure that the size is larger than the |
| 2641 |
maximum possible length. |
| 2642 |
./lib/version.c:154: [2] (buffer) char: |
| 2643 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2644 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2645 |
functions that limit length, or ensure that the size is larger than the |
| 2646 |
maximum possible length. |
| 2647 |
./lib/version.c:346: [2] (buffer) char: |
| 2648 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2649 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2650 |
functions that limit length, or ensure that the size is larger than the |
| 2651 |
maximum possible length. |
| 2652 |
./lib/version.c:349: [2] (buffer) char: |
| 2653 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2654 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2655 |
functions that limit length, or ensure that the size is larger than the |
| 2656 |
maximum possible length. |
| 2657 |
./lib/vtls/axtls.c:631: [2] (buffer) memcpy: |
| 2658 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2659 |
Make sure destination can always hold the source data. |
| 2660 |
./lib/vtls/cyassl.c:136: [2] (buffer) char: |
| 2661 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2662 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2663 |
functions that limit length, or ensure that the size is larger than the |
| 2664 |
maximum possible length. |
| 2665 |
./lib/vtls/cyassl.c:360: [2] (buffer) char: |
| 2666 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2667 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2668 |
functions that limit length, or ensure that the size is larger than the |
| 2669 |
maximum possible length. |
| 2670 |
./lib/vtls/cyassl.c:443: [2] (buffer) char: |
| 2671 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2672 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2673 |
functions that limit length, or ensure that the size is larger than the |
| 2674 |
maximum possible length. |
| 2675 |
./lib/vtls/cyassl.c:642: [2] (buffer) char: |
| 2676 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2677 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2678 |
functions that limit length, or ensure that the size is larger than the |
| 2679 |
maximum possible length. |
| 2680 |
./lib/vtls/cyassl.c:687: [2] (buffer) char: |
| 2681 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2682 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2683 |
functions that limit length, or ensure that the size is larger than the |
| 2684 |
maximum possible length. |
| 2685 |
./lib/vtls/darwinssl.c:805: [2] (integer) atoi: |
| 2686 |
Unless checked, the resulting number can exceed the expected range |
| 2687 |
(CWE-190). If source untrusted, check both minimum and maximum, even if the |
| 2688 |
input had no minus sign (large numbers can roll over into negative number; |
| 2689 |
consider saving to an unsigned value if that is intended). |
| 2690 |
./lib/vtls/darwinssl.c:806: [2] (integer) atoi: |
| 2691 |
Unless checked, the resulting number can exceed the expected range |
| 2692 |
(CWE-190). If source untrusted, check both minimum and maximum, even if the |
| 2693 |
input had no minus sign (large numbers can roll over into negative number; |
| 2694 |
consider saving to an unsigned value if that is intended). |
| 2695 |
./lib/vtls/darwinssl.c:1281: [2] (buffer) char: |
| 2696 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2697 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2698 |
functions that limit length, or ensure that the size is larger than the |
| 2699 |
maximum possible length. |
| 2700 |
./lib/vtls/darwinssl.c:1661: [2] (buffer) char: |
| 2701 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2702 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2703 |
functions that limit length, or ensure that the size is larger than the |
| 2704 |
maximum possible length. |
| 2705 |
./lib/vtls/darwinssl.c:1663: [2] (misc) open: |
| 2706 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 2707 |
force the opening of special file type (e.g., device files), move things |
| 2708 |
around to create a race condition, control its ancestors, or change its |
| 2709 |
contents? (CWE-362). |
| 2710 |
./lib/vtls/darwinssl.c:1694: [2] (buffer) memcpy: |
| 2711 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2712 |
Make sure destination can always hold the source data. |
| 2713 |
./lib/vtls/darwinssl.c:1755: [2] (buffer) char: |
| 2714 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2715 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2716 |
functions that limit length, or ensure that the size is larger than the |
| 2717 |
maximum possible length. |
| 2718 |
./lib/vtls/darwinssl.c:2044: [2] (buffer) char: |
| 2719 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2720 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2721 |
functions that limit length, or ensure that the size is larger than the |
| 2722 |
maximum possible length. |
| 2723 |
./lib/vtls/darwinssl.c:2325: [2] (buffer) char: |
| 2724 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2725 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2726 |
functions that limit length, or ensure that the size is larger than the |
| 2727 |
maximum possible length. |
| 2728 |
./lib/vtls/gskit.c:614: [2] (buffer) char: |
| 2729 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2730 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2731 |
functions that limit length, or ensure that the size is larger than the |
| 2732 |
maximum possible length. |
| 2733 |
./lib/vtls/gskit.c:1232: [2] (buffer) char: |
| 2734 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2735 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2736 |
functions that limit length, or ensure that the size is larger than the |
| 2737 |
maximum possible length. |
| 2738 |
./lib/vtls/gtls.c:245: [2] (misc) fopen: |
| 2739 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 2740 |
force the opening of special file type (e.g., device files), move things |
| 2741 |
around to create a race condition, control its ancestors, or change its |
| 2742 |
contents? (CWE-362). |
| 2743 |
./lib/vtls/gtls.c:872: [2] (buffer) char: |
| 2744 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2745 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2746 |
functions that limit length, or ensure that the size is larger than the |
| 2747 |
maximum possible length. |
| 2748 |
./lib/vtls/gtls.c:935: [2] (buffer) char: |
| 2749 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2750 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2751 |
functions that limit length, or ensure that the size is larger than the |
| 2752 |
maximum possible length. |
| 2753 |
./lib/vtls/gtls.c:1132: [2] (buffer) char: |
| 2754 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2755 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2756 |
functions that limit length, or ensure that the size is larger than the |
| 2757 |
maximum possible length. |
| 2758 |
./lib/vtls/gtls.c:1133: [2] (buffer) char: |
| 2759 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2760 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2761 |
functions that limit length, or ensure that the size is larger than the |
| 2762 |
maximum possible length. |
| 2763 |
./lib/vtls/gtls.c:1493: [2] (buffer) char: |
| 2764 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2765 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2766 |
functions that limit length, or ensure that the size is larger than the |
| 2767 |
maximum possible length. |
| 2768 |
./lib/vtls/gtls.c:1657: [2] (buffer) memcpy: |
| 2769 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2770 |
Make sure destination can always hold the source data. |
| 2771 |
./lib/vtls/gtls.c:1676: [2] (buffer) memcpy: |
| 2772 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2773 |
Make sure destination can always hold the source data. |
| 2774 |
./lib/vtls/mbedtls.c:175: [2] (buffer) char: |
| 2775 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2776 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2777 |
functions that limit length, or ensure that the size is larger than the |
| 2778 |
maximum possible length. |
| 2779 |
./lib/vtls/mbedtls.c:463: [2] (buffer) char: |
| 2780 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2781 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2782 |
functions that limit length, or ensure that the size is larger than the |
| 2783 |
maximum possible length. |
| 2784 |
./lib/vtls/mbedtls.c:533: [2] (buffer) char: |
| 2785 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2786 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2787 |
functions that limit length, or ensure that the size is larger than the |
| 2788 |
maximum possible length. |
| 2789 |
./lib/vtls/nss.c:726: [2] (buffer) char: |
| 2790 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2791 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2792 |
functions that limit length, or ensure that the size is larger than the |
| 2793 |
maximum possible length. |
| 2794 |
./lib/vtls/nss.c:835: [2] (buffer) char: |
| 2795 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2796 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2797 |
functions that limit length, or ensure that the size is larger than the |
| 2798 |
maximum possible length. |
| 2799 |
./lib/vtls/nss.c:1258: [2] (buffer) memcpy: |
| 2800 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2801 |
Make sure destination can always hold the source data. |
| 2802 |
./lib/vtls/nss.c:1877: [2] (buffer) char: |
| 2803 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2804 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2805 |
functions that limit length, or ensure that the size is larger than the |
| 2806 |
maximum possible length. |
| 2807 |
./lib/vtls/nss.c:1882: [2] (buffer) memcpy: |
| 2808 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2809 |
Make sure destination can always hold the source data. |
| 2810 |
./lib/vtls/nss.c:1888: [2] (buffer) memcpy: |
| 2811 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2812 |
Make sure destination can always hold the source data. |
| 2813 |
./lib/vtls/openssl.c:171: [2] (buffer) memcpy: |
| 2814 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2815 |
Make sure destination can always hold the source data. |
| 2816 |
./lib/vtls/openssl.c:244: [2] (buffer) char: |
| 2817 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2818 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2819 |
functions that limit length, or ensure that the size is larger than the |
| 2820 |
maximum possible length. |
| 2821 |
./lib/vtls/openssl.c:444: [2] (misc) fopen: |
| 2822 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 2823 |
force the opening of special file type (e.g., device files), move things |
| 2824 |
around to create a race condition, control its ancestors, or change its |
| 2825 |
contents? (CWE-362). |
| 2826 |
./lib/vtls/openssl.c:658: [2] (buffer) memcpy: |
| 2827 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2828 |
Make sure destination can always hold the source data. |
| 2829 |
./lib/vtls/openssl.c:841: [2] (buffer) char: |
| 2830 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2831 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2832 |
functions that limit length, or ensure that the size is larger than the |
| 2833 |
maximum possible length. |
| 2834 |
./lib/vtls/openssl.c:935: [2] (buffer) char: |
| 2835 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2836 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2837 |
functions that limit length, or ensure that the size is larger than the |
| 2838 |
maximum possible length. |
| 2839 |
./lib/vtls/openssl.c:1229: [2] (buffer) memcpy: |
| 2840 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2841 |
Make sure destination can always hold the source data. |
| 2842 |
./lib/vtls/openssl.c:1507: [2] (buffer) char: |
| 2843 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2844 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2845 |
functions that limit length, or ensure that the size is larger than the |
| 2846 |
maximum possible length. |
| 2847 |
./lib/vtls/openssl.c:1508: [2] (buffer) char: |
| 2848 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2849 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2850 |
functions that limit length, or ensure that the size is larger than the |
| 2851 |
maximum possible length. |
| 2852 |
./lib/vtls/openssl.c:1979: [2] (buffer) char: |
| 2853 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2854 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2855 |
functions that limit length, or ensure that the size is larger than the |
| 2856 |
maximum possible length. |
| 2857 |
./lib/vtls/openssl.c:1985: [2] (buffer) memcpy: |
| 2858 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2859 |
Make sure destination can always hold the source data. |
| 2860 |
./lib/vtls/openssl.c:1993: [2] (buffer) memcpy: |
| 2861 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2862 |
Make sure destination can always hold the source data. |
| 2863 |
./lib/vtls/openssl.c:2234: [2] (buffer) char: |
| 2864 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2865 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2866 |
functions that limit length, or ensure that the size is larger than the |
| 2867 |
maximum possible length. |
| 2868 |
./lib/vtls/openssl.c:2266: [2] (buffer) strcpy: |
| 2869 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2870 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 2871 |
misused). Risk is low because the source is a constant string. |
| 2872 |
./lib/vtls/openssl.c:2370: [2] (buffer) char: |
| 2873 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2874 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2875 |
functions that limit length, or ensure that the size is larger than the |
| 2876 |
maximum possible length. |
| 2877 |
./lib/vtls/openssl.c:2407: [2] (buffer) char: |
| 2878 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2879 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2880 |
functions that limit length, or ensure that the size is larger than the |
| 2881 |
maximum possible length. |
| 2882 |
./lib/vtls/openssl.c:2409: [2] (buffer) char: |
| 2883 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2884 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2885 |
functions that limit length, or ensure that the size is larger than the |
| 2886 |
maximum possible length. |
| 2887 |
./lib/vtls/openssl.c:2821: [2] (misc) fopen: |
| 2888 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 2889 |
force the opening of special file type (e.g., device files), move things |
| 2890 |
around to create a race condition, control its ancestors, or change its |
| 2891 |
contents? (CWE-362). |
| 2892 |
./lib/vtls/openssl.c:3132: [2] (buffer) char: |
| 2893 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2894 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2895 |
functions that limit length, or ensure that the size is larger than the |
| 2896 |
maximum possible length. |
| 2897 |
./lib/vtls/openssl.c:3167: [2] (buffer) char: |
| 2898 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2899 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2900 |
functions that limit length, or ensure that the size is larger than the |
| 2901 |
maximum possible length. |
| 2902 |
./lib/vtls/openssl.c:3193: [2] (buffer) char: |
| 2903 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2904 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2905 |
functions that limit length, or ensure that the size is larger than the |
| 2906 |
maximum possible length. |
| 2907 |
./lib/vtls/openssl.c:3240: [2] (buffer) char: |
| 2908 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2909 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2910 |
functions that limit length, or ensure that the size is larger than the |
| 2911 |
maximum possible length. |
| 2912 |
./lib/vtls/polarssl.c:155: [2] (buffer) char: |
| 2913 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2914 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2915 |
functions that limit length, or ensure that the size is larger than the |
| 2916 |
maximum possible length. |
| 2917 |
./lib/vtls/polarssl.c:364: [2] (buffer) char: |
| 2918 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2919 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2920 |
functions that limit length, or ensure that the size is larger than the |
| 2921 |
maximum possible length. |
| 2922 |
./lib/vtls/polarssl.c:399: [2] (buffer) char: |
| 2923 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2924 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2925 |
functions that limit length, or ensure that the size is larger than the |
| 2926 |
maximum possible length. |
| 2927 |
./lib/vtls/polarssl.c:405: [2] (buffer) char: |
| 2928 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2929 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2930 |
functions that limit length, or ensure that the size is larger than the |
| 2931 |
maximum possible length. |
| 2932 |
./lib/vtls/polarssl.c:469: [2] (buffer) char: |
| 2933 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2934 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2935 |
functions that limit length, or ensure that the size is larger than the |
| 2936 |
maximum possible length. |
| 2937 |
./lib/vtls/schannel.c:116: [2] (buffer) char: |
| 2938 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2939 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2940 |
functions that limit length, or ensure that the size is larger than the |
| 2941 |
maximum possible length. |
| 2942 |
./lib/vtls/schannel.c:300: [2] (buffer) memcpy: |
| 2943 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2944 |
Make sure destination can always hold the source data. |
| 2945 |
./lib/vtls/schannel.c:307: [2] (buffer) memcpy: |
| 2946 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2947 |
Make sure destination can always hold the source data. |
| 2948 |
./lib/vtls/schannel.c:517: [2] (buffer) memcpy: |
| 2949 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2950 |
Make sure destination can always hold the source data. |
| 2951 |
./lib/vtls/schannel.c:943: [2] (buffer) memcpy: |
| 2952 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2953 |
Make sure destination can always hold the source data. |
| 2954 |
./lib/vtls/schannel.c:1198: [2] (buffer) memcpy: |
| 2955 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2956 |
Make sure destination can always hold the source data. |
| 2957 |
./lib/vtls/schannel.c:1323: [2] (buffer) memcpy: |
| 2958 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2959 |
Make sure destination can always hold the source data. |
| 2960 |
./lib/vtls/schannel.c:1606: [2] (buffer) TCHAR: |
| 2961 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2962 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2963 |
functions that limit length, or ensure that the size is larger than the |
| 2964 |
maximum possible length. |
| 2965 |
./lib/vtls/vtls.c:672: [2] (buffer) memcpy: |
| 2966 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2967 |
Make sure destination can always hold the source data. |
| 2968 |
./lib/vtls/vtls.c:824: [2] (buffer) memcpy: |
| 2969 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2970 |
Make sure destination can always hold the source data. |
| 2971 |
./lib/vtls/vtls.c:861: [2] (misc) fopen: |
| 2972 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 2973 |
force the opening of special file type (e.g., device files), move things |
| 2974 |
around to create a race condition, control its ancestors, or change its |
| 2975 |
contents? (CWE-362). |
| 2976 |
./lib/x509asn1.c:300: [2] (buffer) memcpy: |
| 2977 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2978 |
Make sure destination can always hold the source data. |
| 2979 |
./packages/OS400/ccsidcurl.c:58: [2] (buffer) char: |
| 2980 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2981 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2982 |
functions that limit length, or ensure that the size is larger than the |
| 2983 |
maximum possible length. |
| 2984 |
./packages/OS400/ccsidcurl.c:84: [2] (buffer) char: |
| 2985 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2986 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2987 |
functions that limit length, or ensure that the size is larger than the |
| 2988 |
maximum possible length. |
| 2989 |
./packages/OS400/ccsidcurl.c:85: [2] (buffer) char: |
| 2990 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 2991 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 2992 |
functions that limit length, or ensure that the size is larger than the |
| 2993 |
maximum possible length. |
| 2994 |
./packages/OS400/ccsidcurl.c:133: [2] (buffer) memcpy: |
| 2995 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2996 |
Make sure destination can always hold the source data. |
| 2997 |
./packages/OS400/ccsidcurl.c:470: [2] (buffer) memcpy: |
| 2998 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 2999 |
Make sure destination can always hold the source data. |
| 3000 |
./packages/OS400/ccsidcurl.c:476: [2] (buffer) memcpy: |
| 3001 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3002 |
Make sure destination can always hold the source data. |
| 3003 |
./packages/OS400/ccsidcurl.c:728: [2] (buffer) char: |
| 3004 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3005 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3006 |
functions that limit length, or ensure that the size is larger than the |
| 3007 |
maximum possible length. |
| 3008 |
./packages/OS400/os400sys.c:769: [2] (buffer) memcpy: |
| 3009 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3010 |
Make sure destination can always hold the source data. |
| 3011 |
./packages/OS400/os400sys.c:789: [2] (buffer) memcpy: |
| 3012 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3013 |
Make sure destination can always hold the source data. |
| 3014 |
./packages/OS400/os400sys.c:1219: [2] (buffer) memcpy: |
| 3015 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3016 |
Make sure destination can always hold the source data. |
| 3017 |
./packages/OS400/os400sys.c:1333: [2] (buffer) memcpy: |
| 3018 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3019 |
Make sure destination can always hold the source data. |
| 3020 |
./packages/vms/curl_crtl_init.c:180: [2] (buffer) char: |
| 3021 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3022 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3023 |
functions that limit length, or ensure that the size is larger than the |
| 3024 |
maximum possible length. |
| 3025 |
./src/tool_cb_dbg.c:53: [2] (buffer) char: |
| 3026 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3027 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3028 |
functions that limit length, or ensure that the size is larger than the |
| 3029 |
maximum possible length. |
| 3030 |
./src/tool_cb_dbg.c:82: [2] (misc) fopen: |
| 3031 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3032 |
force the opening of special file type (e.g., device files), move things |
| 3033 |
around to create a race condition, control its ancestors, or change its |
| 3034 |
contents? (CWE-362). |
| 3035 |
./src/tool_cb_hdr.c:153: [2] (buffer) memcpy: |
| 3036 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3037 |
Make sure destination can always hold the source data. |
| 3038 |
./src/tool_cb_hdr.c:226: [2] (buffer) char: |
| 3039 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3040 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3041 |
functions that limit length, or ensure that the size is larger than the |
| 3042 |
maximum possible length. |
| 3043 |
./src/tool_cb_prg.c:47: [2] (buffer) char: |
| 3044 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3045 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3046 |
functions that limit length, or ensure that the size is larger than the |
| 3047 |
maximum possible length. |
| 3048 |
./src/tool_cb_prg.c:48: [2] (buffer) char: |
| 3049 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3050 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3051 |
functions that limit length, or ensure that the size is larger than the |
| 3052 |
maximum possible length. |
| 3053 |
./src/tool_cb_wrt.c:47: [2] (misc) fopen: |
| 3054 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3055 |
force the opening of special file type (e.g., device files), move things |
| 3056 |
around to create a race condition, control its ancestors, or change its |
| 3057 |
contents? (CWE-362). |
| 3058 |
./src/tool_cb_wrt.c:57: [2] (misc) fopen: |
| 3059 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3060 |
force the opening of special file type (e.g., device files), move things |
| 3061 |
around to create a race condition, control its ancestors, or change its |
| 3062 |
contents? (CWE-362). |
| 3063 |
./src/tool_doswin.c:338: [2] (buffer) char: |
| 3064 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3065 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3066 |
functions that limit length, or ensure that the size is larger than the |
| 3067 |
maximum possible length. |
| 3068 |
./src/tool_doswin.c:434: [2] (buffer) memcpy: |
| 3069 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3070 |
Make sure destination can always hold the source data. |
| 3071 |
./src/tool_doswin.c:490: [2] (buffer) char: |
| 3072 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3073 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3074 |
functions that limit length, or ensure that the size is larger than the |
| 3075 |
maximum possible length. |
| 3076 |
./src/tool_easysrc.c:181: [2] (misc) fopen: |
| 3077 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3078 |
force the opening of special file type (e.g., device files), move things |
| 3079 |
around to create a race condition, control its ancestors, or change its |
| 3080 |
contents? (CWE-362). |
| 3081 |
./src/tool_formparse.c:151: [2] (buffer) char: |
| 3082 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3083 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3084 |
functions that limit length, or ensure that the size is larger than the |
| 3085 |
maximum possible length. |
| 3086 |
./src/tool_formparse.c:153: [2] (buffer) char: |
| 3087 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3088 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3089 |
functions that limit length, or ensure that the size is larger than the |
| 3090 |
maximum possible length. |
| 3091 |
./src/tool_formparse.c:154: [2] (buffer) char: |
| 3092 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3093 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3094 |
functions that limit length, or ensure that the size is larger than the |
| 3095 |
maximum possible length. |
| 3096 |
./src/tool_getparam.c:720: [2] (misc) fopen: |
| 3097 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3098 |
force the opening of special file type (e.g., device files), move things |
| 3099 |
around to create a race condition, control its ancestors, or change its |
| 3100 |
contents? (CWE-362). |
| 3101 |
./src/tool_getparam.c:1206: [2] (misc) fopen: |
| 3102 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3103 |
force the opening of special file type (e.g., device files), move things |
| 3104 |
around to create a race condition, control its ancestors, or change its |
| 3105 |
contents? (CWE-362). |
| 3106 |
./src/tool_getparam.c:1272: [2] (misc) fopen: |
| 3107 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3108 |
force the opening of special file type (e.g., device files), move things |
| 3109 |
around to create a race condition, control its ancestors, or change its |
| 3110 |
contents? (CWE-362). |
| 3111 |
./src/tool_getparam.c:1328: [2] (buffer) memcpy: |
| 3112 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3113 |
Make sure destination can always hold the source data. |
| 3114 |
./src/tool_getparam.c:1331: [2] (buffer) memcpy: |
| 3115 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3116 |
Make sure destination can always hold the source data. |
| 3117 |
./src/tool_getparam.c:1774: [2] (buffer) char: |
| 3118 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3119 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3120 |
functions that limit length, or ensure that the size is larger than the |
| 3121 |
maximum possible length. |
| 3122 |
./src/tool_getparam.c:1910: [2] (misc) fopen: |
| 3123 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3124 |
force the opening of special file type (e.g., device files), move things |
| 3125 |
around to create a race condition, control its ancestors, or change its |
| 3126 |
contents? (CWE-362). |
| 3127 |
./src/tool_getpass.c:230: [2] (misc) open: |
| 3128 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3129 |
force the opening of special file type (e.g., device files), move things |
| 3130 |
around to create a race condition, control its ancestors, or change its |
| 3131 |
contents? (CWE-362). |
| 3132 |
./src/tool_homedir.c:36: [2] (buffer) char: |
| 3133 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3134 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3135 |
functions that limit length, or ensure that the size is larger than the |
| 3136 |
maximum possible length. |
| 3137 |
./src/tool_main.c:100: [2] (buffer) char: |
| 3138 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3139 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3140 |
functions that limit length, or ensure that the size is larger than the |
| 3141 |
maximum possible length. |
| 3142 |
./src/tool_metalink.c:135: [2] (buffer) char: |
| 3143 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3144 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3145 |
functions that limit length, or ensure that the size is larger than the |
| 3146 |
maximum possible length. |
| 3147 |
./src/tool_metalink.c:153: [2] (buffer) char: |
| 3148 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3149 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3150 |
functions that limit length, or ensure that the size is larger than the |
| 3151 |
maximum possible length. |
| 3152 |
./src/tool_metalink.c:171: [2] (buffer) char: |
| 3153 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3154 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3155 |
functions that limit length, or ensure that the size is larger than the |
| 3156 |
maximum possible length. |
| 3157 |
./src/tool_metalink.c:191: [2] (buffer) char: |
| 3158 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3159 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3160 |
functions that limit length, or ensure that the size is larger than the |
| 3161 |
maximum possible length. |
| 3162 |
./src/tool_metalink.c:193: [2] (buffer) memcpy: |
| 3163 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3164 |
Make sure destination can always hold the source data. |
| 3165 |
./src/tool_metalink.c:210: [2] (buffer) char: |
| 3166 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3167 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3168 |
functions that limit length, or ensure that the size is larger than the |
| 3169 |
maximum possible length. |
| 3170 |
./src/tool_metalink.c:212: [2] (buffer) memcpy: |
| 3171 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3172 |
Make sure destination can always hold the source data. |
| 3173 |
./src/tool_metalink.c:229: [2] (buffer) char: |
| 3174 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3175 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3176 |
functions that limit length, or ensure that the size is larger than the |
| 3177 |
maximum possible length. |
| 3178 |
./src/tool_metalink.c:231: [2] (buffer) memcpy: |
| 3179 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3180 |
Make sure destination can always hold the source data. |
| 3181 |
./src/tool_metalink.c:283: [2] (buffer) char: |
| 3182 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3183 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3184 |
functions that limit length, or ensure that the size is larger than the |
| 3185 |
maximum possible length. |
| 3186 |
./src/tool_metalink.c:300: [2] (buffer) char: |
| 3187 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3188 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3189 |
functions that limit length, or ensure that the size is larger than the |
| 3190 |
maximum possible length. |
| 3191 |
./src/tool_metalink.c:317: [2] (buffer) char: |
| 3192 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3193 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3194 |
functions that limit length, or ensure that the size is larger than the |
| 3195 |
maximum possible length. |
| 3196 |
./src/tool_metalink.c:337: [2] (buffer) char: |
| 3197 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3198 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3199 |
functions that limit length, or ensure that the size is larger than the |
| 3200 |
maximum possible length. |
| 3201 |
./src/tool_metalink.c:355: [2] (buffer) char: |
| 3202 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3203 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3204 |
functions that limit length, or ensure that the size is larger than the |
| 3205 |
maximum possible length. |
| 3206 |
./src/tool_metalink.c:373: [2] (buffer) char: |
| 3207 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3208 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3209 |
functions that limit length, or ensure that the size is larger than the |
| 3210 |
maximum possible length. |
| 3211 |
./src/tool_metalink.c:410: [2] (buffer) char: |
| 3212 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3213 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3214 |
functions that limit length, or ensure that the size is larger than the |
| 3215 |
maximum possible length. |
| 3216 |
./src/tool_metalink.c:431: [2] (buffer) char: |
| 3217 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3218 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3219 |
functions that limit length, or ensure that the size is larger than the |
| 3220 |
maximum possible length. |
| 3221 |
./src/tool_metalink.c:452: [2] (buffer) char: |
| 3222 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3223 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3224 |
functions that limit length, or ensure that the size is larger than the |
| 3225 |
maximum possible length. |
| 3226 |
./src/tool_metalink.c:565: [2] (buffer) char: |
| 3227 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3228 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3229 |
functions that limit length, or ensure that the size is larger than the |
| 3230 |
maximum possible length. |
| 3231 |
./src/tool_metalink.c:602: [2] (misc) open: |
| 3232 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3233 |
force the opening of special file type (e.g., device files), move things |
| 3234 |
around to create a race condition, control its ancestors, or change its |
| 3235 |
contents? (CWE-362). |
| 3236 |
./src/tool_metalink.c:623: [2] (buffer) char: |
| 3237 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3238 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3239 |
functions that limit length, or ensure that the size is larger than the |
| 3240 |
maximum possible length. |
| 3241 |
./src/tool_msgs.c:45: [2] (buffer) char: |
| 3242 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3243 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3244 |
functions that limit length, or ensure that the size is larger than the |
| 3245 |
maximum possible length. |
| 3246 |
./src/tool_operate.c:149: [2] (buffer) char: |
| 3247 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3248 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3249 |
functions that limit length, or ensure that the size is larger than the |
| 3250 |
maximum possible length. |
| 3251 |
./src/tool_operate.c:155: [2] (misc) fopen: |
| 3252 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3253 |
force the opening of special file type (e.g., device files), move things |
| 3254 |
around to create a race condition, control its ancestors, or change its |
| 3255 |
contents? (CWE-362). |
| 3256 |
./src/tool_operate.c:194: [2] (buffer) char: |
| 3257 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3258 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3259 |
functions that limit length, or ensure that the size is larger than the |
| 3260 |
maximum possible length. |
| 3261 |
./src/tool_operate.c:325: [2] (misc) fopen: |
| 3262 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3263 |
force the opening of special file type (e.g., device files), move things |
| 3264 |
around to create a race condition, control its ancestors, or change its |
| 3265 |
contents? (CWE-362). |
| 3266 |
./src/tool_operate.c:604: [2] (misc) fopen: |
| 3267 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3268 |
force the opening of special file type (e.g., device files), move things |
| 3269 |
around to create a race condition, control its ancestors, or change its |
| 3270 |
contents? (CWE-362). |
| 3271 |
./src/tool_operate.c:608: [2] (misc) fopen: |
| 3272 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3273 |
force the opening of special file type (e.g., device files), move things |
| 3274 |
around to create a race condition, control its ancestors, or change its |
| 3275 |
contents? (CWE-362). |
| 3276 |
./src/tool_operate.c:660: [2] (misc) open: |
| 3277 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3278 |
force the opening of special file type (e.g., device files), move things |
| 3279 |
around to create a race condition, control its ancestors, or change its |
| 3280 |
contents? (CWE-362). |
| 3281 |
./src/tool_operate.c:663: [2] (misc) open: |
| 3282 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3283 |
force the opening of special file type (e.g., device files), move things |
| 3284 |
around to create a race condition, control its ancestors, or change its |
| 3285 |
contents? (CWE-362). |
| 3286 |
./src/tool_operate.c:669: [2] (misc) open: |
| 3287 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3288 |
force the opening of special file type (e.g., device files), move things |
| 3289 |
around to create a race condition, control its ancestors, or change its |
| 3290 |
contents? (CWE-362). |
| 3291 |
./src/tool_operhlp.c:178: [2] (buffer) char: |
| 3292 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3293 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3294 |
functions that limit length, or ensure that the size is larger than the |
| 3295 |
maximum possible length. |
| 3296 |
./src/tool_paramhlp.c:61: [2] (buffer) char: |
| 3297 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3298 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3299 |
functions that limit length, or ensure that the size is larger than the |
| 3300 |
maximum possible length. |
| 3301 |
./src/tool_paramhlp.c:418: [2] (buffer) char: |
| 3302 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3303 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3304 |
functions that limit length, or ensure that the size is larger than the |
| 3305 |
maximum possible length. |
| 3306 |
./src/tool_paramhlp.c:419: [2] (buffer) char: |
| 3307 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3308 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3309 |
functions that limit length, or ensure that the size is larger than the |
| 3310 |
maximum possible length. |
| 3311 |
./src/tool_paramhlp.c:454: [2] (buffer) memcpy: |
| 3312 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3313 |
Make sure destination can always hold the source data. |
| 3314 |
./src/tool_parsecfg.c:51: [2] (buffer) char: |
| 3315 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3316 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3317 |
functions that limit length, or ensure that the size is larger than the |
| 3318 |
maximum possible length. |
| 3319 |
./src/tool_parsecfg.c:72: [2] (misc) fopen: |
| 3320 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3321 |
force the opening of special file type (e.g., device files), move things |
| 3322 |
around to create a race condition, control its ancestors, or change its |
| 3323 |
contents? (CWE-362). |
| 3324 |
./src/tool_parsecfg.c:118: [2] (misc) fopen: |
| 3325 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3326 |
force the opening of special file type (e.g., device files), move things |
| 3327 |
around to create a race condition, control its ancestors, or change its |
| 3328 |
contents? (CWE-362). |
| 3329 |
./src/tool_parsecfg.c:330: [2] (buffer) char: |
| 3330 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3331 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3332 |
functions that limit length, or ensure that the size is larger than the |
| 3333 |
maximum possible length. |
| 3334 |
./src/tool_setopt.c:225: [2] (buffer) strcpy: |
| 3335 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3336 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 3337 |
misused). Risk is low because the source is a constant string. |
| 3338 |
./src/tool_setopt.c:229: [2] (buffer) strcpy: |
| 3339 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3340 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 3341 |
misused). Risk is low because the source is a constant string. |
| 3342 |
./src/tool_setopt.c:233: [2] (buffer) strcpy: |
| 3343 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3344 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 3345 |
misused). Risk is low because the source is a constant string. |
| 3346 |
./src/tool_setopt.c:237: [2] (buffer) strcpy: |
| 3347 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3348 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 3349 |
misused). Risk is low because the source is a constant string. |
| 3350 |
./src/tool_setopt.c:241: [2] (buffer) strcpy: |
| 3351 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3352 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 3353 |
misused). Risk is low because the source is a constant string. |
| 3354 |
./src/tool_setopt.c:302: [2] (buffer) char: |
| 3355 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3356 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3357 |
functions that limit length, or ensure that the size is larger than the |
| 3358 |
maximum possible length. |
| 3359 |
./src/tool_setopt.c:345: [2] (buffer) char: |
| 3360 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3361 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3362 |
functions that limit length, or ensure that the size is larger than the |
| 3363 |
maximum possible length. |
| 3364 |
./src/tool_setopt.c:494: [2] (buffer) char: |
| 3365 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3366 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3367 |
functions that limit length, or ensure that the size is larger than the |
| 3368 |
maximum possible length. |
| 3369 |
./src/tool_strdup.c:42: [2] (buffer) memcpy: |
| 3370 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3371 |
Make sure destination can always hold the source data. |
| 3372 |
./src/tool_urlglob.c:56: [2] (buffer) memcpy: |
| 3373 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3374 |
Make sure destination can always hold the source data. |
| 3375 |
./src/tool_urlglob.c:367: [2] (buffer) memcpy: |
| 3376 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3377 |
Make sure destination can always hold the source data. |
| 3378 |
./src/tool_urlglob.c:456: [2] (buffer) char: |
| 3379 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3380 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3381 |
functions that limit length, or ensure that the size is larger than the |
| 3382 |
maximum possible length. |
| 3383 |
./src/tool_urlglob.c:598: [2] (buffer) char: |
| 3384 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3385 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3386 |
functions that limit length, or ensure that the size is larger than the |
| 3387 |
maximum possible length. |
| 3388 |
./src/tool_urlglob.c:685: [2] (buffer) memcpy: |
| 3389 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3390 |
Make sure destination can always hold the source data. |
| 3391 |
./src/tool_writeenv.c:76: [2] (buffer) char: |
| 3392 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3393 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3394 |
functions that limit length, or ensure that the size is larger than the |
| 3395 |
maximum possible length. |
| 3396 |
./tests/libtest/chkhostname.c:30: [2] (buffer) char: |
| 3397 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3398 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3399 |
functions that limit length, or ensure that the size is larger than the |
| 3400 |
maximum possible length. |
| 3401 |
./tests/libtest/first.c:94: [2] (buffer) char: |
| 3402 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3403 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3404 |
functions that limit length, or ensure that the size is larger than the |
| 3405 |
maximum possible length. |
| 3406 |
./tests/libtest/first.c:121: [2] (buffer) char: |
| 3407 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3408 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3409 |
functions that limit length, or ensure that the size is larger than the |
| 3410 |
maximum possible length. |
| 3411 |
./tests/libtest/lib1502.c:49: [2] (buffer) char: |
| 3412 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3413 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3414 |
functions that limit length, or ensure that the size is larger than the |
| 3415 |
maximum possible length. |
| 3416 |
./tests/libtest/lib1506.c:39: [2] (buffer) char: |
| 3417 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3418 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3419 |
functions that limit length, or ensure that the size is larger than the |
| 3420 |
maximum possible length. |
| 3421 |
./tests/libtest/lib1506.c:40: [2] (buffer) char: |
| 3422 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3423 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3424 |
functions that limit length, or ensure that the size is larger than the |
| 3425 |
maximum possible length. |
| 3426 |
./tests/libtest/lib1510.c:37: [2] (buffer) char: |
| 3427 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3428 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3429 |
functions that limit length, or ensure that the size is larger than the |
| 3430 |
maximum possible length. |
| 3431 |
./tests/libtest/lib1510.c:38: [2] (buffer) char: |
| 3432 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3433 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3434 |
functions that limit length, or ensure that the size is larger than the |
| 3435 |
maximum possible length. |
| 3436 |
./tests/libtest/lib1512.c:41: [2] (buffer) char: |
| 3437 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3438 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3439 |
functions that limit length, or ensure that the size is larger than the |
| 3440 |
maximum possible length. |
| 3441 |
./tests/libtest/lib1512.c:44: [2] (buffer) char: |
| 3442 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3443 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3444 |
functions that limit length, or ensure that the size is larger than the |
| 3445 |
maximum possible length. |
| 3446 |
./tests/libtest/lib1515.c:121: [2] (buffer) char: |
| 3447 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3448 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3449 |
functions that limit length, or ensure that the size is larger than the |
| 3450 |
maximum possible length. |
| 3451 |
./tests/libtest/lib1515.c:134: [2] (buffer) char: |
| 3452 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3453 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3454 |
functions that limit length, or ensure that the size is larger than the |
| 3455 |
maximum possible length. |
| 3456 |
./tests/libtest/lib1517.c:48: [2] (buffer) memcpy: |
| 3457 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3458 |
Make sure destination can always hold the source data. |
| 3459 |
./tests/libtest/lib1520.c:63: [2] (buffer) memcpy: |
| 3460 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3461 |
Make sure destination can always hold the source data. |
| 3462 |
./tests/libtest/lib1525.c:42: [2] (buffer) memcpy: |
| 3463 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3464 |
Make sure destination can always hold the source data. |
| 3465 |
./tests/libtest/lib1526.c:41: [2] (buffer) memcpy: |
| 3466 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3467 |
Make sure destination can always hold the source data. |
| 3468 |
./tests/libtest/lib1527.c:41: [2] (buffer) memcpy: |
| 3469 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3470 |
Make sure destination can always hold the source data. |
| 3471 |
./tests/libtest/lib1529.c:31: [2] (buffer) char: |
| 3472 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3473 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3474 |
functions that limit length, or ensure that the size is larger than the |
| 3475 |
maximum possible length. |
| 3476 |
./tests/libtest/lib1900.c:33: [2] (buffer) char: |
| 3477 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3478 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3479 |
functions that limit length, or ensure that the size is larger than the |
| 3480 |
maximum possible length. |
| 3481 |
./tests/libtest/lib1900.c:35: [2] (buffer) char: |
| 3482 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3483 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3484 |
functions that limit length, or ensure that the size is larger than the |
| 3485 |
maximum possible length. |
| 3486 |
./tests/libtest/lib1900.c:36: [2] (buffer) char: |
| 3487 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3488 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3489 |
functions that limit length, or ensure that the size is larger than the |
| 3490 |
maximum possible length. |
| 3491 |
./tests/libtest/lib1900.c:55: [2] (buffer) char: |
| 3492 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3493 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3494 |
functions that limit length, or ensure that the size is larger than the |
| 3495 |
maximum possible length. |
| 3496 |
./tests/libtest/lib1900.c:61: [2] (misc) fopen: |
| 3497 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3498 |
force the opening of special file type (e.g., device files), move things |
| 3499 |
around to create a race condition, control its ancestors, or change its |
| 3500 |
contents? (CWE-362). |
| 3501 |
./tests/libtest/lib1900.c:114: [2] (buffer) char: |
| 3502 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3503 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3504 |
functions that limit length, or ensure that the size is larger than the |
| 3505 |
maximum possible length. |
| 3506 |
./tests/libtest/lib500.c:97: [2] (misc) fopen: |
| 3507 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3508 |
force the opening of special file type (e.g., device files), move things |
| 3509 |
around to create a race condition, control its ancestors, or change its |
| 3510 |
contents? (CWE-362). |
| 3511 |
./tests/libtest/lib505.c:56: [2] (misc) fopen: |
| 3512 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3513 |
force the opening of special file type (e.g., device files), move things |
| 3514 |
around to create a race condition, control its ancestors, or change its |
| 3515 |
contents? (CWE-362). |
| 3516 |
./tests/libtest/lib510.c:51: [2] (buffer) memcpy: |
| 3517 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3518 |
Make sure destination can always hold the source data. |
| 3519 |
./tests/libtest/lib518.c:55: [2] (buffer) char: |
| 3520 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3521 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3522 |
functions that limit length, or ensure that the size is larger than the |
| 3523 |
maximum possible length. |
| 3524 |
./tests/libtest/lib518.c:87: [2] (misc) fopen: |
| 3525 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3526 |
force the opening of special file type (e.g., device files), move things |
| 3527 |
around to create a race condition, control its ancestors, or change its |
| 3528 |
contents? (CWE-362). |
| 3529 |
./tests/libtest/lib518.c:108: [2] (buffer) char: |
| 3530 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3531 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3532 |
functions that limit length, or ensure that the size is larger than the |
| 3533 |
maximum possible length. |
| 3534 |
./tests/libtest/lib518.c:109: [2] (buffer) char: |
| 3535 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3536 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3537 |
functions that limit length, or ensure that the size is larger than the |
| 3538 |
maximum possible length. |
| 3539 |
./tests/libtest/lib518.c:110: [2] (buffer) char: |
| 3540 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3541 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3542 |
functions that limit length, or ensure that the size is larger than the |
| 3543 |
maximum possible length. |
| 3544 |
./tests/libtest/lib518.c:134: [2] (buffer) strcpy: |
| 3545 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3546 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 3547 |
misused). Risk is low because the source is a constant string. |
| 3548 |
./tests/libtest/lib518.c:142: [2] (buffer) strcpy: |
| 3549 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3550 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 3551 |
misused). Risk is low because the source is a constant string. |
| 3552 |
./tests/libtest/lib518.c:200: [2] (buffer) strcpy: |
| 3553 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3554 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 3555 |
misused). Risk is low because the source is a constant string. |
| 3556 |
./tests/libtest/lib518.c:208: [2] (buffer) strcpy: |
| 3557 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3558 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 3559 |
misused). Risk is low because the source is a constant string. |
| 3560 |
./tests/libtest/lib518.c:326: [2] (misc) open: |
| 3561 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3562 |
force the opening of special file type (e.g., device files), move things |
| 3563 |
around to create a race condition, control its ancestors, or change its |
| 3564 |
contents? (CWE-362). |
| 3565 |
./tests/libtest/lib525.c:56: [2] (misc) fopen: |
| 3566 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3567 |
force the opening of special file type (e.g., device files), move things |
| 3568 |
around to create a race condition, control its ancestors, or change its |
| 3569 |
contents? (CWE-362). |
| 3570 |
./tests/libtest/lib530.c:39: [2] (buffer) char: |
| 3571 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3572 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3573 |
functions that limit length, or ensure that the size is larger than the |
| 3574 |
maximum possible length. |
| 3575 |
./tests/libtest/lib537.c:56: [2] (buffer) char: |
| 3576 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3577 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3578 |
functions that limit length, or ensure that the size is larger than the |
| 3579 |
maximum possible length. |
| 3580 |
./tests/libtest/lib537.c:88: [2] (misc) fopen: |
| 3581 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3582 |
force the opening of special file type (e.g., device files), move things |
| 3583 |
around to create a race condition, control its ancestors, or change its |
| 3584 |
contents? (CWE-362). |
| 3585 |
./tests/libtest/lib537.c:110: [2] (buffer) char: |
| 3586 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3587 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3588 |
functions that limit length, or ensure that the size is larger than the |
| 3589 |
maximum possible length. |
| 3590 |
./tests/libtest/lib537.c:111: [2] (buffer) char: |
| 3591 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3592 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3593 |
functions that limit length, or ensure that the size is larger than the |
| 3594 |
maximum possible length. |
| 3595 |
./tests/libtest/lib537.c:135: [2] (buffer) strcpy: |
| 3596 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3597 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 3598 |
misused). Risk is low because the source is a constant string. |
| 3599 |
./tests/libtest/lib537.c:143: [2] (buffer) strcpy: |
| 3600 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3601 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 3602 |
misused). Risk is low because the source is a constant string. |
| 3603 |
./tests/libtest/lib537.c:195: [2] (buffer) strcpy: |
| 3604 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3605 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 3606 |
misused). Risk is low because the source is a constant string. |
| 3607 |
./tests/libtest/lib537.c:203: [2] (buffer) strcpy: |
| 3608 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3609 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 3610 |
misused). Risk is low because the source is a constant string. |
| 3611 |
./tests/libtest/lib537.c:320: [2] (misc) open: |
| 3612 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3613 |
force the opening of special file type (e.g., device files), move things |
| 3614 |
around to create a race condition, control its ancestors, or change its |
| 3615 |
contents? (CWE-362). |
| 3616 |
./tests/libtest/lib540.c:191: [2] (buffer) char: |
| 3617 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3618 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3619 |
functions that limit length, or ensure that the size is larger than the |
| 3620 |
maximum possible length. |
| 3621 |
./tests/libtest/lib541.c:48: [2] (misc) fopen: |
| 3622 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3623 |
force the opening of special file type (e.g., device files), move things |
| 3624 |
around to create a race condition, control its ancestors, or change its |
| 3625 |
contents? (CWE-362). |
| 3626 |
./tests/libtest/lib544.c:70: [2] (buffer) strcpy: |
| 3627 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3628 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 3629 |
misused). Risk is low because the source is a constant string. |
| 3630 |
./tests/libtest/lib552.c:124: [2] (buffer) char: |
| 3631 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3632 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3633 |
functions that limit length, or ensure that the size is larger than the |
| 3634 |
maximum possible length. |
| 3635 |
./tests/libtest/lib552.c:134: [2] (buffer) memcpy: |
| 3636 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3637 |
Make sure destination can always hold the source data. |
| 3638 |
./tests/libtest/lib553.c:36: [2] (buffer) char: |
| 3639 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3640 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3641 |
functions that limit length, or ensure that the size is larger than the |
| 3642 |
maximum possible length. |
| 3643 |
./tests/libtest/lib553.c:48: [2] (buffer) memcpy: |
| 3644 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3645 |
Make sure destination can always hold the source data. |
| 3646 |
./tests/libtest/lib553.c:56: [2] (buffer) char: |
| 3647 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3648 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3649 |
functions that limit length, or ensure that the size is larger than the |
| 3650 |
maximum possible length. |
| 3651 |
./tests/libtest/lib556.c:74: [2] (buffer) char: |
| 3652 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3653 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3654 |
functions that limit length, or ensure that the size is larger than the |
| 3655 |
maximum possible length. |
| 3656 |
./tests/libtest/lib557.c:61: [2] (buffer) char: |
| 3657 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3658 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3659 |
functions that limit length, or ensure that the size is larger than the |
| 3660 |
maximum possible length. |
| 3661 |
./tests/libtest/lib557.c:68: [2] (buffer) char: |
| 3662 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3663 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3664 |
functions that limit length, or ensure that the size is larger than the |
| 3665 |
maximum possible length. |
| 3666 |
./tests/libtest/lib557.c:75: [2] (buffer) char: |
| 3667 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3668 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3669 |
functions that limit length, or ensure that the size is larger than the |
| 3670 |
maximum possible length. |
| 3671 |
./tests/libtest/lib557.c:82: [2] (buffer) char: |
| 3672 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3673 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3674 |
functions that limit length, or ensure that the size is larger than the |
| 3675 |
maximum possible length. |
| 3676 |
./tests/libtest/lib557.c:89: [2] (buffer) char: |
| 3677 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3678 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3679 |
functions that limit length, or ensure that the size is larger than the |
| 3680 |
maximum possible length. |
| 3681 |
./tests/libtest/lib557.c:96: [2] (buffer) char: |
| 3682 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3683 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3684 |
functions that limit length, or ensure that the size is larger than the |
| 3685 |
maximum possible length. |
| 3686 |
./tests/libtest/lib557.c:103: [2] (buffer) char: |
| 3687 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3688 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3689 |
functions that limit length, or ensure that the size is larger than the |
| 3690 |
maximum possible length. |
| 3691 |
./tests/libtest/lib557.c:1409: [2] (buffer) char: |
| 3692 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3693 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3694 |
functions that limit length, or ensure that the size is larger than the |
| 3695 |
maximum possible length. |
| 3696 |
./tests/libtest/lib557.c:1442: [2] (buffer) char: |
| 3697 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3698 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3699 |
functions that limit length, or ensure that the size is larger than the |
| 3700 |
maximum possible length. |
| 3701 |
./tests/libtest/lib557.c:1546: [2] (buffer) char: |
| 3702 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3703 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3704 |
functions that limit length, or ensure that the size is larger than the |
| 3705 |
maximum possible length. |
| 3706 |
./tests/libtest/lib566.c:54: [2] (misc) fopen: |
| 3707 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3708 |
force the opening of special file type (e.g., device files), move things |
| 3709 |
around to create a race condition, control its ancestors, or change its |
| 3710 |
contents? (CWE-362). |
| 3711 |
./tests/libtest/lib568.c:79: [2] (misc) open: |
| 3712 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3713 |
force the opening of special file type (e.g., device files), move things |
| 3714 |
around to create a race condition, control its ancestors, or change its |
| 3715 |
contents? (CWE-362). |
| 3716 |
./tests/libtest/lib568.c:83: [2] (misc) fopen: |
| 3717 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3718 |
force the opening of special file type (e.g., device files), move things |
| 3719 |
around to create a race condition, control its ancestors, or change its |
| 3720 |
contents? (CWE-362). |
| 3721 |
./tests/libtest/lib569.c:44: [2] (misc) fopen: |
| 3722 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3723 |
force the opening of special file type (e.g., device files), move things |
| 3724 |
around to create a race condition, control its ancestors, or change its |
| 3725 |
contents? (CWE-362). |
| 3726 |
./tests/libtest/lib571.c:109: [2] (misc) fopen: |
| 3727 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3728 |
force the opening of special file type (e.g., device files), move things |
| 3729 |
around to create a race condition, control its ancestors, or change its |
| 3730 |
contents? (CWE-362). |
| 3731 |
./tests/libtest/lib572.c:98: [2] (misc) open: |
| 3732 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3733 |
force the opening of special file type (e.g., device files), move things |
| 3734 |
around to create a race condition, control its ancestors, or change its |
| 3735 |
contents? (CWE-362). |
| 3736 |
./tests/libtest/lib572.c:102: [2] (misc) fopen: |
| 3737 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3738 |
force the opening of special file type (e.g., device files), move things |
| 3739 |
around to create a race condition, control its ancestors, or change its |
| 3740 |
contents? (CWE-362). |
| 3741 |
./tests/libtest/lib578.c:34: [2] (misc) fopen: |
| 3742 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3743 |
force the opening of special file type (e.g., device files), move things |
| 3744 |
around to create a race condition, control its ancestors, or change its |
| 3745 |
contents? (CWE-362). |
| 3746 |
./tests/libtest/lib579.c:56: [2] (misc) fopen: |
| 3747 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3748 |
force the opening of special file type (e.g., device files), move things |
| 3749 |
around to create a race condition, control its ancestors, or change its |
| 3750 |
contents? (CWE-362). |
| 3751 |
./tests/libtest/lib579.c:80: [2] (buffer) memcpy: |
| 3752 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3753 |
Make sure destination can always hold the source data. |
| 3754 |
./tests/libtest/lib582.c:245: [2] (misc) fopen: |
| 3755 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3756 |
force the opening of special file type (e.g., device files), move things |
| 3757 |
around to create a race condition, control its ancestors, or change its |
| 3758 |
contents? (CWE-362). |
| 3759 |
./tests/libtest/lib591.c:51: [2] (misc) fopen: |
| 3760 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3761 |
force the opening of special file type (e.g., device files), move things |
| 3762 |
around to create a race condition, control its ancestors, or change its |
| 3763 |
contents? (CWE-362). |
| 3764 |
./tests/libtest/lib599.c:83: [2] (misc) fopen: |
| 3765 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3766 |
force the opening of special file type (e.g., device files), move things |
| 3767 |
around to create a race condition, control its ancestors, or change its |
| 3768 |
contents? (CWE-362). |
| 3769 |
./tests/libtest/libntlmconnect.c:56: [2] (buffer) memcpy: |
| 3770 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3771 |
Make sure destination can always hold the source data. |
| 3772 |
./tests/libtest/testtrace.c:92: [2] (buffer) char: |
| 3773 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3774 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3775 |
functions that limit length, or ensure that the size is larger than the |
| 3776 |
maximum possible length. |
| 3777 |
./tests/server/fake_ntlm.c:113: [2] (buffer) char: |
| 3778 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3779 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3780 |
functions that limit length, or ensure that the size is larger than the |
| 3781 |
maximum possible length. |
| 3782 |
./tests/server/fake_ntlm.c:186: [2] (misc) fopen: |
| 3783 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3784 |
force the opening of special file type (e.g., device files), move things |
| 3785 |
around to create a race condition, control its ancestors, or change its |
| 3786 |
contents? (CWE-362). |
| 3787 |
./tests/server/fake_ntlm.c:204: [2] (misc) fopen: |
| 3788 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3789 |
force the opening of special file type (e.g., device files), move things |
| 3790 |
around to create a race condition, control its ancestors, or change its |
| 3791 |
contents? (CWE-362). |
| 3792 |
./tests/server/fake_ntlm.c:224: [2] (misc) fopen: |
| 3793 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3794 |
force the opening of special file type (e.g., device files), move things |
| 3795 |
around to create a race condition, control its ancestors, or change its |
| 3796 |
contents? (CWE-362). |
| 3797 |
./tests/server/fake_ntlm.c:246: [2] (misc) fopen: |
| 3798 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3799 |
force the opening of special file type (e.g., device files), move things |
| 3800 |
around to create a race condition, control its ancestors, or change its |
| 3801 |
contents? (CWE-362). |
| 3802 |
./tests/server/getpart.c:183: [2] (buffer) memcpy: |
| 3803 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3804 |
Make sure destination can always hold the source data. |
| 3805 |
./tests/server/getpart.c:218: [2] (buffer) memcpy: |
| 3806 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3807 |
Make sure destination can always hold the source data. |
| 3808 |
./tests/server/getpart.c:253: [2] (buffer) char: |
| 3809 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3810 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3811 |
functions that limit length, or ensure that the size is larger than the |
| 3812 |
maximum possible length. |
| 3813 |
./tests/server/getpart.c:254: [2] (buffer) char: |
| 3814 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3815 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3816 |
functions that limit length, or ensure that the size is larger than the |
| 3817 |
maximum possible length. |
| 3818 |
./tests/server/getpart.c:255: [2] (buffer) char: |
| 3819 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3820 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3821 |
functions that limit length, or ensure that the size is larger than the |
| 3822 |
maximum possible length. |
| 3823 |
./tests/server/getpart.c:256: [2] (buffer) char: |
| 3824 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3825 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3826 |
functions that limit length, or ensure that the size is larger than the |
| 3827 |
maximum possible length. |
| 3828 |
./tests/server/getpart.c:257: [2] (buffer) char: |
| 3829 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3830 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3831 |
functions that limit length, or ensure that the size is larger than the |
| 3832 |
maximum possible length. |
| 3833 |
./tests/server/getpart.c:317: [2] (buffer) memcpy: |
| 3834 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3835 |
Make sure destination can always hold the source data. |
| 3836 |
./tests/server/getpart.c:379: [2] (buffer) memcpy: |
| 3837 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3838 |
Make sure destination can always hold the source data. |
| 3839 |
./tests/server/getpart.c:399: [2] (buffer) memcpy: |
| 3840 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3841 |
Make sure destination can always hold the source data. |
| 3842 |
./tests/server/rtspd.c:95: [2] (buffer) char: |
| 3843 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3844 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3845 |
functions that limit length, or ensure that the size is larger than the |
| 3846 |
maximum possible length. |
| 3847 |
./tests/server/rtspd.c:100: [2] (misc) open: |
| 3848 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3849 |
force the opening of special file type (e.g., device files), move things |
| 3850 |
around to create a race condition, control its ancestors, or change its |
| 3851 |
contents? (CWE-362). |
| 3852 |
./tests/server/rtspd.c:337: [2] (buffer) char: |
| 3853 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3854 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3855 |
functions that limit length, or ensure that the size is larger than the |
| 3856 |
maximum possible length. |
| 3857 |
./tests/server/rtspd.c:338: [2] (buffer) char: |
| 3858 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3859 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3860 |
functions that limit length, or ensure that the size is larger than the |
| 3861 |
maximum possible length. |
| 3862 |
./tests/server/rtspd.c:339: [2] (buffer) char: |
| 3863 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3864 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3865 |
functions that limit length, or ensure that the size is larger than the |
| 3866 |
maximum possible length. |
| 3867 |
./tests/server/rtspd.c:340: [2] (buffer) char: |
| 3868 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3869 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3870 |
functions that limit length, or ensure that the size is larger than the |
| 3871 |
maximum possible length. |
| 3872 |
./tests/server/rtspd.c:424: [2] (misc) fopen: |
| 3873 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3874 |
force the opening of special file type (e.g., device files), move things |
| 3875 |
around to create a race condition, control its ancestors, or change its |
| 3876 |
contents? (CWE-362). |
| 3877 |
./tests/server/rtspd.c:504: [2] (buffer) memcpy: |
| 3878 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3879 |
Make sure destination can always hold the source data. |
| 3880 |
./tests/server/rtspd.c:515: [2] (buffer) memcpy: |
| 3881 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 3882 |
Make sure destination can always hold the source data. |
| 3883 |
./tests/server/rtspd.c:688: [2] (misc) open: |
| 3884 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3885 |
force the opening of special file type (e.g., device files), move things |
| 3886 |
around to create a race condition, control its ancestors, or change its |
| 3887 |
contents? (CWE-362). |
| 3888 |
./tests/server/rtspd.c:744: [2] (misc) fopen: |
| 3889 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3890 |
force the opening of special file type (e.g., device files), move things |
| 3891 |
around to create a race condition, control its ancestors, or change its |
| 3892 |
contents? (CWE-362). |
| 3893 |
./tests/server/rtspd.c:910: [2] (buffer) char: |
| 3894 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3895 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3896 |
functions that limit length, or ensure that the size is larger than the |
| 3897 |
maximum possible length. |
| 3898 |
./tests/server/rtspd.c:912: [2] (buffer) char: |
| 3899 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3900 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3901 |
functions that limit length, or ensure that the size is larger than the |
| 3902 |
maximum possible length. |
| 3903 |
./tests/server/rtspd.c:942: [2] (buffer) char: |
| 3904 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3905 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3906 |
functions that limit length, or ensure that the size is larger than the |
| 3907 |
maximum possible length. |
| 3908 |
./tests/server/rtspd.c:991: [2] (misc) fopen: |
| 3909 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3910 |
force the opening of special file type (e.g., device files), move things |
| 3911 |
around to create a race condition, control its ancestors, or change its |
| 3912 |
contents? (CWE-362). |
| 3913 |
./tests/server/rtspd.c:1015: [2] (misc) fopen: |
| 3914 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3915 |
force the opening of special file type (e.g., device files), move things |
| 3916 |
around to create a race condition, control its ancestors, or change its |
| 3917 |
contents? (CWE-362). |
| 3918 |
./tests/server/rtspd.c:1056: [2] (misc) fopen: |
| 3919 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3920 |
force the opening of special file type (e.g., device files), move things |
| 3921 |
around to create a race condition, control its ancestors, or change its |
| 3922 |
contents? (CWE-362). |
| 3923 |
./tests/server/rtspd.c:1140: [2] (buffer) char: |
| 3924 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3925 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3926 |
functions that limit length, or ensure that the size is larger than the |
| 3927 |
maximum possible length. |
| 3928 |
./tests/server/rtspd.c:1422: [2] (misc) open: |
| 3929 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3930 |
force the opening of special file type (e.g., device files), move things |
| 3931 |
around to create a race condition, control its ancestors, or change its |
| 3932 |
contents? (CWE-362). |
| 3933 |
./tests/server/rtspd.c:1427: [2] (misc) open: |
| 3934 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3935 |
force the opening of special file type (e.g., device files), move things |
| 3936 |
around to create a race condition, control its ancestors, or change its |
| 3937 |
contents? (CWE-362). |
| 3938 |
./tests/server/rtspd.c:1430: [2] (misc) open: |
| 3939 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3940 |
force the opening of special file type (e.g., device files), move things |
| 3941 |
around to create a race condition, control its ancestors, or change its |
| 3942 |
contents? (CWE-362). |
| 3943 |
./tests/server/sockfilt.c:476: [2] (buffer) char: |
| 3944 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3945 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3946 |
functions that limit length, or ensure that the size is larger than the |
| 3947 |
maximum possible length. |
| 3948 |
./tests/server/sockfilt.c:930: [2] (buffer) char: |
| 3949 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3950 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3951 |
functions that limit length, or ensure that the size is larger than the |
| 3952 |
maximum possible length. |
| 3953 |
./tests/server/sockfilt.c:931: [2] (buffer) char: |
| 3954 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3955 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3956 |
functions that limit length, or ensure that the size is larger than the |
| 3957 |
maximum possible length. |
| 3958 |
./tests/server/sws.c:95: [2] (buffer) char: |
| 3959 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3960 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3961 |
functions that limit length, or ensure that the size is larger than the |
| 3962 |
maximum possible length. |
| 3963 |
./tests/server/sws.c:102: [2] (misc) open: |
| 3964 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3965 |
force the opening of special file type (e.g., device files), move things |
| 3966 |
around to create a race condition, control its ancestors, or change its |
| 3967 |
contents? (CWE-362). |
| 3968 |
./tests/server/sws.c:362: [2] (misc) fopen: |
| 3969 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3970 |
force the opening of special file type (e.g., device files), move things |
| 3971 |
around to create a race condition, control its ancestors, or change its |
| 3972 |
contents? (CWE-362). |
| 3973 |
./tests/server/sws.c:461: [2] (buffer) char: |
| 3974 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3975 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3976 |
functions that limit length, or ensure that the size is larger than the |
| 3977 |
maximum possible length. |
| 3978 |
./tests/server/sws.c:462: [2] (buffer) char: |
| 3979 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3980 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3981 |
functions that limit length, or ensure that the size is larger than the |
| 3982 |
maximum possible length. |
| 3983 |
./tests/server/sws.c:463: [2] (buffer) char: |
| 3984 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 3985 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 3986 |
functions that limit length, or ensure that the size is larger than the |
| 3987 |
maximum possible length. |
| 3988 |
./tests/server/sws.c:795: [2] (misc) open: |
| 3989 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3990 |
force the opening of special file type (e.g., device files), move things |
| 3991 |
around to create a race condition, control its ancestors, or change its |
| 3992 |
contents? (CWE-362). |
| 3993 |
./tests/server/sws.c:861: [2] (misc) fopen: |
| 3994 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 3995 |
force the opening of special file type (e.g., device files), move things |
| 3996 |
around to create a race condition, control its ancestors, or change its |
| 3997 |
contents? (CWE-362). |
| 3998 |
./tests/server/sws.c:1050: [2] (buffer) char: |
| 3999 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4000 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4001 |
functions that limit length, or ensure that the size is larger than the |
| 4002 |
maximum possible length. |
| 4003 |
./tests/server/sws.c:1078: [2] (buffer) char: |
| 4004 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4005 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4006 |
functions that limit length, or ensure that the size is larger than the |
| 4007 |
maximum possible length. |
| 4008 |
./tests/server/sws.c:1108: [2] (buffer) char: |
| 4009 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4010 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4011 |
functions that limit length, or ensure that the size is larger than the |
| 4012 |
maximum possible length. |
| 4013 |
./tests/server/sws.c:1122: [2] (misc) fopen: |
| 4014 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 4015 |
force the opening of special file type (e.g., device files), move things |
| 4016 |
around to create a race condition, control its ancestors, or change its |
| 4017 |
contents? (CWE-362). |
| 4018 |
./tests/server/sws.c:1145: [2] (misc) fopen: |
| 4019 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 4020 |
force the opening of special file type (e.g., device files), move things |
| 4021 |
around to create a race condition, control its ancestors, or change its |
| 4022 |
contents? (CWE-362). |
| 4023 |
./tests/server/sws.c:1185: [2] (misc) fopen: |
| 4024 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 4025 |
force the opening of special file type (e.g., device files), move things |
| 4026 |
around to create a race condition, control its ancestors, or change its |
| 4027 |
contents? (CWE-362). |
| 4028 |
./tests/server/sws.c:1254: [2] (buffer) char: |
| 4029 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4030 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4031 |
functions that limit length, or ensure that the size is larger than the |
| 4032 |
maximum possible length. |
| 4033 |
./tests/server/sws.c:1416: [2] (buffer) char: |
| 4034 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4035 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4036 |
functions that limit length, or ensure that the size is larger than the |
| 4037 |
maximum possible length. |
| 4038 |
./tests/server/sws.c:1417: [2] (buffer) char: |
| 4039 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4040 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4041 |
functions that limit length, or ensure that the size is larger than the |
| 4042 |
maximum possible length. |
| 4043 |
./tests/server/sws.c:1917: [2] (misc) open: |
| 4044 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 4045 |
force the opening of special file type (e.g., device files), move things |
| 4046 |
around to create a race condition, control its ancestors, or change its |
| 4047 |
contents? (CWE-362). |
| 4048 |
./tests/server/sws.c:1942: [2] (misc) open: |
| 4049 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 4050 |
force the opening of special file type (e.g., device files), move things |
| 4051 |
around to create a race condition, control its ancestors, or change its |
| 4052 |
contents? (CWE-362). |
| 4053 |
./tests/server/sws.c:1969: [2] (buffer) char: |
| 4054 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4055 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4056 |
functions that limit length, or ensure that the size is larger than the |
| 4057 |
maximum possible length. |
| 4058 |
./tests/server/sws.c:2314: [2] (misc) open: |
| 4059 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 4060 |
force the opening of special file type (e.g., device files), move things |
| 4061 |
around to create a race condition, control its ancestors, or change its |
| 4062 |
contents? (CWE-362). |
| 4063 |
./tests/server/tftp.h:45: [2] (buffer) char: |
| 4064 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4065 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4066 |
functions that limit length, or ensure that the size is larger than the |
| 4067 |
maximum possible length. |
| 4068 |
./tests/server/tftpd.c:128: [2] (buffer) char: |
| 4069 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4070 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4071 |
functions that limit length, or ensure that the size is larger than the |
| 4072 |
maximum possible length. |
| 4073 |
./tests/server/tftpd.c:498: [2] (buffer) memcpy: |
| 4074 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 4075 |
Make sure destination can always hold the source data. |
| 4076 |
./tests/server/tftpd.c:571: [2] (buffer) char: |
| 4077 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4078 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4079 |
functions that limit length, or ensure that the size is larger than the |
| 4080 |
maximum possible length. |
| 4081 |
./tests/server/tftpd.c:574: [2] (misc) open: |
| 4082 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 4083 |
force the opening of special file type (e.g., device files), move things |
| 4084 |
around to create a race condition, control its ancestors, or change its |
| 4085 |
contents? (CWE-362). |
| 4086 |
./tests/server/tftpd.c:576: [2] (misc) open: |
| 4087 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 4088 |
force the opening of special file type (e.g., device files), move things |
| 4089 |
around to create a race condition, control its ancestors, or change its |
| 4090 |
contents? (CWE-362). |
| 4091 |
./tests/server/tftpd.c:638: [2] (buffer) char: |
| 4092 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4093 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4094 |
functions that limit length, or ensure that the size is larger than the |
| 4095 |
maximum possible length. |
| 4096 |
./tests/server/tftpd.c:967: [2] (misc) fopen: |
| 4097 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 4098 |
force the opening of special file type (e.g., device files), move things |
| 4099 |
around to create a race condition, control its ancestors, or change its |
| 4100 |
contents? (CWE-362). |
| 4101 |
./tests/server/tftpd.c:1077: [2] (misc) fopen: |
| 4102 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 4103 |
force the opening of special file type (e.g., device files), move things |
| 4104 |
around to create a race condition, control its ancestors, or change its |
| 4105 |
contents? (CWE-362). |
| 4106 |
./tests/server/tftpd.c:1143: [2] (buffer) char: |
| 4107 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4108 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4109 |
functions that limit length, or ensure that the size is larger than the |
| 4110 |
maximum possible length. |
| 4111 |
./tests/server/tftpd.c:1148: [2] (buffer) char: |
| 4112 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4113 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4114 |
functions that limit length, or ensure that the size is larger than the |
| 4115 |
maximum possible length. |
| 4116 |
./tests/server/tftpd.c:1195: [2] (misc) fopen: |
| 4117 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 4118 |
force the opening of special file type (e.g., device files), move things |
| 4119 |
around to create a race condition, control its ancestors, or change its |
| 4120 |
contents? (CWE-362). |
| 4121 |
./tests/server/tftpd.c:1430: [2] (buffer) memcpy: |
| 4122 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 4123 |
Make sure destination can always hold the source data. |
| 4124 |
./tests/server/util.c:68: [2] (buffer) char: |
| 4125 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4126 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4127 |
functions that limit length, or ensure that the size is larger than the |
| 4128 |
maximum possible length. |
| 4129 |
./tests/server/util.c:92: [2] (buffer) char: |
| 4130 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4131 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4132 |
functions that limit length, or ensure that the size is larger than the |
| 4133 |
maximum possible length. |
| 4134 |
./tests/server/util.c:98: [2] (buffer) char: |
| 4135 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4136 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4137 |
functions that limit length, or ensure that the size is larger than the |
| 4138 |
maximum possible length. |
| 4139 |
./tests/server/util.c:122: [2] (misc) fopen: |
| 4140 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 4141 |
force the opening of special file type (e.g., device files), move things |
| 4142 |
around to create a race condition, control its ancestors, or change its |
| 4143 |
contents? (CWE-362). |
| 4144 |
./tests/server/util.c:140: [2] (buffer) char: |
| 4145 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4146 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4147 |
functions that limit length, or ensure that the size is larger than the |
| 4148 |
maximum possible length. |
| 4149 |
./tests/server/util.c:188: [2] (buffer) char: |
| 4150 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4151 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4152 |
functions that limit length, or ensure that the size is larger than the |
| 4153 |
maximum possible length. |
| 4154 |
./tests/server/util.c:256: [2] (misc) fopen: |
| 4155 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 4156 |
force the opening of special file type (e.g., device files), move things |
| 4157 |
around to create a race condition, control its ancestors, or change its |
| 4158 |
contents? (CWE-362). |
| 4159 |
./tests/server/util.c:274: [2] (misc) fopen: |
| 4160 |
Check when opening files - can an attacker redirect it (via symlinks), |
| 4161 |
force the opening of special file type (e.g., device files), move things |
| 4162 |
around to create a race condition, control its ancestors, or change its |
| 4163 |
contents? (CWE-362). |
| 4164 |
./tests/unit/unit1304.c:28: [2] (buffer) char: |
| 4165 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4166 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4167 |
functions that limit length, or ensure that the size is larger than the |
| 4168 |
maximum possible length. |
| 4169 |
./tests/unit/unit1304.c:52: [2] (buffer) memcpy: |
| 4170 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 4171 |
Make sure destination can always hold the source data. |
| 4172 |
./tests/unit/unit1307.c:34: [2] (buffer) char: |
| 4173 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4174 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4175 |
functions that limit length, or ensure that the size is larger than the |
| 4176 |
maximum possible length. |
| 4177 |
./tests/unit/unit1307.c:35: [2] (buffer) char: |
| 4178 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4179 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4180 |
functions that limit length, or ensure that the size is larger than the |
| 4181 |
maximum possible length. |
| 4182 |
./tests/unit/unit1395.c:71: [2] (buffer) char: |
| 4183 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4184 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4185 |
functions that limit length, or ensure that the size is larger than the |
| 4186 |
maximum possible length. |
| 4187 |
./tests/unit/unit1398.c:32: [2] (buffer) char: |
| 4188 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4189 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4190 |
functions that limit length, or ensure that the size is larger than the |
| 4191 |
maximum possible length. |
| 4192 |
./tests/unit/unit1398.c:35: [2] (buffer) char: |
| 4193 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4194 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4195 |
functions that limit length, or ensure that the size is larger than the |
| 4196 |
maximum possible length. |
| 4197 |
./tests/unit/unit1600.c:44: [2] (buffer) char: |
| 4198 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4199 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4200 |
functions that limit length, or ensure that the size is larger than the |
| 4201 |
maximum possible length. |
| 4202 |
./tests/unit/unit1601.c:39: [2] (buffer) char: |
| 4203 |
Statically-sized arrays can be improperly restricted, leading to potential |
| 4204 |
overflows or other issues (CWE-119:CWE-120). Perform bounds checking, use |
| 4205 |
functions that limit length, or ensure that the size is larger than the |
| 4206 |
maximum possible length. |
| 4207 |
./docs/examples/anyauthput.c:110: [1] (buffer) read: |
| 4208 |
Check buffer boundaries if used in a loop including recursive loops |
| 4209 |
(CWE-120, CWE-20). |
| 4210 |
./docs/examples/asiohiper.cpp:319: [1] (buffer) strncpy: |
| 4211 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 4212 |
pointers (CWE-120). |
| 4213 |
./docs/examples/cookie_interface.c:95: [1] (port) snprintf: |
| 4214 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4215 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4216 |
Check it during installation, or use something else. |
| 4217 |
./docs/examples/cookie_interface.c:112: [1] (port) snprintf: |
| 4218 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4219 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4220 |
Check it during installation, or use something else. |
| 4221 |
./docs/examples/curlx.c:449: [1] (buffer) strlen: |
| 4222 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4223 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4224 |
./docs/examples/curlx.c:451: [1] (port) snprintf: |
| 4225 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4226 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4227 |
Check it during installation, or use something else. |
| 4228 |
./docs/examples/curlx.c:492: [1] (buffer) strlen: |
| 4229 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4230 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4231 |
./docs/examples/curlx.c:493: [1] (port) snprintf: |
| 4232 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4233 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4234 |
Check it during installation, or use something else. |
| 4235 |
./docs/examples/curlx.c:493: [1] (buffer) strlen: |
| 4236 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4237 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4238 |
./docs/examples/evhiperfifo.c:380: [1] (buffer) fscanf: |
| 4239 |
It's unclear if the %s limit in the format string is small enough |
| 4240 |
(CWE-120). Check that the limit is sufficiently small, or use a different |
| 4241 |
input function. |
| 4242 |
./docs/examples/fopen.c:486: [1] (buffer) strlen: |
| 4243 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4244 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4245 |
./docs/examples/hiperfifo.c:362: [1] (buffer) fscanf: |
| 4246 |
It's unclear if the %s limit in the format string is small enough |
| 4247 |
(CWE-120). Check that the limit is sufficiently small, or use a different |
| 4248 |
input function. |
| 4249 |
./docs/examples/http2-download.c:152: [1] (port) snprintf: |
| 4250 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4251 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4252 |
Check it during installation, or use something else. |
| 4253 |
./docs/examples/http2-serverpush.c:172: [1] (port) snprintf: |
| 4254 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4255 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4256 |
Check it during installation, or use something else. |
| 4257 |
./docs/examples/http2-upload.c:133: [1] (port) snprintf: |
| 4258 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4259 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4260 |
Check it during installation, or use something else. |
| 4261 |
./docs/examples/http2-upload.c:190: [1] (port) snprintf: |
| 4262 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4263 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4264 |
Check it during installation, or use something else. |
| 4265 |
./docs/examples/http2-upload.c:193: [1] (port) snprintf: |
| 4266 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4267 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4268 |
Check it during installation, or use something else. |
| 4269 |
./docs/examples/imap-append.c:74: [1] (buffer) strlen: |
| 4270 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4271 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4272 |
./docs/examples/imap-append.c:114: [1] (buffer) strlen: |
| 4273 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4274 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4275 |
./docs/examples/multi-uv.c:80: [1] (port) snprintf: |
| 4276 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4277 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4278 |
Check it during installation, or use something else. |
| 4279 |
./docs/examples/post-callback.c:63: [1] (buffer) strlen: |
| 4280 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4281 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4282 |
./docs/examples/postinmemory.c:86: [1] (buffer) strlen: |
| 4283 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4284 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4285 |
./docs/examples/rtsp.c:53: [1] (buffer) getchar: |
| 4286 |
Check buffer boundaries if used in a loop including recursive loops |
| 4287 |
(CWE-120, CWE-20). |
| 4288 |
./docs/examples/rtsp.c:154: [1] (port) snprintf: |
| 4289 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4290 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4291 |
Check it during installation, or use something else. |
| 4292 |
./docs/examples/rtsp.c:217: [1] (buffer) strlen: |
| 4293 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4294 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4295 |
./docs/examples/rtsp.c:218: [1] (buffer) strlen: |
| 4296 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4297 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4298 |
./docs/examples/rtsp.c:219: [1] (buffer) strlen: |
| 4299 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4300 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4301 |
./docs/examples/rtsp.c:221: [1] (buffer) strlen: |
| 4302 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4303 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4304 |
./docs/examples/rtsp.c:242: [1] (port) snprintf: |
| 4305 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4306 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4307 |
Check it during installation, or use something else. |
| 4308 |
./docs/examples/rtsp.c:242: [1] (buffer) strlen: |
| 4309 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4310 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4311 |
./docs/examples/rtsp.c:252: [1] (port) snprintf: |
| 4312 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4313 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4314 |
Check it during installation, or use something else. |
| 4315 |
./docs/examples/rtsp.c:252: [1] (buffer) strlen: |
| 4316 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4317 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4318 |
./docs/examples/rtsp.c:256: [1] (port) snprintf: |
| 4319 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4320 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4321 |
Check it during installation, or use something else. |
| 4322 |
./docs/examples/rtsp.c:256: [1] (buffer) strlen: |
| 4323 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4324 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4325 |
./docs/examples/sendrecv.c:65: [1] (buffer) strlen: |
| 4326 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4327 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4328 |
./docs/examples/simplepost.c:44: [1] (buffer) strlen: |
| 4329 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4330 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4331 |
./docs/examples/smtp-mail.c:75: [1] (buffer) strlen: |
| 4332 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4333 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4334 |
./docs/examples/smtp-multi.c:76: [1] (buffer) strlen: |
| 4335 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4336 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4337 |
./docs/examples/smtp-ssl.c:76: [1] (buffer) strlen: |
| 4338 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4339 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4340 |
./docs/examples/smtp-tls.c:76: [1] (buffer) strlen: |
| 4341 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4342 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4343 |
./docs/examples/synctime.c:151: [1] (buffer) strlen: |
| 4344 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4345 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4346 |
./docs/examples/synctime.c:187: [1] (buffer) strlen: |
| 4347 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4348 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4349 |
./docs/examples/synctime.c:190: [1] (buffer) strlen: |
| 4350 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4351 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4352 |
./docs/examples/synctime.c:277: [1] (port) snprintf: |
| 4353 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4354 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4355 |
Check it during installation, or use something else. |
| 4356 |
./docs/examples/synctime.c:286: [1] (port) snprintf: |
| 4357 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4358 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4359 |
Check it during installation, or use something else. |
| 4360 |
./docs/examples/synctime.c:289: [1] (port) snprintf: |
| 4361 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4362 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4363 |
Check it during installation, or use something else. |
| 4364 |
./docs/examples/synctime.c:301: [1] (port) snprintf: |
| 4365 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4366 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4367 |
Check it during installation, or use something else. |
| 4368 |
./docs/examples/synctime.c:319: [1] (port) snprintf: |
| 4369 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4370 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4371 |
Check it during installation, or use something else. |
| 4372 |
./docs/examples/synctime.c:321: [1] (port) snprintf: |
| 4373 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4374 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4375 |
Check it during installation, or use something else. |
| 4376 |
./docs/examples/synctime.c:326: [1] (port) snprintf: |
| 4377 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4378 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4379 |
Check it during installation, or use something else. |
| 4380 |
./docs/examples/synctime.c:340: [1] (port) snprintf: |
| 4381 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4382 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4383 |
Check it during installation, or use something else. |
| 4384 |
./docs/examples/synctime.c:356: [1] (port) snprintf: |
| 4385 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4386 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4387 |
Check it during installation, or use something else. |
| 4388 |
./lib/asyn-thread.c:273: [1] (port) snprintf: |
| 4389 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4390 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4391 |
Check it during installation, or use something else. |
| 4392 |
./lib/asyn-thread.c:647: [1] (port) snprintf: |
| 4393 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4394 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4395 |
Check it during installation, or use something else. |
| 4396 |
./lib/base64.c:114: [1] (buffer) strlen: |
| 4397 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4398 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4399 |
./lib/base64.c:191: [1] (buffer) strlen: |
| 4400 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4401 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4402 |
./lib/base64.c:237: [1] (port) snprintf: |
| 4403 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4404 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4405 |
Check it during installation, or use something else. |
| 4406 |
./lib/base64.c:243: [1] (port) snprintf: |
| 4407 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4408 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4409 |
Check it during installation, or use something else. |
| 4410 |
./lib/base64.c:250: [1] (port) snprintf: |
| 4411 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4412 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4413 |
Check it during installation, or use something else. |
| 4414 |
./lib/base64.c:269: [1] (buffer) strlen: |
| 4415 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4416 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4417 |
./lib/conncache.c:156: [1] (buffer) strlen: |
| 4418 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4419 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4420 |
./lib/conncache.c:168: [1] (buffer) strlen: |
| 4421 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4422 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4423 |
./lib/connect.c:269: [1] (buffer) strlen: |
| 4424 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4425 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4426 |
./lib/connect.c:277: [1] (buffer) strlen: |
| 4427 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4428 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4429 |
./lib/connect.c:278: [1] (buffer) strlen: |
| 4430 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4431 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4432 |
./lib/connect.c:281: [1] (buffer) strlen: |
| 4433 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4434 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4435 |
./lib/connect.c:282: [1] (buffer) strlen: |
| 4436 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4437 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4438 |
./lib/connect.c:322: [1] (buffer) strlen: |
| 4439 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4440 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4441 |
./lib/connect.c:647: [1] (port) snprintf: |
| 4442 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4443 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4444 |
Check it during installation, or use something else. |
| 4445 |
./lib/cookie.c:122: [1] (buffer) strlen: |
| 4446 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4447 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4448 |
./lib/cookie.c:123: [1] (buffer) strlen: |
| 4449 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4450 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4451 |
./lib/cookie.c:158: [1] (buffer) strlen: |
| 4452 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4453 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4454 |
./lib/cookie.c:172: [1] (buffer) strlen: |
| 4455 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4456 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4457 |
./lib/cookie.c:188: [1] (buffer) strlen: |
| 4458 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4459 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4460 |
./lib/cookie.c:231: [1] (buffer) strlen: |
| 4461 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4462 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4463 |
./lib/cookie.c:428: [1] (buffer) strlen: |
| 4464 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4465 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4466 |
./lib/cookie.c:429: [1] (buffer) strlen: |
| 4467 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4468 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4469 |
./lib/cookie.c:915: [1] (buffer) strlen: |
| 4470 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4471 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4472 |
./lib/cookie.c:1034: [1] (buffer) strlen: |
| 4473 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4474 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4475 |
./lib/cookie.c:1035: [1] (buffer) strlen: |
| 4476 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4477 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4478 |
./lib/cookie.c:1041: [1] (buffer) strlen: |
| 4479 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4480 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4481 |
./lib/cookie.c:1042: [1] (buffer) strlen: |
| 4482 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4483 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4484 |
./lib/curl_addrinfo.c:502: [1] (buffer) strlen: |
| 4485 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4486 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4487 |
./lib/curl_gethostname.c:69: [1] (buffer) strncpy: |
| 4488 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 4489 |
pointers (CWE-120). |
| 4490 |
./lib/curl_gssapi.c:95: [1] (port) snprintf: |
| 4491 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4492 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4493 |
Check it during installation, or use something else. |
| 4494 |
./lib/curl_ntlm_core.c:448: [1] (buffer) strlen: |
| 4495 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4496 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4497 |
./lib/curl_ntlm_core.c:537: [1] (buffer) strlen: |
| 4498 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4499 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4500 |
./lib/curl_ntlm_wb.c:262: [1] (buffer) strlen: |
| 4501 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4502 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4503 |
./lib/curl_sasl.c:385: [1] (buffer) strlen: |
| 4504 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4505 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4506 |
./lib/curl_setup_once.h:131: [1] (buffer) read: |
| 4507 |
Check buffer boundaries if used in a loop including recursive loops |
| 4508 |
(CWE-120, CWE-20). |
| 4509 |
./lib/curl_sspi.c:179: [1] (buffer) _tcslen: |
| 4510 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4511 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4512 |
./lib/curl_sspi.c:188: [1] (buffer) _tcsncpy: |
| 4513 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 4514 |
pointers (CWE-120). |
| 4515 |
./lib/curl_sspi.c:206: [1] (buffer) _tcslen: |
| 4516 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4517 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4518 |
./lib/dotdot.c:55: [1] (buffer) strlen: |
| 4519 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4520 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4521 |
./lib/dotdot.c:173: [1] (buffer) strlen: |
| 4522 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4523 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4524 |
./lib/escape.c:94: [1] (buffer) strlen: |
| 4525 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4526 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4527 |
./lib/escape.c:128: [1] (port) snprintf: |
| 4528 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4529 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4530 |
Check it during installation, or use something else. |
| 4531 |
./lib/escape.c:153: [1] (buffer) strlen: |
| 4532 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4533 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4534 |
./lib/file.c:479: [1] (port) snprintf: |
| 4535 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4536 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4537 |
Check it during installation, or use something else. |
| 4538 |
./lib/file.c:496: [1] (port) snprintf: |
| 4539 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4540 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4541 |
Check it during installation, or use something else. |
| 4542 |
./lib/file.c:569: [1] (buffer) read: |
| 4543 |
Check buffer boundaries if used in a loop including recursive loops |
| 4544 |
(CWE-120, CWE-20). |
| 4545 |
./lib/formdata.c:94: [1] (buffer) strlen: |
| 4546 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4547 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4548 |
./lib/formdata.c:204: [1] (buffer) strlen: |
| 4549 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4550 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4551 |
./lib/formdata.c:204: [1] (buffer) strlen: |
| 4552 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4553 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4554 |
./lib/formdata.c:206: [1] (buffer) strlen: |
| 4555 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4556 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4557 |
./lib/formdata.c:206: [1] (buffer) strlen: |
| 4558 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4559 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4560 |
./lib/formdata.c:655: [1] (buffer) strlen: |
| 4561 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4562 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4563 |
./lib/formdata.c:669: [1] (buffer) strlen: |
| 4564 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4565 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4566 |
./lib/formdata.c:842: [1] (buffer) strlen: |
| 4567 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4568 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4569 |
./lib/formdata.c:1120: [1] (buffer) strlen: |
| 4570 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4571 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4572 |
./lib/ftp.c:1016: [1] (buffer) strlen: |
| 4573 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4574 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4575 |
./lib/ftp.c:1019: [1] (buffer) strlen: |
| 4576 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4577 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4578 |
./lib/ftp.c:1020: [1] (buffer) strlen: |
| 4579 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4580 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4581 |
./lib/ftp.c:1022: [1] (buffer) strlen: |
| 4582 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4583 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4584 |
./lib/ftp.c:1023: [1] (buffer) strlen: |
| 4585 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4586 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4587 |
./lib/ftp.c:1040: [1] (buffer) strncpy: |
| 4588 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 4589 |
pointers (CWE-120). |
| 4590 |
./lib/ftp.c:1062: [1] (buffer) strncpy: |
| 4591 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 4592 |
pointers (CWE-120). |
| 4593 |
./lib/ftp.c:1324: [1] (port) snprintf: |
| 4594 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4595 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4596 |
Check it during installation, or use something else. |
| 4597 |
./lib/ftp.c:1524: [1] (buffer) strlen: |
| 4598 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4599 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4600 |
./lib/ftp.c:2110: [1] (port) snprintf: |
| 4601 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4602 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4603 |
Check it during installation, or use something else. |
| 4604 |
./lib/ftp.c:2134: [1] (port) snprintf: |
| 4605 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4606 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4607 |
Check it during installation, or use something else. |
| 4608 |
./lib/ftp.c:2321: [1] (port) snprintf: |
| 4609 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4610 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4611 |
Check it during installation, or use something else. |
| 4612 |
./lib/ftp.c:3244: [1] (buffer) strlen: |
| 4613 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4614 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4615 |
./lib/ftp.c:3245: [1] (buffer) strlen: |
| 4616 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4617 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4618 |
./lib/ftp.c:4045: [1] (buffer) strlen: |
| 4619 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4620 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4621 |
./lib/ftp.c:4207: [1] (buffer) strlen: |
| 4622 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4623 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4624 |
./lib/ftp.c:4355: [1] (buffer) strlen: |
| 4625 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4626 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4627 |
./lib/ftp.c:4356: [1] (buffer) strlen: |
| 4628 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4629 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4630 |
./lib/gopher.c:89: [1] (buffer) strlen: |
| 4631 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4632 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4633 |
./lib/gopher.c:91: [1] (buffer) strlen: |
| 4634 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4635 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4636 |
./lib/gopher.c:102: [1] (buffer) strlen: |
| 4637 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4638 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4639 |
./lib/hostcheck.c:74: [1] (buffer) strlen: |
| 4640 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4641 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4642 |
./lib/hostcheck.c:77: [1] (buffer) strlen: |
| 4643 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4644 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4645 |
./lib/hostip.c:304: [1] (buffer) strlen: |
| 4646 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4647 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4648 |
./lib/hostip.c:390: [1] (buffer) strlen: |
| 4649 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4650 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4651 |
./lib/hostip.c:804: [1] (buffer) strlen: |
| 4652 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4653 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4654 |
./lib/hostip.c:824: [1] (buffer) sscanf: |
| 4655 |
It's unclear if the %s limit in the format string is small enough |
| 4656 |
(CWE-120). Check that the limit is sufficiently small, or use a different |
| 4657 |
input function. |
| 4658 |
./lib/hostip.c:845: [1] (buffer) strlen: |
| 4659 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4660 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4661 |
./lib/hostip4.c:147: [1] (port) snprintf: |
| 4662 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4663 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4664 |
Check it during installation, or use something else. |
| 4665 |
./lib/hostip6.c:214: [1] (port) snprintf: |
| 4666 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4667 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4668 |
Check it during installation, or use something else. |
| 4669 |
./lib/http.c:181: [1] (buffer) strlen: |
| 4670 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4671 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4672 |
./lib/http.c:205: [1] (buffer) strlen: |
| 4673 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4674 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4675 |
./lib/http.c:300: [1] (port) snprintf: |
| 4676 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4677 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4678 |
Check it during installation, or use something else. |
| 4679 |
./lib/http.c:303: [1] (buffer) strlen: |
| 4680 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4681 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4682 |
./lib/http.c:416: [1] (buffer) strlen: |
| 4683 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4684 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4685 |
./lib/http.c:840: [1] (buffer) strlen: |
| 4686 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4687 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4688 |
./lib/http.c:1221: [1] (buffer) strlen: |
| 4689 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4690 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4691 |
./lib/http.c:1305: [1] (buffer) strlen: |
| 4692 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4693 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4694 |
./lib/http.c:1333: [1] (buffer) strlen: |
| 4695 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4696 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4697 |
./lib/http.c:1694: [1] (port) snprintf: |
| 4698 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4699 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4700 |
Check it during installation, or use something else. |
| 4701 |
./lib/http.c:1969: [1] (buffer) strlen: |
| 4702 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4703 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4704 |
./lib/http.c:2035: [1] (buffer) strlen: |
| 4705 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4706 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4707 |
./lib/http.c:2036: [1] (buffer) strlen: |
| 4708 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4709 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4710 |
./lib/http.c:2037: [1] (buffer) strlen: |
| 4711 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4712 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4713 |
./lib/http.c:2081: [1] (buffer) strlen: |
| 4714 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4715 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4716 |
./lib/http.c:2084: [1] (port) snprintf: |
| 4717 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4718 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4719 |
Check it during installation, or use something else. |
| 4720 |
./lib/http.c:2250: [1] (buffer) strlen: |
| 4721 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4722 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4723 |
./lib/http.c:2549: [1] (buffer) strlen: |
| 4724 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4725 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4726 |
./lib/http.c:2761: [1] (buffer) strlen: |
| 4727 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4728 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4729 |
./lib/http.c:2799: [1] (buffer) strlen: |
| 4730 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4731 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4732 |
./lib/http.c:3275: [1] (buffer) strncpy: |
| 4733 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 4734 |
pointers (CWE-120). |
| 4735 |
./lib/http.c:3444: [1] (buffer) strlen: |
| 4736 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4737 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4738 |
./lib/http.c:3675: [1] (buffer) strlen: |
| 4739 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4740 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4741 |
./lib/http2.c:225: [1] (port) snprintf: |
| 4742 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4743 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4744 |
Check it during installation, or use something else. |
| 4745 |
./lib/http2.c:333: [1] (buffer) strlen: |
| 4746 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4747 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4748 |
./lib/http2.c:1749: [1] (buffer) strlen: |
| 4749 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4750 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4751 |
./lib/http2.c:1771: [1] (buffer) strlen: |
| 4752 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4753 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4754 |
./lib/http2.c:1784: [1] (buffer) strlen: |
| 4755 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4756 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4757 |
./lib/http2.c:1789: [1] (buffer) strlen: |
| 4758 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4759 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4760 |
./lib/http2.c:1820: [1] (buffer) strlen: |
| 4761 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4762 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4763 |
./lib/http_digest.c:63: [1] (buffer) strlen: |
| 4764 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4765 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4766 |
./lib/http_negotiate.c:78: [1] (buffer) strlen: |
| 4767 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4768 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4769 |
./lib/http_negotiate.c:82: [1] (buffer) strlen: |
| 4770 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4771 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4772 |
./lib/http_ntlm.c:73: [1] (buffer) strlen: |
| 4773 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4774 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4775 |
./lib/http_proxy.c:522: [1] (buffer) strlen: |
| 4776 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4777 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4778 |
./lib/idn_win32.c:96: [1] (buffer) wcslen: |
| 4779 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4780 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4781 |
./lib/if2ip.c:170: [1] (port) snprintf: |
| 4782 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4783 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4784 |
Check it during installation, or use something else. |
| 4785 |
./lib/if2ip.c:178: [1] (port) snprintf: |
| 4786 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4787 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4788 |
Check it during installation, or use something else. |
| 4789 |
./lib/if2ip.c:222: [1] (buffer) strlen: |
| 4790 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4791 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4792 |
./lib/imap.c:252: [1] (buffer) strlen: |
| 4793 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4794 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4795 |
./lib/imap.c:293: [1] (buffer) strlen: |
| 4796 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4797 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4798 |
./lib/imap.c:403: [1] (buffer) strlen: |
| 4799 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4800 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4801 |
./lib/imap.c:1029: [1] (buffer) strlen: |
| 4802 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4803 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4804 |
./lib/imap.c:1438: [1] (buffer) strcpy: |
| 4805 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 4806 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 4807 |
misused). Risk is low because the source is a constant character. |
| 4808 |
./lib/imap.c:1768: [1] (port) snprintf: |
| 4809 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4810 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4811 |
Check it during installation, or use something else. |
| 4812 |
./lib/imap.c:1838: [1] (buffer) strlen: |
| 4813 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4814 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4815 |
./lib/inet_ntop.c:58: [1] (port) snprintf: |
| 4816 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4817 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4818 |
Check it during installation, or use something else. |
| 4819 |
./lib/inet_ntop.c:64: [1] (buffer) strlen: |
| 4820 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4821 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4822 |
./lib/inet_ntop.c:148: [1] (buffer) strlen: |
| 4823 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4824 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4825 |
./lib/inet_ntop.c:151: [1] (port) snprintf: |
| 4826 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4827 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4828 |
Check it during installation, or use something else. |
| 4829 |
./lib/krb5.c:197: [1] (port) snprintf: |
| 4830 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4831 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4832 |
Check it during installation, or use something else. |
| 4833 |
./lib/ldap.c:454: [1] (buffer) strlen: |
| 4834 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4835 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4836 |
./lib/ldap.c:514: [1] (buffer) strlen: |
| 4837 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4838 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4839 |
./lib/md5.c:516: [1] (buffer) strlen: |
| 4840 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4841 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4842 |
./lib/memdebug.c:231: [1] (buffer) strlen: |
| 4843 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4844 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4845 |
./lib/memdebug.c:255: [1] (buffer) wcslen: |
| 4846 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4847 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4848 |
./lib/mprintf.c:835: [1] (buffer) strlen: |
| 4849 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4850 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4851 |
./lib/mprintf.c:893: [1] (buffer) strlen: |
| 4852 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4853 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4854 |
./lib/mprintf.c:959: [1] (buffer) strlen: |
| 4855 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4856 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4857 |
./lib/openldap.c:202: [1] (port) snprintf: |
| 4858 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4859 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4860 |
Check it during installation, or use something else. |
| 4861 |
./lib/openldap.c:267: [1] (buffer) strlen: |
| 4862 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4863 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4864 |
./lib/parsedate.c:358: [1] (buffer) strlen: |
| 4865 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4866 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4867 |
./lib/pingpong.c:191: [1] (buffer) strlen: |
| 4868 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4869 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4870 |
./lib/pipeline.c:273: [1] (buffer) strlen: |
| 4871 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4872 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4873 |
./lib/pop3.c:303: [1] (buffer) strlen: |
| 4874 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4875 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4876 |
./lib/pop3.c:478: [1] (buffer) strlen: |
| 4877 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4878 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4879 |
./lib/pop3.c:481: [1] (buffer) strlen: |
| 4880 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4881 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4882 |
./lib/pop3.c:488: [1] (port) snprintf: |
| 4883 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4884 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4885 |
Check it during installation, or use something else. |
| 4886 |
./lib/pop3.c:657: [1] (buffer) strlen: |
| 4887 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4888 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4889 |
./lib/pop3.c:708: [1] (buffer) strlen: |
| 4890 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4891 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4892 |
./lib/progress.c:52: [1] (port) snprintf: |
| 4893 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4894 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4895 |
Check it during installation, or use something else. |
| 4896 |
./lib/progress.c:55: [1] (port) snprintf: |
| 4897 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4898 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4899 |
Check it during installation, or use something else. |
| 4900 |
./lib/progress.c:74: [1] (port) snprintf: |
| 4901 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4902 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4903 |
Check it during installation, or use something else. |
| 4904 |
./lib/progress.c:78: [1] (port) snprintf: |
| 4905 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4906 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4907 |
Check it during installation, or use something else. |
| 4908 |
./lib/progress.c:86: [1] (port) snprintf: |
| 4909 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4910 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4911 |
Check it during installation, or use something else. |
| 4912 |
./lib/progress.c:90: [1] (port) snprintf: |
| 4913 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4914 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4915 |
Check it during installation, or use something else. |
| 4916 |
./lib/progress.c:96: [1] (port) snprintf: |
| 4917 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4918 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4919 |
Check it during installation, or use something else. |
| 4920 |
./lib/progress.c:100: [1] (port) snprintf: |
| 4921 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4922 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4923 |
Check it during installation, or use something else. |
| 4924 |
./lib/progress.c:104: [1] (port) snprintf: |
| 4925 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4926 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4927 |
Check it during installation, or use something else. |
| 4928 |
./lib/progress.c:112: [1] (port) snprintf: |
| 4929 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4930 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4931 |
Check it during installation, or use something else. |
| 4932 |
./lib/rand.c:48: [1] (buffer) strlen: |
| 4933 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4934 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4935 |
./lib/rand.c:76: [1] (buffer) read: |
| 4936 |
Check buffer boundaries if used in a loop including recursive loops |
| 4937 |
(CWE-120, CWE-20). |
| 4938 |
./lib/rtsp.c:517: [1] (buffer) strlen: |
| 4939 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4940 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4941 |
./lib/rtsp.c:790: [1] (buffer) strlen: |
| 4942 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4943 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4944 |
./lib/security.c:243: [1] (buffer) read: |
| 4945 |
Check buffer boundaries if used in a loop including recursive loops |
| 4946 |
(CWE-120, CWE-20). |
| 4947 |
./lib/sendf.c:232: [1] (buffer) strlen: |
| 4948 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4949 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4950 |
./lib/sendf.c:250: [1] (port) snprintf: |
| 4951 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4952 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4953 |
Check it during installation, or use something else. |
| 4954 |
./lib/sendf.c:254: [1] (buffer) strlen: |
| 4955 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4956 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4957 |
./lib/sendf.c:283: [1] (buffer) strlen: |
| 4958 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4959 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4960 |
./lib/sendf.c:617: [1] (buffer) strlen: |
| 4961 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4962 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4963 |
./lib/sendf.c:830: [1] (port) snprintf: |
| 4964 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 4965 |
buffer overflows; there are also incompatible standard definitions of it. |
| 4966 |
Check it during installation, or use something else. |
| 4967 |
./lib/sendf.c:832: [1] (buffer) strlen: |
| 4968 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4969 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4970 |
./lib/smb.c:122: [1] (buffer) strlen: |
| 4971 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4972 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4973 |
./lib/smb.c:127: [1] (buffer) strlen: |
| 4974 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4975 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4976 |
./lib/smb.c:437: [1] (buffer) strlen: |
| 4977 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4978 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4979 |
./lib/smb.c:437: [1] (buffer) strlen: |
| 4980 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4981 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4982 |
./lib/smb.c:438: [1] (buffer) strlen: |
| 4983 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4984 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4985 |
./lib/smb.c:438: [1] (buffer) strlen: |
| 4986 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4987 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4988 |
./lib/smb.c:482: [1] (buffer) strlen: |
| 4989 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4990 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4991 |
./lib/smb.c:482: [1] (buffer) strlen: |
| 4992 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4993 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4994 |
./lib/smb.c:483: [1] (buffer) strlen: |
| 4995 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4996 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 4997 |
./lib/smb.c:509: [1] (buffer) strlen: |
| 4998 |
Does not handle strings that are not \0-terminated; if given one it may |
| 4999 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5000 |
./lib/smb.c:515: [1] (buffer) strlen: |
| 5001 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5002 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5003 |
./lib/smtp.c:291: [1] (buffer) strlen: |
| 5004 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5005 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5006 |
./lib/smtp.c:715: [1] (buffer) strlen: |
| 5007 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5008 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5009 |
./lib/smtp.c:859: [1] (buffer) strlen: |
| 5010 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5011 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5012 |
./lib/socks.c:210: [1] (buffer) strlen: |
| 5013 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5014 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5015 |
./lib/socks.c:227: [1] (buffer) strlen: |
| 5016 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5017 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5018 |
./lib/socks.c:236: [1] (buffer) strlen: |
| 5019 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5020 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5021 |
./lib/socks.c:253: [1] (buffer) strlen: |
| 5022 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5023 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5024 |
./lib/socks.c:387: [1] (buffer) strlen: |
| 5025 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5026 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5027 |
./lib/socks.c:499: [1] (buffer) strlen: |
| 5028 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5029 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5030 |
./lib/socks.c:500: [1] (buffer) strlen: |
| 5031 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5032 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5033 |
./lib/socks_gssapi.c:126: [1] (buffer) strlen: |
| 5034 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5035 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5036 |
./lib/socks_gssapi.c:149: [1] (buffer) strlen: |
| 5037 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5038 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5039 |
./lib/socks_gssapi.c:152: [1] (buffer) strlen: |
| 5040 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5041 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5042 |
./lib/socks_gssapi.c:153: [1] (port) snprintf: |
| 5043 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5044 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5045 |
Check it during installation, or use something else. |
| 5046 |
./lib/socks_sspi.c:89: [1] (buffer) strlen: |
| 5047 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5048 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5049 |
./lib/socks_sspi.c:107: [1] (buffer) strlen: |
| 5050 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5051 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5052 |
./lib/socks_sspi.c:110: [1] (port) snprintf: |
| 5053 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5054 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5055 |
Check it during installation, or use something else. |
| 5056 |
./lib/socks_sspi.c:111: [1] (buffer) strlen: |
| 5057 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5058 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5059 |
./lib/ssh.c:113: [1] (buffer) strlen: |
| 5060 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5061 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5062 |
./lib/ssh.c:234: [1] (buffer) strlen: |
| 5063 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5064 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5065 |
./lib/ssh.c:441: [1] (buffer) strlen: |
| 5066 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5067 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5068 |
./lib/ssh.c:671: [1] (port) snprintf: |
| 5069 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5070 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5071 |
Check it during installation, or use something else. |
| 5072 |
./lib/ssh.c:678: [1] (buffer) strlen: |
| 5073 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5074 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5075 |
./lib/ssh.c:776: [1] (buffer) strlen: |
| 5076 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5077 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5078 |
./lib/ssh.c:900: [1] (buffer) strlen: |
| 5079 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5080 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5081 |
./lib/ssh.c:936: [1] (buffer) strlen: |
| 5082 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5083 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5084 |
./lib/ssh.c:938: [1] (buffer) strlen: |
| 5085 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5086 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5087 |
./lib/ssh.c:1075: [1] (buffer) strlen: |
| 5088 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5089 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5090 |
./lib/ssh.c:1248: [1] (buffer) strlen: |
| 5091 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5092 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5093 |
./lib/ssh.c:1253: [1] (buffer) strlen: |
| 5094 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5095 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5096 |
./lib/ssh.c:1440: [1] (buffer) strlen: |
| 5097 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5098 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5099 |
./lib/ssh.c:1511: [1] (buffer) strlen: |
| 5100 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5101 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5102 |
./lib/ssh.c:1533: [1] (buffer) strlen: |
| 5103 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5104 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5105 |
./lib/ssh.c:1535: [1] (buffer) strlen: |
| 5106 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5107 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5108 |
./lib/ssh.c:1556: [1] (buffer) strlen: |
| 5109 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5110 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5111 |
./lib/ssh.c:1575: [1] (buffer) strlen: |
| 5112 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5113 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5114 |
./lib/ssh.c:1577: [1] (buffer) strlen: |
| 5115 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5116 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5117 |
./lib/ssh.c:1600: [1] (buffer) strlen: |
| 5118 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5119 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5120 |
./lib/ssh.c:1618: [1] (buffer) strlen: |
| 5121 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5122 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5123 |
./lib/ssh.c:1639: [1] (buffer) strlen: |
| 5124 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5125 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5126 |
./lib/ssh.c:1675: [1] (buffer) strlen: |
| 5127 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5128 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5129 |
./lib/ssh.c:1703: [1] (buffer) strlen: |
| 5130 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5131 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5132 |
./lib/ssh.c:1720: [1] (buffer) strlen: |
| 5133 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5134 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5135 |
./lib/ssh.c:1741: [1] (buffer) strlen: |
| 5136 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5137 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5138 |
./lib/ssh.c:1772: [1] (buffer) strlen: |
| 5139 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5140 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5141 |
./lib/ssh.c:1801: [1] (buffer) strlen: |
| 5142 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5143 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5144 |
./lib/ssh.c:1906: [1] (buffer) strlen: |
| 5145 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5146 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5147 |
./lib/ssh.c:1932: [1] (buffer) strlen: |
| 5148 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5149 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5150 |
./lib/ssh.c:1972: [1] (buffer) strlen: |
| 5151 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5152 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5153 |
./lib/ssh.c:2048: [1] (buffer) strlen: |
| 5154 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5155 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5156 |
./lib/ssh.c:2073: [1] (port) snprintf: |
| 5157 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5158 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5159 |
Check it during installation, or use something else. |
| 5160 |
./lib/ssh.c:2106: [1] (buffer) strlen: |
| 5161 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5162 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5163 |
./lib/ssh.c:2129: [1] (port) snprintf: |
| 5164 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5165 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5166 |
Check it during installation, or use something else. |
| 5167 |
./lib/ssh.c:2140: [1] (port) snprintf: |
| 5168 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5169 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5170 |
Check it during installation, or use something else. |
| 5171 |
./lib/ssh.c:2186: [1] (buffer) strlen: |
| 5172 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5173 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5174 |
./lib/ssh.c:2213: [1] (buffer) strlen: |
| 5175 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5176 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5177 |
./lib/ssh.c:3335: [1] (buffer) strlen: |
| 5178 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5179 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5180 |
./lib/ssh.c:3344: [1] (buffer) strlen: |
| 5181 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5182 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5183 |
./lib/strcase.h:46: [1] (buffer) strlen: |
| 5184 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5185 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5186 |
./lib/strdup.c:42: [1] (buffer) strlen: |
| 5187 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5188 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5189 |
./lib/strerror.c:612: [1] (buffer) strncpy: |
| 5190 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5191 |
pointers (CWE-120). |
| 5192 |
./lib/strerror.c:656: [1] (buffer) strncpy: |
| 5193 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5194 |
pointers (CWE-120). |
| 5195 |
./lib/strerror.c:661: [1] (port) snprintf: |
| 5196 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5197 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5198 |
Check it during installation, or use something else. |
| 5199 |
./lib/strerror.c:675: [1] (port) snprintf: |
| 5200 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5201 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5202 |
Check it during installation, or use something else. |
| 5203 |
./lib/strerror.c:687: [1] (buffer) strncpy: |
| 5204 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5205 |
pointers (CWE-120). |
| 5206 |
./lib/strerror.c:689: [1] (port) snprintf: |
| 5207 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5208 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5209 |
Check it during installation, or use something else. |
| 5210 |
./lib/strerror.c:699: [1] (buffer) strncpy: |
| 5211 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5212 |
pointers (CWE-120). |
| 5213 |
./lib/strerror.c:701: [1] (port) snprintf: |
| 5214 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5215 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5216 |
Check it during installation, or use something else. |
| 5217 |
./lib/strerror.c:707: [1] (buffer) strncpy: |
| 5218 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5219 |
pointers (CWE-120). |
| 5220 |
./lib/strerror.c:709: [1] (port) snprintf: |
| 5221 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5222 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5223 |
Check it during installation, or use something else. |
| 5224 |
./lib/strerror.c:1004: [1] (buffer) strncpy: |
| 5225 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5226 |
pointers (CWE-120). |
| 5227 |
./lib/strerror.c:1006: [1] (port) snprintf: |
| 5228 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5229 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5230 |
Check it during installation, or use something else. |
| 5231 |
./lib/strerror.c:1013: [1] (port) snprintf: |
| 5232 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5233 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5234 |
Check it during installation, or use something else. |
| 5235 |
./lib/strerror.c:1049: [1] (port) snprintf: |
| 5236 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5237 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5238 |
Check it during installation, or use something else. |
| 5239 |
./lib/strerror.c:1051: [1] (buffer) strncpy: |
| 5240 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5241 |
pointers (CWE-120). |
| 5242 |
./lib/strerror.c:1064: [1] (buffer) strncpy: |
| 5243 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5244 |
pointers (CWE-120). |
| 5245 |
./lib/system_win32.c:306: [1] (buffer) _tcslen: |
| 5246 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5247 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5248 |
./lib/system_win32.c:310: [1] (buffer) _tcslen: |
| 5249 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5250 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5251 |
./lib/system_win32.c:311: [1] (buffer) _tcslen: |
| 5252 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5253 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5254 |
./lib/telnet.c:832: [1] (port) snprintf: |
| 5255 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5256 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5257 |
Check it during installation, or use something else. |
| 5258 |
./lib/telnet.c:844: [1] (buffer) sscanf: |
| 5259 |
It's unclear if the %s limit in the format string is small enough |
| 5260 |
(CWE-120). Check that the limit is sufficiently small, or use a different |
| 5261 |
input function. |
| 5262 |
./lib/telnet.c:849: [1] (buffer) strncpy: |
| 5263 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5264 |
pointers (CWE-120). |
| 5265 |
./lib/telnet.c:857: [1] (buffer) strncpy: |
| 5266 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5267 |
pointers (CWE-120). |
| 5268 |
./lib/telnet.c:940: [1] (buffer) strlen: |
| 5269 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5270 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5271 |
./lib/telnet.c:941: [1] (port) snprintf: |
| 5272 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5273 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5274 |
Check it during installation, or use something else. |
| 5275 |
./lib/telnet.c:952: [1] (buffer) strlen: |
| 5276 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5277 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5278 |
./lib/telnet.c:953: [1] (port) snprintf: |
| 5279 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5280 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5281 |
Check it during installation, or use something else. |
| 5282 |
./lib/telnet.c:964: [1] (port) snprintf: |
| 5283 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5284 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5285 |
Check it during installation, or use something else. |
| 5286 |
./lib/telnet.c:970: [1] (buffer) strlen: |
| 5287 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5288 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5289 |
./lib/telnet.c:973: [1] (buffer) sscanf: |
| 5290 |
It's unclear if the %s limit in the format string is small enough |
| 5291 |
(CWE-120). Check that the limit is sufficiently small, or use a different |
| 5292 |
input function. |
| 5293 |
./lib/telnet.c:974: [1] (port) snprintf: |
| 5294 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5295 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5296 |
Check it during installation, or use something else. |
| 5297 |
./lib/telnet.c:981: [1] (port) snprintf: |
| 5298 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5299 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5300 |
Check it during installation, or use something else. |
| 5301 |
./lib/telnet.c:1627: [1] (buffer) read: |
| 5302 |
Check buffer boundaries if used in a loop including recursive loops |
| 5303 |
(CWE-120, CWE-20). |
| 5304 |
./lib/tftp.c:328: [1] (buffer) strlen: |
| 5305 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5306 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5307 |
./lib/tftp.c:409: [1] (buffer) strlen: |
| 5308 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5309 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5310 |
./lib/tftp.c:412: [1] (buffer) strlen: |
| 5311 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5312 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5313 |
./lib/tftp.c:493: [1] (port) snprintf: |
| 5314 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5315 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5316 |
Check it during installation, or use something else. |
| 5317 |
./lib/tftp.c:496: [1] (buffer) strlen: |
| 5318 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5319 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5320 |
./lib/tftp.c:496: [1] (buffer) strlen: |
| 5321 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5322 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5323 |
./lib/tftp.c:505: [1] (buffer) strcpy: |
| 5324 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 5325 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 5326 |
misused). Risk is low because the source is a constant character. |
| 5327 |
./lib/tftp.c:513: [1] (port) snprintf: |
| 5328 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5329 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5330 |
Check it during installation, or use something else. |
| 5331 |
./lib/tftp.c:521: [1] (port) snprintf: |
| 5332 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5333 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5334 |
Check it during installation, or use something else. |
| 5335 |
./lib/transfer.c:182: [1] (port) snprintf: |
| 5336 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5337 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5338 |
Check it during installation, or use something else. |
| 5339 |
./lib/transfer.c:195: [1] (buffer) strlen: |
| 5340 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5341 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5342 |
./lib/transfer.c:206: [1] (buffer) strlen: |
| 5343 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5344 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5345 |
./lib/transfer.c:218: [1] (buffer) strlen: |
| 5346 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5347 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5348 |
./lib/transfer.c:1437: [1] (port) snprintf: |
| 5349 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5350 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5351 |
Check it during installation, or use something else. |
| 5352 |
./lib/transfer.c:1599: [1] (buffer) strlen: |
| 5353 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5354 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5355 |
./lib/url.c:317: [1] (buffer) strlen: |
| 5356 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5357 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5358 |
./lib/url.c:2767: [1] (buffer) strlen: |
| 5359 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5360 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5361 |
./lib/url.c:2773: [1] (buffer) strlen: |
| 5362 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5363 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5364 |
./lib/url.c:4002: [1] (buffer) strlen: |
| 5365 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5366 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5367 |
./lib/url.c:4298: [1] (buffer) strlen: |
| 5368 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5369 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5370 |
./lib/url.c:4337: [1] (buffer) strlen: |
| 5371 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5372 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5373 |
./lib/url.c:4406: [1] (buffer) strlen: |
| 5374 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5375 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5376 |
./lib/url.c:4443: [1] (buffer) strlen: |
| 5377 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5378 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5379 |
./lib/url.c:4444: [1] (buffer) strlen: |
| 5380 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5381 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5382 |
./lib/url.c:4460: [1] (buffer) strcpy: |
| 5383 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 5384 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 5385 |
misused). Risk is low because the source is a constant character. |
| 5386 |
./lib/url.c:4472: [1] (buffer) strlen: |
| 5387 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5388 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5389 |
./lib/url.c:4502: [1] (buffer) strlen: |
| 5390 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5391 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5392 |
./lib/url.c:4504: [1] (buffer) strlen: |
| 5393 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5394 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5395 |
./lib/url.c:4506: [1] (buffer) strlen: |
| 5396 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5397 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5398 |
./lib/url.c:4509: [1] (buffer) strlen: |
| 5399 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5400 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5401 |
./lib/url.c:4509: [1] (buffer) strlen: |
| 5402 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5403 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5404 |
./lib/url.c:4558: [1] (buffer) strlen: |
| 5405 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5406 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5407 |
./lib/url.c:4567: [1] (buffer) strncpy: |
| 5408 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5409 |
pointers (CWE-120). |
| 5410 |
./lib/url.c:4581: [1] (buffer) strlen: |
| 5411 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5412 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5413 |
./lib/url.c:4584: [1] (buffer) strlen: |
| 5414 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5415 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5416 |
./lib/url.c:4740: [1] (buffer) strlen: |
| 5417 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5418 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5419 |
./lib/url.c:4745: [1] (buffer) strlen: |
| 5420 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5421 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5422 |
./lib/url.c:5043: [1] (buffer) strlen: |
| 5423 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5424 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5425 |
./lib/url.c:5086: [1] (buffer) strncpy: |
| 5426 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5427 |
pointers (CWE-120). |
| 5428 |
./lib/url.c:5091: [1] (buffer) strncpy: |
| 5429 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5430 |
pointers (CWE-120). |
| 5431 |
./lib/url.c:5408: [1] (port) snprintf: |
| 5432 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5433 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5434 |
Check it during installation, or use something else. |
| 5435 |
./lib/url.c:5698: [1] (buffer) strlen: |
| 5436 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5437 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5438 |
./lib/url.c:6067: [1] (buffer) strlen: |
| 5439 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5440 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5441 |
./lib/vauth/cleartext.c:73: [1] (buffer) strlen: |
| 5442 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5443 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5444 |
./lib/vauth/cleartext.c:74: [1] (buffer) strlen: |
| 5445 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5446 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5447 |
./lib/vauth/cleartext.c:125: [1] (buffer) strlen: |
| 5448 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5449 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5450 |
./lib/vauth/cram.c:61: [1] (buffer) strlen: |
| 5451 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5452 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5453 |
./lib/vauth/cram.c:104: [1] (buffer) strlen: |
| 5454 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5455 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5456 |
./lib/vauth/cram.c:109: [1] (buffer) strlen: |
| 5457 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5458 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5459 |
./lib/vauth/digest.c:63: [1] (buffer) strlen: |
| 5460 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5461 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5462 |
./lib/vauth/digest.c:144: [1] (port) snprintf: |
| 5463 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5464 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5465 |
Check it during installation, or use something else. |
| 5466 |
./lib/vauth/digest.c:195: [1] (buffer) strlen: |
| 5467 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5468 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5469 |
./lib/vauth/digest.c:265: [1] (buffer) strlen: |
| 5470 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5471 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5472 |
./lib/vauth/digest.c:289: [1] (buffer) strcpy: |
| 5473 |
Does not check for buffer overflows when copying to destination (CWE-120). |
| 5474 |
Consider using strcpy_s, strncpy, or strlcpy (warning, strncpy is easily |
| 5475 |
misused). Risk is low because the source is a constant character. |
| 5476 |
./lib/vauth/digest.c:396: [1] (port) snprintf: |
| 5477 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5478 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5479 |
Check it during installation, or use something else. |
| 5480 |
./lib/vauth/digest.c:405: [1] (buffer) strlen: |
| 5481 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5482 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5483 |
./lib/vauth/digest.c:408: [1] (buffer) strlen: |
| 5484 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5485 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5486 |
./lib/vauth/digest.c:411: [1] (buffer) strlen: |
| 5487 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5488 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5489 |
./lib/vauth/digest.c:421: [1] (buffer) strlen: |
| 5490 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5491 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5492 |
./lib/vauth/digest.c:424: [1] (buffer) strlen: |
| 5493 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5494 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5495 |
./lib/vauth/digest.c:429: [1] (port) snprintf: |
| 5496 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5497 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5498 |
Check it during installation, or use something else. |
| 5499 |
./lib/vauth/digest.c:445: [1] (buffer) strlen: |
| 5500 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5501 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5502 |
./lib/vauth/digest.c:448: [1] (buffer) strlen: |
| 5503 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5504 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5505 |
./lib/vauth/digest.c:452: [1] (port) snprintf: |
| 5506 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5507 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5508 |
Check it during installation, or use something else. |
| 5509 |
./lib/vauth/digest.c:465: [1] (buffer) strlen: |
| 5510 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5511 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5512 |
./lib/vauth/digest.c:469: [1] (buffer) strlen: |
| 5513 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5514 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5515 |
./lib/vauth/digest.c:472: [1] (buffer) strlen: |
| 5516 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5517 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5518 |
./lib/vauth/digest.c:475: [1] (buffer) strlen: |
| 5519 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5520 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5521 |
./lib/vauth/digest.c:482: [1] (port) snprintf: |
| 5522 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5523 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5524 |
Check it during installation, or use something else. |
| 5525 |
./lib/vauth/digest.c:691: [1] (port) snprintf: |
| 5526 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5527 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5528 |
Check it during installation, or use something else. |
| 5529 |
./lib/vauth/digest.c:694: [1] (buffer) strlen: |
| 5530 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5531 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5532 |
./lib/vauth/digest.c:870: [1] (buffer) strlen: |
| 5533 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5534 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5535 |
./lib/vauth/digest_sspi.c:113: [1] (buffer) strlen: |
| 5536 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5537 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5538 |
./lib/vauth/digest_sspi.c:295: [1] (buffer) _tcslen: |
| 5539 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5540 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5541 |
./lib/vauth/digest_sspi.c:336: [1] (buffer) strlen: |
| 5542 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5543 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5544 |
./lib/vauth/digest_sspi.c:460: [1] (buffer) strlen: |
| 5545 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5546 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5547 |
./lib/vauth/krb5_gssapi.c:113: [1] (buffer) strlen: |
| 5548 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5549 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5550 |
./lib/vauth/krb5_gssapi.c:232: [1] (buffer) strlen: |
| 5551 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5552 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5553 |
./lib/vauth/krb5_sspi.c:296: [1] (buffer) strlen: |
| 5554 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5555 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5556 |
./lib/vauth/krb5_sspi.c:395: [1] (buffer) strlen: |
| 5557 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5558 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5559 |
./lib/vauth/ntlm.c:285: [1] (buffer) strlen: |
| 5560 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5561 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5562 |
./lib/vauth/ntlm.c:543: [1] (buffer) strlen: |
| 5563 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5564 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5565 |
./lib/vauth/ntlm.c:552: [1] (buffer) strlen: |
| 5566 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5567 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5568 |
./lib/vauth/ntlm_sspi.c:199: [1] (buffer) strlen: |
| 5569 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5570 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5571 |
./lib/vauth/oauth2.c:81: [1] (buffer) strlen: |
| 5572 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5573 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5574 |
./lib/vauth/spnego_gssapi.c:112: [1] (buffer) strlen: |
| 5575 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5576 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5577 |
./lib/vauth/vauth.c:136: [1] (buffer) strlen: |
| 5578 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5579 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5580 |
./lib/version.c:89: [1] (buffer) strlen: |
| 5581 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5582 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5583 |
./lib/version.c:104: [1] (port) snprintf: |
| 5584 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5585 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5586 |
Check it during installation, or use something else. |
| 5587 |
./lib/version.c:110: [1] (port) snprintf: |
| 5588 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5589 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5590 |
Check it during installation, or use something else. |
| 5591 |
./lib/version.c:116: [1] (port) snprintf: |
| 5592 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5593 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5594 |
Check it during installation, or use something else. |
| 5595 |
./lib/version.c:122: [1] (port) snprintf: |
| 5596 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5597 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5598 |
Check it during installation, or use something else. |
| 5599 |
./lib/version.c:127: [1] (port) snprintf: |
| 5600 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5601 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5602 |
Check it during installation, or use something else. |
| 5603 |
./lib/version.c:133: [1] (port) snprintf: |
| 5604 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5605 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5606 |
Check it during installation, or use something else. |
| 5607 |
./lib/version.c:137: [1] (port) snprintf: |
| 5608 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5609 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5610 |
Check it during installation, or use something else. |
| 5611 |
./lib/version.c:143: [1] (port) snprintf: |
| 5612 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5613 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5614 |
Check it during installation, or use something else. |
| 5615 |
./lib/version.c:162: [1] (port) snprintf: |
| 5616 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5617 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5618 |
Check it during installation, or use something else. |
| 5619 |
./lib/version.c:391: [1] (port) snprintf: |
| 5620 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5621 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5622 |
Check it during installation, or use something else. |
| 5623 |
./lib/vtls/axtls.c:680: [1] (port) snprintf: |
| 5624 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5625 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5626 |
Check it during installation, or use something else. |
| 5627 |
./lib/vtls/cyassl.c:305: [1] (buffer) strlen: |
| 5628 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5629 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5630 |
./lib/vtls/cyassl.c:368: [1] (buffer) strlen: |
| 5631 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5632 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5633 |
./lib/vtls/cyassl.c:373: [1] (buffer) strlen: |
| 5634 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5635 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5636 |
./lib/vtls/cyassl.c:377: [1] (buffer) strlen: |
| 5637 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5638 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5639 |
./lib/vtls/cyassl.c:724: [1] (port) snprintf: |
| 5640 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5641 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5642 |
Check it during installation, or use something else. |
| 5643 |
./lib/vtls/cyassl.c:726: [1] (port) snprintf: |
| 5644 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5645 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5646 |
Check it during installation, or use something else. |
| 5647 |
./lib/vtls/cyassl.c:728: [1] (port) snprintf: |
| 5648 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5649 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5650 |
Check it during installation, or use something else. |
| 5651 |
./lib/vtls/darwinssl.c:139: [1] (buffer) read: |
| 5652 |
Check buffer boundaries if used in a loop including recursive loops |
| 5653 |
(CWE-120, CWE-20). |
| 5654 |
./lib/vtls/darwinssl.c:861: [1] (buffer) strlen: |
| 5655 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5656 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5657 |
./lib/vtls/darwinssl.c:977: [1] (buffer) strlen: |
| 5658 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5659 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5660 |
./lib/vtls/darwinssl.c:1262: [1] (buffer) strlen: |
| 5661 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5662 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5663 |
./lib/vtls/darwinssl.c:1407: [1] (buffer) strlen: |
| 5664 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5665 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5666 |
./lib/vtls/darwinssl.c:1568: [1] (buffer) strlen: |
| 5667 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5668 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5669 |
./lib/vtls/darwinssl.c:1674: [1] (buffer) read: |
| 5670 |
Check buffer boundaries if used in a loop including recursive loops |
| 5671 |
(CWE-120, CWE-20). |
| 5672 |
./lib/vtls/darwinssl.c:2355: [1] (buffer) read: |
| 5673 |
Check buffer boundaries if used in a loop including recursive loops |
| 5674 |
(CWE-120, CWE-20). |
| 5675 |
./lib/vtls/darwinssl.c:2384: [1] (port) snprintf: |
| 5676 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5677 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5678 |
Check it during installation, or use something else. |
| 5679 |
./lib/vtls/gskit.c:324: [1] (buffer) strlen: |
| 5680 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5681 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5682 |
./lib/vtls/gskit.c:360: [1] (buffer) strlen: |
| 5683 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5684 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5685 |
./lib/vtls/gskit.c:661: [1] (buffer) read: |
| 5686 |
Check buffer boundaries if used in a loop including recursive loops |
| 5687 |
(CWE-120, CWE-20). |
| 5688 |
./lib/vtls/gskit.c:1262: [1] (buffer) read: |
| 5689 |
Check buffer boundaries if used in a loop including recursive loops |
| 5690 |
(CWE-120, CWE-20). |
| 5691 |
./lib/vtls/gskit.c:1281: [1] (buffer) strncpy: |
| 5692 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5693 |
pointers (CWE-120). Risk is low because the source is a constant string. |
| 5694 |
./lib/vtls/gskit.c:1282: [1] (buffer) strlen: |
| 5695 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5696 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5697 |
./lib/vtls/gtls.c:224: [1] (port) snprintf: |
| 5698 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5699 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5700 |
Check it during installation, or use something else. |
| 5701 |
./lib/vtls/gtls.c:544: [1] (buffer) strlen: |
| 5702 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5703 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5704 |
./lib/vtls/gtls.c:1600: [1] (port) snprintf: |
| 5705 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5706 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5707 |
Check it during installation, or use something else. |
| 5708 |
./lib/vtls/mbedtls.c:728: [1] (port) snprintf: |
| 5709 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5710 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5711 |
Check it during installation, or use something else. |
| 5712 |
./lib/vtls/nss.c:404: [1] (buffer) strlen: |
| 5713 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5714 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5715 |
./lib/vtls/nss.c:2130: [1] (port) snprintf: |
| 5716 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5717 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5718 |
Check it during installation, or use something else. |
| 5719 |
./lib/vtls/openssl.c:169: [1] (buffer) strlen: |
| 5720 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5721 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5722 |
./lib/vtls/openssl.c:1156: [1] (buffer) strlen: |
| 5723 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5724 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5725 |
./lib/vtls/openssl.c:1237: [1] (buffer) strlen: |
| 5726 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5727 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5728 |
./lib/vtls/openssl.c:1250: [1] (buffer) strlen: |
| 5729 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5730 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5731 |
./lib/vtls/openssl.c:1551: [1] (port) snprintf: |
| 5732 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5733 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5734 |
Check it during installation, or use something else. |
| 5735 |
./lib/vtls/openssl.c:1573: [1] (port) snprintf: |
| 5736 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5737 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5738 |
Check it during installation, or use something else. |
| 5739 |
./lib/vtls/openssl.c:2259: [1] (port) snprintf: |
| 5740 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5741 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5742 |
Check it during installation, or use something else. |
| 5743 |
./lib/vtls/openssl.c:2372: [1] (port) snprintf: |
| 5744 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5745 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5746 |
Check it during installation, or use something else. |
| 5747 |
./lib/vtls/openssl.c:2433: [1] (port) snprintf: |
| 5748 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5749 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5750 |
Check it during installation, or use something else. |
| 5751 |
./lib/vtls/openssl.c:3265: [1] (port) snprintf: |
| 5752 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5753 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5754 |
Check it during installation, or use something else. |
| 5755 |
./lib/vtls/polarssl.c:661: [1] (port) snprintf: |
| 5756 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5757 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5758 |
Check it during installation, or use something else. |
| 5759 |
./lib/vtls/schannel.c:1514: [1] (port) snprintf: |
| 5760 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5761 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5762 |
Check it during installation, or use something else. |
| 5763 |
./lib/vtls/vtls.c:661: [1] (buffer) strlen: |
| 5764 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5765 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5766 |
./lib/vtls/vtls.c:669: [1] (port) snprintf: |
| 5767 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5768 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5769 |
Check it during installation, or use something else. |
| 5770 |
./lib/vtls/vtls.c:697: [1] (buffer) strlen: |
| 5771 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5772 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5773 |
./lib/vtls/vtls.c:818: [1] (buffer) strlen: |
| 5774 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5775 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5776 |
./lib/vtls/vtls.c:837: [1] (buffer) strlen: |
| 5777 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5778 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5779 |
./lib/warnless.c:483: [1] (buffer) read: |
| 5780 |
Check buffer boundaries if used in a loop including recursive loops |
| 5781 |
(CWE-120, CWE-20). |
| 5782 |
./lib/warnless.h:78: [1] (buffer) read: |
| 5783 |
Check buffer boundaries if used in a loop including recursive loops |
| 5784 |
(CWE-120, CWE-20). |
| 5785 |
./lib/warnless.h:79: [1] (buffer) read: |
| 5786 |
Check buffer boundaries if used in a loop including recursive loops |
| 5787 |
(CWE-120, CWE-20). |
| 5788 |
./lib/x509asn1.c:213: [1] (port) snprintf: |
| 5789 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5790 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5791 |
Check it during installation, or use something else. |
| 5792 |
./lib/x509asn1.c:1129: [1] (buffer) strlen: |
| 5793 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5794 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5795 |
./lib/x509asn1.c:1183: [1] (buffer) strlen: |
| 5796 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5797 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5798 |
./packages/OS400/ccsidcurl.c:129: [1] (buffer) strlen: |
| 5799 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5800 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5801 |
./packages/OS400/ccsidcurl.c:174: [1] (buffer) strlen: |
| 5802 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5803 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5804 |
./packages/OS400/ccsidcurl.c:246: [1] (buffer) strlen: |
| 5805 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5806 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5807 |
./packages/OS400/ccsidcurl.c:318: [1] (buffer) strlen: |
| 5808 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5809 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5810 |
./packages/OS400/ccsidcurl.c:428: [1] (buffer) strlen: |
| 5811 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5812 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5813 |
./packages/OS400/ccsidcurl.c:434: [1] (buffer) strlen: |
| 5814 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5815 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5816 |
./packages/OS400/ccsidcurl.c:437: [1] (buffer) strlen: |
| 5817 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5818 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5819 |
./packages/OS400/ccsidcurl.c:440: [1] (buffer) strlen: |
| 5820 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5821 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5822 |
./packages/OS400/ccsidcurl.c:443: [1] (buffer) strlen: |
| 5823 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5824 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5825 |
./packages/OS400/ccsidcurl.c:446: [1] (buffer) strlen: |
| 5826 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5827 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5828 |
./packages/OS400/ccsidcurl.c:449: [1] (buffer) strlen: |
| 5829 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5830 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5831 |
./packages/OS400/ccsidcurl.c:452: [1] (buffer) strlen: |
| 5832 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5833 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5834 |
./packages/OS400/ccsidcurl.c:524: [1] (buffer) strlen: |
| 5835 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5836 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5837 |
./packages/OS400/ccsidcurl.c:549: [1] (buffer) strlen: |
| 5838 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5839 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5840 |
./packages/OS400/ccsidcurl.c:574: [1] (buffer) strlen: |
| 5841 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5842 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5843 |
./packages/OS400/ccsidcurl.c:749: [1] (buffer) strlen: |
| 5844 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5845 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5846 |
./packages/OS400/os400sys.c:249: [1] (buffer) strlen: |
| 5847 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5848 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5849 |
./packages/OS400/os400sys.c:292: [1] (buffer) strlen: |
| 5850 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5851 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5852 |
./packages/OS400/os400sys.c:298: [1] (buffer) strlen: |
| 5853 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5854 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5855 |
./packages/OS400/os400sys.c:324: [1] (buffer) strlen: |
| 5856 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5857 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5858 |
./packages/OS400/os400sys.c:334: [1] (buffer) strlen: |
| 5859 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5860 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5861 |
./packages/OS400/os400sys.c:522: [1] (buffer) strlen: |
| 5862 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5863 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5864 |
./packages/OS400/os400sys.c:933: [1] (buffer) strlen: |
| 5865 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5866 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5867 |
./packages/OS400/os400sys.c:958: [1] (buffer) strlen: |
| 5868 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5869 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5870 |
./packages/OS400/os400sys.c:968: [1] (buffer) strlen: |
| 5871 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5872 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5873 |
./packages/OS400/os400sys.c:1004: [1] (buffer) strlen: |
| 5874 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5875 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5876 |
./packages/OS400/os400sys.c:1015: [1] (buffer) strlen: |
| 5877 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5878 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5879 |
./packages/OS400/os400sys.c:1033: [1] (buffer) strlen: |
| 5880 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5881 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5882 |
./packages/OS400/os400sys.c:1074: [1] (buffer) strlen: |
| 5883 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5884 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5885 |
./packages/OS400/os400sys.c:1117: [1] (buffer) strlen: |
| 5886 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5887 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5888 |
./packages/OS400/os400sys.c:1149: [1] (buffer) strlen: |
| 5889 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5890 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5891 |
./packages/OS400/os400sys.c:1181: [1] (buffer) strlen: |
| 5892 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5893 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5894 |
./packages/vms/curl_crtl_init.c:103: [1] (buffer) strlen: |
| 5895 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5896 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5897 |
./packages/vms/curl_crtl_init.c:132: [1] (buffer) strlen: |
| 5898 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5899 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5900 |
./packages/vms/curl_crtl_init.c:137: [1] (buffer) strlen: |
| 5901 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5902 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5903 |
./packages/vms/curl_crtl_init.c:141: [1] (buffer) strlen: |
| 5904 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5905 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5906 |
./packages/vms/report_openssl_version.c:84: [1] (buffer) strlen: |
| 5907 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5908 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5909 |
./packages/vms/report_openssl_version.c:89: [1] (buffer) strlen: |
| 5910 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5911 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5912 |
./src/tool_cb_dbg.c:68: [1] (port) snprintf: |
| 5913 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5914 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5915 |
Check it during installation, or use something else. |
| 5916 |
./src/tool_cb_hdr.c:205: [1] (buffer) strlen: |
| 5917 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5918 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5919 |
./src/tool_cb_hdr.c:227: [1] (port) snprintf: |
| 5920 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5921 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5922 |
Check it during installation, or use something else. |
| 5923 |
./src/tool_cb_prg.c:93: [1] (port) snprintf: |
| 5924 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5925 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5926 |
Check it during installation, or use something else. |
| 5927 |
./src/tool_cb_prg.c:130: [1] (buffer) strlen: |
| 5928 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5929 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5930 |
./src/tool_cb_rea.c:42: [1] (buffer) read: |
| 5931 |
Check buffer boundaries if used in a loop including recursive loops |
| 5932 |
(CWE-120, CWE-20). |
| 5933 |
./src/tool_dirhie.c:111: [1] (buffer) strlen: |
| 5934 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5935 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5936 |
./src/tool_dirhie.c:132: [1] (buffer) strlen: |
| 5937 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5938 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5939 |
./src/tool_dirhie.c:134: [1] (port) snprintf: |
| 5940 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5941 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5942 |
Check it during installation, or use something else. |
| 5943 |
./src/tool_dirhie.c:140: [1] (port) snprintf: |
| 5944 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 5945 |
buffer overflows; there are also incompatible standard definitions of it. |
| 5946 |
Check it during installation, or use something else. |
| 5947 |
./src/tool_doswin.c:166: [1] (buffer) strlen: |
| 5948 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5949 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5950 |
./src/tool_doswin.c:179: [1] (buffer) strncpy: |
| 5951 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5952 |
pointers (CWE-120). |
| 5953 |
./src/tool_doswin.c:233: [1] (buffer) strlen: |
| 5954 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5955 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5956 |
./src/tool_doswin.c:247: [1] (buffer) strlen: |
| 5957 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5958 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5959 |
./src/tool_doswin.c:292: [1] (buffer) strlen: |
| 5960 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5961 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5962 |
./src/tool_doswin.c:357: [1] (buffer) strlen: |
| 5963 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5964 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5965 |
./src/tool_doswin.c:507: [1] (buffer) strlen: |
| 5966 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5967 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5968 |
./src/tool_doswin.c:511: [1] (buffer) strncpy: |
| 5969 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5970 |
pointers (CWE-120). |
| 5971 |
./src/tool_doswin.c:516: [1] (buffer) strlen: |
| 5972 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5973 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5974 |
./src/tool_doswin.c:521: [1] (buffer) strncpy: |
| 5975 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 5976 |
pointers (CWE-120). |
| 5977 |
./src/tool_doswin.c:564: [1] (buffer) strlen: |
| 5978 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5979 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5980 |
./src/tool_doswin.c:567: [1] (buffer) strlen: |
| 5981 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5982 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5983 |
./src/tool_doswin.c:591: [1] (buffer) strlen: |
| 5984 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5985 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5986 |
./src/tool_doswin.c:593: [1] (buffer) strlen: |
| 5987 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5988 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5989 |
./src/tool_formparse.c:179: [1] (buffer) strlen: |
| 5990 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5991 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5992 |
./src/tool_formparse.c:217: [1] (buffer) strlen: |
| 5993 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5994 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5995 |
./src/tool_formparse.c:217: [1] (buffer) strlen: |
| 5996 |
Does not handle strings that are not \0-terminated; if given one it may |
| 5997 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 5998 |
./src/tool_formparse.c:335: [1] (buffer) strlen: |
| 5999 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6000 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6001 |
./src/tool_getparam.c:313: [1] (buffer) strlen: |
| 6002 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6003 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6004 |
./src/tool_getparam.c:342: [1] (buffer) strncpy: |
| 6005 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 6006 |
pointers (CWE-120). |
| 6007 |
./src/tool_getparam.c:394: [1] (buffer) strlen: |
| 6008 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6009 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6010 |
./src/tool_getparam.c:443: [1] (buffer) strlen: |
| 6011 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6012 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6013 |
./src/tool_getparam.c:591: [1] (buffer) strlen: |
| 6014 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6015 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6016 |
./src/tool_getparam.c:1223: [1] (buffer) strlen: |
| 6017 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6018 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6019 |
./src/tool_getparam.c:1240: [1] (buffer) strlen: |
| 6020 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6021 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6022 |
./src/tool_getparam.c:1247: [1] (port) snprintf: |
| 6023 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6024 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6025 |
Check it during installation, or use something else. |
| 6026 |
./src/tool_getparam.c:1284: [1] (buffer) strlen: |
| 6027 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6028 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6029 |
./src/tool_getparam.c:1303: [1] (buffer) strlen: |
| 6030 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6031 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6032 |
./src/tool_getparam.c:1309: [1] (buffer) strlen: |
| 6033 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6034 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6035 |
./src/tool_getparam.c:1406: [1] (buffer) strlen: |
| 6036 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6037 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6038 |
./src/tool_getparam.c:1780: [1] (port) snprintf: |
| 6039 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6040 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6041 |
Check it during installation, or use something else. |
| 6042 |
./src/tool_getpass.c:87: [1] (buffer) strlen: |
| 6043 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6044 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6045 |
./src/tool_getpass.c:100: [1] (buffer) getchar: |
| 6046 |
Check buffer boundaries if used in a loop including recursive loops |
| 6047 |
(CWE-120, CWE-20). |
| 6048 |
./src/tool_getpass.c:237: [1] (buffer) read: |
| 6049 |
Check buffer boundaries if used in a loop including recursive loops |
| 6050 |
(CWE-120, CWE-20). |
| 6051 |
./src/tool_main.c:101: [1] (buffer) strlen: |
| 6052 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6053 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6054 |
./src/tool_main.c:115: [1] (buffer) strlen: |
| 6055 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6056 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6057 |
./src/tool_metalink.c:624: [1] (buffer) read: |
| 6058 |
Check buffer boundaries if used in a loop including recursive loops |
| 6059 |
(CWE-120, CWE-20). |
| 6060 |
./src/tool_metalink.c:675: [1] (buffer) strlen: |
| 6061 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6062 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6063 |
./src/tool_metalink.c:898: [1] (buffer) strlen: |
| 6064 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6065 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6066 |
./src/tool_msgs.c:41: [1] (buffer) strlen: |
| 6067 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6068 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6069 |
./src/tool_operate.c:1728: [1] (buffer) strlen: |
| 6070 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6071 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6072 |
./src/tool_operhlp.c:83: [1] (buffer) strlen: |
| 6073 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6074 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6075 |
./src/tool_operhlp.c:179: [1] (port) snprintf: |
| 6076 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6077 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6078 |
Check it during installation, or use something else. |
| 6079 |
./src/tool_panykey.c:41: [1] (buffer) getchar: |
| 6080 |
Check buffer boundaries if used in a loop including recursive loops |
| 6081 |
(CWE-120, CWE-20). |
| 6082 |
./src/tool_paramhlp.c:75: [1] (buffer) strlen: |
| 6083 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6084 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6085 |
./src/tool_paramhlp.c:146: [1] (buffer) strlen: |
| 6086 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6087 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6088 |
./src/tool_paramhlp.c:168: [1] (buffer) strlen: |
| 6089 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6090 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6091 |
./src/tool_paramhlp.c:210: [1] (buffer) strlen: |
| 6092 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6093 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6094 |
./src/tool_paramhlp.c:393: [1] (buffer) strlen: |
| 6095 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6096 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6097 |
./src/tool_paramhlp.c:421: [1] (buffer) strlen: |
| 6098 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6099 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6100 |
./src/tool_paramhlp.c:440: [1] (buffer) strlen: |
| 6101 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6102 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6103 |
./src/tool_parsecfg.c:64: [1] (buffer) strlen: |
| 6104 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6105 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6106 |
./src/tool_parsecfg.c:64: [1] (buffer) strlen: |
| 6107 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6108 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6109 |
./src/tool_parsecfg.c:65: [1] (port) snprintf: |
| 6110 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6111 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6112 |
Check it during installation, or use something else. |
| 6113 |
./src/tool_parsecfg.c:90: [1] (buffer) strlen: |
| 6114 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6115 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6116 |
./src/tool_parsecfg.c:91: [1] (buffer) strlen: |
| 6117 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6118 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6119 |
./src/tool_parsecfg.c:92: [1] (port) snprintf: |
| 6120 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6121 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6122 |
Check it during installation, or use something else. |
| 6123 |
./src/tool_parsecfg.c:176: [1] (buffer) strlen: |
| 6124 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6125 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6126 |
./src/tool_parsecfg.c:344: [1] (buffer) strlen: |
| 6127 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6128 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6129 |
./src/tool_parsecfg.c:345: [1] (buffer) strlen: |
| 6130 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6131 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6132 |
./src/tool_setopt.c:217: [1] (buffer) strlen: |
| 6133 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6134 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6135 |
./src/tool_setopt.c:245: [1] (port) snprintf: |
| 6136 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6137 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6138 |
Check it during installation, or use something else. |
| 6139 |
./src/tool_setopt.c:305: [1] (port) snprintf: |
| 6140 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6141 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6142 |
Check it during installation, or use something else. |
| 6143 |
./src/tool_setopt.c:316: [1] (port) snprintf: |
| 6144 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6145 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6146 |
Check it during installation, or use something else. |
| 6147 |
./src/tool_setopt.c:316: [1] (buffer) strlen: |
| 6148 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6149 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6150 |
./src/tool_setopt.c:348: [1] (port) snprintf: |
| 6151 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6152 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6153 |
Check it during installation, or use something else. |
| 6154 |
./src/tool_setopt.c:359: [1] (port) snprintf: |
| 6155 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6156 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6157 |
Check it during installation, or use something else. |
| 6158 |
./src/tool_setopt.c:359: [1] (buffer) strlen: |
| 6159 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6160 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6161 |
./src/tool_setopt.c:516: [1] (port) snprintf: |
| 6162 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6163 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6164 |
Check it during installation, or use something else. |
| 6165 |
./src/tool_strdup.c:33: [1] (buffer) strlen: |
| 6166 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6167 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6168 |
./src/tool_urlglob.c:438: [1] (buffer) strlen: |
| 6169 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6170 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6171 |
./src/tool_urlglob.c:448: [1] (buffer) strlen: |
| 6172 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6173 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6174 |
./src/tool_urlglob.c:459: [1] (port) snprintf: |
| 6175 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6176 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6177 |
Check it during installation, or use something else. |
| 6178 |
./src/tool_urlglob.c:559: [1] (port) snprintf: |
| 6179 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6180 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6181 |
Check it during installation, or use something else. |
| 6182 |
./src/tool_urlglob.c:561: [1] (buffer) strlen: |
| 6183 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6184 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6185 |
./src/tool_urlglob.c:574: [1] (port) snprintf: |
| 6186 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6187 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6188 |
Check it during installation, or use something else. |
| 6189 |
./src/tool_urlglob.c:577: [1] (buffer) strlen: |
| 6190 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6191 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6192 |
./src/tool_urlglob.c:609: [1] (buffer) strlen: |
| 6193 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6194 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6195 |
./src/tool_urlglob.c:639: [1] (buffer) strlen: |
| 6196 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6197 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6198 |
./src/tool_urlglob.c:649: [1] (port) snprintf: |
| 6199 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6200 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6201 |
Check it during installation, or use something else. |
| 6202 |
./src/tool_urlglob.c:653: [1] (buffer) strlen: |
| 6203 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6204 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6205 |
./src/tool_xattr.c:66: [1] (buffer) strlen: |
| 6206 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6207 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6208 |
./src/tool_xattr.c:68: [1] (buffer) strlen: |
| 6209 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6210 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6211 |
./src/tool_xattr.c:71: [1] (buffer) strlen: |
| 6212 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6213 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6214 |
./tests/libtest/first.c:95: [1] (buffer) strlen: |
| 6215 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6216 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6217 |
./tests/libtest/first.c:109: [1] (buffer) strlen: |
| 6218 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6219 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6220 |
./tests/libtest/first.c:127: [1] (port) snprintf: |
| 6221 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6222 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6223 |
Check it during installation, or use something else. |
| 6224 |
./tests/libtest/lib1502.c:54: [1] (port) snprintf: |
| 6225 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6226 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6227 |
Check it during installation, or use something else. |
| 6228 |
./tests/libtest/lib1506.c:49: [1] (port) snprintf: |
| 6229 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6230 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6231 |
Check it during installation, or use something else. |
| 6232 |
./tests/libtest/lib1506.c:73: [1] (port) snprintf: |
| 6233 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6234 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6235 |
Check it during installation, or use something else. |
| 6236 |
./tests/libtest/lib1510.c:47: [1] (port) snprintf: |
| 6237 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6238 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6239 |
Check it during installation, or use something else. |
| 6240 |
./tests/libtest/lib1510.c:77: [1] (port) snprintf: |
| 6241 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6242 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6243 |
Check it during installation, or use something else. |
| 6244 |
./tests/libtest/lib1512.c:52: [1] (port) snprintf: |
| 6245 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6246 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6247 |
Check it during installation, or use something else. |
| 6248 |
./tests/libtest/lib1512.c:62: [1] (port) snprintf: |
| 6249 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6250 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6251 |
Check it during installation, or use something else. |
| 6252 |
./tests/libtest/lib1515.c:125: [1] (port) snprintf: |
| 6253 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6254 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6255 |
Check it during installation, or use something else. |
| 6256 |
./tests/libtest/lib1515.c:135: [1] (port) snprintf: |
| 6257 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6258 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6259 |
Check it during installation, or use something else. |
| 6260 |
./tests/libtest/lib1517.c:62: [1] (buffer) strlen: |
| 6261 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6262 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6263 |
./tests/libtest/lib1520.c:62: [1] (buffer) strlen: |
| 6264 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6265 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6266 |
./tests/libtest/lib1525.c:38: [1] (buffer) strlen: |
| 6267 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6268 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6269 |
./tests/libtest/lib1525.c:39: [1] (buffer) strlen: |
| 6270 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6271 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6272 |
./tests/libtest/lib1525.c:42: [1] (buffer) strlen: |
| 6273 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6274 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6275 |
./tests/libtest/lib1525.c:43: [1] (buffer) strlen: |
| 6276 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6277 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6278 |
./tests/libtest/lib1525.c:85: [1] (buffer) strlen: |
| 6279 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6280 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6281 |
./tests/libtest/lib1526.c:37: [1] (buffer) strlen: |
| 6282 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6283 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6284 |
./tests/libtest/lib1526.c:38: [1] (buffer) strlen: |
| 6285 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6286 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6287 |
./tests/libtest/lib1526.c:41: [1] (buffer) strlen: |
| 6288 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6289 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6290 |
./tests/libtest/lib1526.c:42: [1] (buffer) strlen: |
| 6291 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6292 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6293 |
./tests/libtest/lib1526.c:88: [1] (buffer) strlen: |
| 6294 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6295 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6296 |
./tests/libtest/lib1527.c:37: [1] (buffer) strlen: |
| 6297 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6298 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6299 |
./tests/libtest/lib1527.c:38: [1] (buffer) strlen: |
| 6300 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6301 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6302 |
./tests/libtest/lib1527.c:41: [1] (buffer) strlen: |
| 6303 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6304 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6305 |
./tests/libtest/lib1527.c:42: [1] (buffer) strlen: |
| 6306 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6307 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6308 |
./tests/libtest/lib1527.c:86: [1] (buffer) strlen: |
| 6309 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6310 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6311 |
./tests/libtest/lib1529.c:32: [1] (port) snprintf: |
| 6312 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6313 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6314 |
Check it during installation, or use something else. |
| 6315 |
./tests/libtest/lib1900.c:116: [1] (port) snprintf: |
| 6316 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6317 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6318 |
Check it during installation, or use something else. |
| 6319 |
./tests/libtest/lib508.c:58: [1] (buffer) strlen: |
| 6320 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6321 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6322 |
./tests/libtest/lib510.c:50: [1] (buffer) strlen: |
| 6323 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6324 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6325 |
./tests/libtest/lib518.c:60: [1] (port) snprintf: |
| 6326 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6327 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6328 |
Check it during installation, or use something else. |
| 6329 |
./tests/libtest/lib518.c:62: [1] (port) snprintf: |
| 6330 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6331 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6332 |
Check it during installation, or use something else. |
| 6333 |
./tests/libtest/lib518.c:240: [1] (port) snprintf: |
| 6334 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6335 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6336 |
Check it during installation, or use something else. |
| 6337 |
./tests/libtest/lib518.c:291: [1] (port) snprintf: |
| 6338 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6339 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6340 |
Check it during installation, or use something else. |
| 6341 |
./tests/libtest/lib518.c:328: [1] (port) snprintf: |
| 6342 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6343 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6344 |
Check it during installation, or use something else. |
| 6345 |
./tests/libtest/lib518.c:350: [1] (port) snprintf: |
| 6346 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6347 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6348 |
Check it during installation, or use something else. |
| 6349 |
./tests/libtest/lib518.c:354: [1] (port) snprintf: |
| 6350 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6351 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6352 |
Check it during installation, or use something else. |
| 6353 |
./tests/libtest/lib518.c:362: [1] (port) snprintf: |
| 6354 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6355 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6356 |
Check it during installation, or use something else. |
| 6357 |
./tests/libtest/lib518.c:400: [1] (port) snprintf: |
| 6358 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6359 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6360 |
Check it during installation, or use something else. |
| 6361 |
./tests/libtest/lib518.c:415: [1] (port) snprintf: |
| 6362 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6363 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6364 |
Check it during installation, or use something else. |
| 6365 |
./tests/libtest/lib518.c:438: [1] (port) snprintf: |
| 6366 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6367 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6368 |
Check it during installation, or use something else. |
| 6369 |
./tests/libtest/lib518.c:442: [1] (port) snprintf: |
| 6370 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6371 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6372 |
Check it during installation, or use something else. |
| 6373 |
./tests/libtest/lib530.c:56: [1] (port) snprintf: |
| 6374 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6375 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6376 |
Check it during installation, or use something else. |
| 6377 |
./tests/libtest/lib537.c:61: [1] (port) snprintf: |
| 6378 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6379 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6380 |
Check it during installation, or use something else. |
| 6381 |
./tests/libtest/lib537.c:63: [1] (port) snprintf: |
| 6382 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6383 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6384 |
Check it during installation, or use something else. |
| 6385 |
./tests/libtest/lib537.c:280: [1] (port) snprintf: |
| 6386 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6387 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6388 |
Check it during installation, or use something else. |
| 6389 |
./tests/libtest/lib537.c:322: [1] (port) snprintf: |
| 6390 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6391 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6392 |
Check it during installation, or use something else. |
| 6393 |
./tests/libtest/lib537.c:344: [1] (port) snprintf: |
| 6394 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6395 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6396 |
Check it during installation, or use something else. |
| 6397 |
./tests/libtest/lib537.c:348: [1] (port) snprintf: |
| 6398 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6399 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6400 |
Check it during installation, or use something else. |
| 6401 |
./tests/libtest/lib537.c:356: [1] (port) snprintf: |
| 6402 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6403 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6404 |
Check it during installation, or use something else. |
| 6405 |
./tests/libtest/lib537.c:404: [1] (port) snprintf: |
| 6406 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6407 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6408 |
Check it during installation, or use something else. |
| 6409 |
./tests/libtest/lib537.c:419: [1] (port) snprintf: |
| 6410 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6411 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6412 |
Check it during installation, or use something else. |
| 6413 |
./tests/libtest/lib537.c:442: [1] (port) snprintf: |
| 6414 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6415 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6416 |
Check it during installation, or use something else. |
| 6417 |
./tests/libtest/lib537.c:445: [1] (port) snprintf: |
| 6418 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6419 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6420 |
Check it during installation, or use something else. |
| 6421 |
./tests/libtest/lib540.c:203: [1] (port) snprintf: |
| 6422 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6423 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6424 |
Check it during installation, or use something else. |
| 6425 |
./tests/libtest/lib547.c:55: [1] (buffer) strlen: |
| 6426 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6427 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6428 |
./tests/libtest/lib547.c:58: [1] (buffer) strlen: |
| 6429 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6430 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6431 |
./tests/libtest/lib547.c:114: [1] (buffer) strlen: |
| 6432 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6433 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6434 |
./tests/libtest/lib553.c:78: [1] (port) snprintf: |
| 6435 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6436 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6437 |
Check it during installation, or use something else. |
| 6438 |
./tests/libtest/lib554.c:79: [1] (buffer) strlen: |
| 6439 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6440 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6441 |
./tests/libtest/lib554.c:109: [1] (buffer) strlen: |
| 6442 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6443 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6444 |
./tests/libtest/lib555.c:54: [1] (buffer) strlen: |
| 6445 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6446 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6447 |
./tests/libtest/lib555.c:57: [1] (buffer) strlen: |
| 6448 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6449 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6450 |
./tests/libtest/lib555.c:101: [1] (buffer) strlen: |
| 6451 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6452 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6453 |
./tests/libtest/lib556.c:76: [1] (buffer) strlen: |
| 6454 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6455 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6456 |
./tests/libtest/lib557.c:206: [1] (buffer) strlen: |
| 6457 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6458 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6459 |
./tests/libtest/lib557.c:376: [1] (buffer) strlen: |
| 6460 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6461 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6462 |
./tests/libtest/lib557.c:526: [1] (buffer) strlen: |
| 6463 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6464 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6465 |
./tests/libtest/lib557.c:754: [1] (buffer) strlen: |
| 6466 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6467 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6468 |
./tests/libtest/lib557.c:903: [1] (buffer) strlen: |
| 6469 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6470 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6471 |
./tests/libtest/lib557.c:1131: [1] (buffer) strlen: |
| 6472 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6473 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6474 |
./tests/libtest/lib557.c:1360: [1] (buffer) strlen: |
| 6475 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6476 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6477 |
./tests/libtest/lib557.c:1390: [1] (buffer) strlen: |
| 6478 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6479 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6480 |
./tests/libtest/lib579.c:79: [1] (buffer) strlen: |
| 6481 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6482 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6483 |
./tests/libtest/lib582.c:41: [1] (buffer) read: |
| 6484 |
Check buffer boundaries if used in a loop including recursive loops |
| 6485 |
(CWE-120, CWE-20). |
| 6486 |
./tests/libtest/lib582.c:114: [1] (buffer) read: |
| 6487 |
Check buffer boundaries if used in a loop including recursive loops |
| 6488 |
(CWE-120, CWE-20). |
| 6489 |
./tests/libtest/lib582.c:120: [1] (buffer) read: |
| 6490 |
Check buffer boundaries if used in a loop including recursive loops |
| 6491 |
(CWE-120, CWE-20). |
| 6492 |
./tests/libtest/lib582.c:310: [1] (buffer) read: |
| 6493 |
Check buffer boundaries if used in a loop including recursive loops |
| 6494 |
(CWE-120, CWE-20). |
| 6495 |
./tests/libtest/lib582.c:326: [1] (buffer) read: |
| 6496 |
Check buffer boundaries if used in a loop including recursive loops |
| 6497 |
(CWE-120, CWE-20). |
| 6498 |
./tests/libtest/lib582.c:355: [1] (buffer) read: |
| 6499 |
Check buffer boundaries if used in a loop including recursive loops |
| 6500 |
(CWE-120, CWE-20). |
| 6501 |
./tests/libtest/libauthretry.c:34: [1] (buffer) strlen: |
| 6502 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6503 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6504 |
./tests/libtest/libauthretry.c:41: [1] (port) snprintf: |
| 6505 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6506 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6507 |
Check it during installation, or use something else. |
| 6508 |
./tests/libtest/libntlmconnect.c:106: [1] (buffer) strlen: |
| 6509 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6510 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6511 |
./tests/libtest/libntlmconnect.c:149: [1] (port) snprintf: |
| 6512 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6513 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6514 |
Check it during installation, or use something else. |
| 6515 |
./tests/libtest/libntlmconnect.c:153: [1] (port) snprintf: |
| 6516 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6517 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6518 |
Check it during installation, or use something else. |
| 6519 |
./tests/libtest/sethostname.c:34: [1] (buffer) strncpy: |
| 6520 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 6521 |
pointers (CWE-120). |
| 6522 |
./tests/libtest/testtrace.c:109: [1] (port) snprintf: |
| 6523 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6524 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6525 |
Check it during installation, or use something else. |
| 6526 |
./tests/server/fake_ntlm.c:65: [1] (buffer) strlen: |
| 6527 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6528 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6529 |
./tests/server/fake_ntlm.c:79: [1] (port) snprintf: |
| 6530 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6531 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6532 |
Check it during installation, or use something else. |
| 6533 |
./tests/server/fake_ntlm.c:169: [1] (buffer) strlen: |
| 6534 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6535 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6536 |
./tests/server/fake_ntlm.c:245: [1] (buffer) strlen: |
| 6537 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6538 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6539 |
./tests/server/getpart.c:106: [1] (buffer) strlen: |
| 6540 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6541 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6542 |
./tests/server/getpart.c:156: [1] (buffer) strlen: |
| 6543 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6544 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6545 |
./tests/server/rtspd.c:352: [1] (buffer) sscanf: |
| 6546 |
It's unclear if the %s limit in the format string is small enough |
| 6547 |
(CWE-120). Check that the limit is sufficiently small, or use a different |
| 6548 |
input function. |
| 6549 |
./tests/server/rtspd.c:383: [1] (buffer) strlen: |
| 6550 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6551 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6552 |
./tests/server/rtspd.c:383: [1] (buffer) strlen: |
| 6553 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6554 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6555 |
./tests/server/rtspd.c:384: [1] (port) snprintf: |
| 6556 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6557 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6558 |
Check it during installation, or use something else. |
| 6559 |
./tests/server/rtspd.c:387: [1] (port) snprintf: |
| 6560 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6561 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6562 |
Check it during installation, or use something else. |
| 6563 |
./tests/server/rtspd.c:418: [1] (port) snprintf: |
| 6564 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6565 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6566 |
Check it during installation, or use something else. |
| 6567 |
./tests/server/rtspd.c:457: [1] (buffer) strlen: |
| 6568 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6569 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6570 |
./tests/server/rtspd.c:461: [1] (buffer) strlen: |
| 6571 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6572 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6573 |
./tests/server/rtspd.c:466: [1] (buffer) strlen: |
| 6574 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6575 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6576 |
./tests/server/rtspd.c:542: [1] (port) snprintf: |
| 6577 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6578 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6579 |
Check it during installation, or use something else. |
| 6580 |
./tests/server/rtspd.c:582: [1] (buffer) strlen: |
| 6581 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6582 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6583 |
./tests/server/rtspd.c:626: [1] (buffer) strlen: |
| 6584 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6585 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6586 |
./tests/server/rtspd.c:691: [1] (buffer) strlen: |
| 6587 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6588 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6589 |
./tests/server/rtspd.c:692: [1] (buffer) strlen: |
| 6590 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6591 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6592 |
./tests/server/rtspd.c:693: [1] (buffer) strlen: |
| 6593 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6594 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6595 |
./tests/server/rtspd.c:696: [1] (buffer) strlen: |
| 6596 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6597 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6598 |
./tests/server/rtspd.c:708: [1] (buffer) strlen: |
| 6599 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6600 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6601 |
./tests/server/rtspd.c:720: [1] (buffer) strlen: |
| 6602 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6603 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6604 |
./tests/server/rtspd.c:922: [1] (buffer) strlen: |
| 6605 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6606 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6607 |
./tests/server/rtspd.c:952: [1] (port) snprintf: |
| 6608 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6609 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6610 |
Check it during installation, or use something else. |
| 6611 |
./tests/server/rtspd.c:954: [1] (buffer) strlen: |
| 6612 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6613 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6614 |
./tests/server/rtspd.c:955: [1] (port) snprintf: |
| 6615 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6616 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6617 |
Check it during installation, or use something else. |
| 6618 |
./tests/server/rtspd.c:983: [1] (buffer) strlen: |
| 6619 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6620 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6621 |
./tests/server/rtspd.c:989: [1] (port) snprintf: |
| 6622 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6623 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6624 |
Check it during installation, or use something else. |
| 6625 |
./tests/server/rtspd.c:1145: [1] (buffer) sscanf: |
| 6626 |
It's unclear if the %s limit in the format string is small enough |
| 6627 |
(CWE-120). Check that the limit is sufficiently small, or use a different |
| 6628 |
input function. |
| 6629 |
./tests/server/rtspd.c:1242: [1] (buffer) strlen: |
| 6630 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6631 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6632 |
./tests/server/sockfilt.c:293: [1] (buffer) read: |
| 6633 |
Check buffer boundaries if used in a loop including recursive loops |
| 6634 |
(CWE-120, CWE-20). |
| 6635 |
./tests/server/sockfilt.c:309: [1] (buffer) read: |
| 6636 |
Check buffer boundaries if used in a loop including recursive loops |
| 6637 |
(CWE-120, CWE-20). |
| 6638 |
./tests/server/sockfilt.c:310: [1] (buffer) read: |
| 6639 |
Check buffer boundaries if used in a loop including recursive loops |
| 6640 |
(CWE-120, CWE-20). |
| 6641 |
./tests/server/sockfilt.c:362: [1] (buffer) read: |
| 6642 |
Check buffer boundaries if used in a loop including recursive loops |
| 6643 |
(CWE-120, CWE-20). |
| 6644 |
./tests/server/sockfilt.c:486: [1] (port) snprintf: |
| 6645 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6646 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6647 |
Check it during installation, or use something else. |
| 6648 |
./tests/server/sockfilt.c:492: [1] (port) snprintf: |
| 6649 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6650 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6651 |
Check it during installation, or use something else. |
| 6652 |
./tests/server/sockfilt.c:498: [1] (port) snprintf: |
| 6653 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6654 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6655 |
Check it during installation, or use something else. |
| 6656 |
./tests/server/sockfilt.c:1067: [1] (port) snprintf: |
| 6657 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6658 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6659 |
Check it during installation, or use something else. |
| 6660 |
./tests/server/sockfilt.c:1068: [1] (buffer) strlen: |
| 6661 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6662 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6663 |
./tests/server/sockfilt.c:1069: [1] (port) snprintf: |
| 6664 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6665 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6666 |
Check it during installation, or use something else. |
| 6667 |
./tests/server/sockfilt.c:1162: [1] (port) snprintf: |
| 6668 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6669 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6670 |
Check it during installation, or use something else. |
| 6671 |
./tests/server/sockfilt.c:1398: [1] (buffer) strlen: |
| 6672 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6673 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6674 |
./tests/server/sockfilt.c:1415: [1] (buffer) strlen: |
| 6675 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6676 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6677 |
./tests/server/sws.c:392: [1] (buffer) strlen: |
| 6678 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6679 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6680 |
./tests/server/sws.c:396: [1] (buffer) strlen: |
| 6681 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6682 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6683 |
./tests/server/sws.c:401: [1] (buffer) strlen: |
| 6684 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6685 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6686 |
./tests/server/sws.c:406: [1] (buffer) strlen: |
| 6687 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6688 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6689 |
./tests/server/sws.c:410: [1] (buffer) strlen: |
| 6690 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6691 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6692 |
./tests/server/sws.c:499: [1] (buffer) strlen: |
| 6693 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6694 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6695 |
./tests/server/sws.c:499: [1] (buffer) strlen: |
| 6696 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6697 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6698 |
./tests/server/sws.c:500: [1] (port) snprintf: |
| 6699 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6700 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6701 |
Check it during installation, or use something else. |
| 6702 |
./tests/server/sws.c:503: [1] (port) snprintf: |
| 6703 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6704 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6705 |
Check it during installation, or use something else. |
| 6706 |
./tests/server/sws.c:536: [1] (port) snprintf: |
| 6707 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6708 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6709 |
Check it during installation, or use something else. |
| 6710 |
./tests/server/sws.c:557: [1] (port) snprintf: |
| 6711 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6712 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6713 |
Check it during installation, or use something else. |
| 6714 |
./tests/server/sws.c:628: [1] (port) snprintf: |
| 6715 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6716 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6717 |
Check it during installation, or use something else. |
| 6718 |
./tests/server/sws.c:679: [1] (port) snprintf: |
| 6719 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6720 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6721 |
Check it during installation, or use something else. |
| 6722 |
./tests/server/sws.c:689: [1] (buffer) strlen: |
| 6723 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6724 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6725 |
./tests/server/sws.c:733: [1] (buffer) strlen: |
| 6726 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6727 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6728 |
./tests/server/sws.c:798: [1] (buffer) strlen: |
| 6729 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6730 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6731 |
./tests/server/sws.c:800: [1] (buffer) strlen: |
| 6732 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6733 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6734 |
./tests/server/sws.c:801: [1] (buffer) strlen: |
| 6735 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6736 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6737 |
./tests/server/sws.c:804: [1] (buffer) strlen: |
| 6738 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6739 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6740 |
./tests/server/sws.c:816: [1] (buffer) strlen: |
| 6741 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6742 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6743 |
./tests/server/sws.c:836: [1] (buffer) strlen: |
| 6744 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6745 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6746 |
./tests/server/sws.c:1058: [1] (buffer) strlen: |
| 6747 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6748 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6749 |
./tests/server/sws.c:1088: [1] (port) snprintf: |
| 6750 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6751 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6752 |
Check it during installation, or use something else. |
| 6753 |
./tests/server/sws.c:1089: [1] (buffer) strlen: |
| 6754 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6755 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6756 |
./tests/server/sws.c:1091: [1] (port) snprintf: |
| 6757 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6758 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6759 |
Check it during installation, or use something else. |
| 6760 |
./tests/server/sws.c:1093: [1] (port) snprintf: |
| 6761 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6762 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6763 |
Check it during installation, or use something else. |
| 6764 |
./tests/server/sws.c:1105: [1] (buffer) strlen: |
| 6765 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6766 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6767 |
./tests/server/sws.c:1116: [1] (port) snprintf: |
| 6768 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6769 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6770 |
Check it during installation, or use something else. |
| 6771 |
./tests/server/sws.c:1118: [1] (port) snprintf: |
| 6772 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6773 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6774 |
Check it during installation, or use something else. |
| 6775 |
./tests/server/sws.c:1259: [1] (buffer) sscanf: |
| 6776 |
It's unclear if the %s limit in the format string is small enough |
| 6777 |
(CWE-120). Check that the limit is sufficiently small, or use a different |
| 6778 |
input function. |
| 6779 |
./tests/server/sws.c:2023: [1] (buffer) strlen: |
| 6780 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6781 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6782 |
./tests/server/sws.c:2040: [1] (buffer) strlen: |
| 6783 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6784 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6785 |
./tests/server/sws.c:2085: [1] (port) snprintf: |
| 6786 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6787 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6788 |
Check it during installation, or use something else. |
| 6789 |
./tests/server/sws.c:2144: [1] (buffer) strncpy: |
| 6790 |
Easily used incorrectly; doesn't always \0-terminate or check for invalid |
| 6791 |
pointers (CWE-120). |
| 6792 |
./tests/server/sws.c:2311: [1] (buffer) strlen: |
| 6793 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6794 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6795 |
./tests/server/tftpd.c:572: [1] (port) snprintf: |
| 6796 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6797 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6798 |
Check it during installation, or use something else. |
| 6799 |
./tests/server/tftpd.c:724: [1] (buffer) strlen: |
| 6800 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6801 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6802 |
./tests/server/tftpd.c:1149: [1] (port) snprintf: |
| 6803 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6804 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6805 |
Check it during installation, or use something else. |
| 6806 |
./tests/server/tftpd.c:1192: [1] (port) snprintf: |
| 6807 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6808 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6809 |
Check it during installation, or use something else. |
| 6810 |
./tests/server/tftpd.c:1426: [1] (buffer) strlen: |
| 6811 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6812 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6813 |
./tests/server/util.c:80: [1] (port) snprintf: |
| 6814 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6815 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6816 |
Check it during installation, or use something else. |
| 6817 |
./tests/server/util.c:115: [1] (port) snprintf: |
| 6818 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6819 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6820 |
Check it during installation, or use something else. |
| 6821 |
./tests/server/util.c:145: [1] (port) snprintf: |
| 6822 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6823 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6824 |
Check it during installation, or use something else. |
| 6825 |
./tests/unit/unit1304.c:52: [1] (buffer) strlen: |
| 6826 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6827 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6828 |
./tests/unit/unit1305.c:133: [1] (buffer) strlen: |
| 6829 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6830 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6831 |
./tests/unit/unit1396.c:101: [1] (buffer) strlen: |
| 6832 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6833 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6834 |
./tests/unit/unit1603.c:63: [1] (buffer) strlen: |
| 6835 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6836 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6837 |
./tests/unit/unit1603.c:64: [1] (buffer) strlen: |
| 6838 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6839 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6840 |
./tests/unit/unit1603.c:65: [1] (buffer) strlen: |
| 6841 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6842 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6843 |
./tests/unit/unit1603.c:66: [1] (buffer) strlen: |
| 6844 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6845 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6846 |
./tests/unit/unit1603.c:70: [1] (buffer) strlen: |
| 6847 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6848 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6849 |
./tests/unit/unit1603.c:72: [1] (buffer) strlen: |
| 6850 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6851 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6852 |
./tests/unit/unit1603.c:75: [1] (buffer) strlen: |
| 6853 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6854 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6855 |
./tests/unit/unit1603.c:77: [1] (buffer) strlen: |
| 6856 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6857 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6858 |
./tests/unit/unit1603.c:80: [1] (buffer) strlen: |
| 6859 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6860 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6861 |
./tests/unit/unit1603.c:82: [1] (buffer) strlen: |
| 6862 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6863 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6864 |
./tests/unit/unit1603.c:86: [1] (buffer) strlen: |
| 6865 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6866 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6867 |
./tests/unit/unit1603.c:88: [1] (buffer) strlen: |
| 6868 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6869 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6870 |
./tests/unit/unit1603.c:92: [1] (buffer) strlen: |
| 6871 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6872 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6873 |
./tests/unit/unit1603.c:94: [1] (buffer) strlen: |
| 6874 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6875 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6876 |
./tests/unit/unit1603.c:96: [1] (buffer) strlen: |
| 6877 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6878 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6879 |
./tests/unit/unit1603.c:98: [1] (buffer) strlen: |
| 6880 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6881 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6882 |
./tests/unit/unit1603.c:102: [1] (buffer) strlen: |
| 6883 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6884 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6885 |
./tests/unit/unit1603.c:104: [1] (buffer) strlen: |
| 6886 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6887 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6888 |
./tests/unit/unit1603.c:106: [1] (buffer) strlen: |
| 6889 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6890 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6891 |
./tests/unit/unit1603.c:110: [1] (buffer) strlen: |
| 6892 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6893 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6894 |
./tests/unit/unit1603.c:112: [1] (buffer) strlen: |
| 6895 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6896 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6897 |
./tests/unit/unit1603.c:116: [1] (buffer) strlen: |
| 6898 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6899 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6900 |
./tests/unit/unit1603.c:118: [1] (buffer) strlen: |
| 6901 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6902 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6903 |
./tests/unit/unit1603.c:120: [1] (buffer) strlen: |
| 6904 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6905 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6906 |
./tests/unit/unit1603.c:124: [1] (buffer) strlen: |
| 6907 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6908 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6909 |
./tests/unit/unit1603.c:126: [1] (buffer) strlen: |
| 6910 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6911 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6912 |
./tests/unit/unit1603.c:128: [1] (buffer) strlen: |
| 6913 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6914 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6915 |
./tests/unit/unit1603.c:132: [1] (buffer) strlen: |
| 6916 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6917 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6918 |
./tests/unit/unit1603.c:136: [1] (buffer) strlen: |
| 6919 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6920 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6921 |
./tests/unit/unit1603.c:138: [1] (buffer) strlen: |
| 6922 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6923 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6924 |
./tests/unit/unit1603.c:142: [1] (buffer) strlen: |
| 6925 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6926 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6927 |
./tests/unit/unit1603.c:144: [1] (buffer) strlen: |
| 6928 |
Does not handle strings that are not \0-terminated; if given one it may |
| 6929 |
perform an over-read (it could cause a crash if unprotected) (CWE-126). |
| 6930 |
./tests/unit/unit1604.c:49: [1] (port) snprintf: |
| 6931 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6932 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6933 |
Check it during installation, or use something else. |
| 6934 |
./tests/unit/unit1604.c:61: [1] (port) snprintf: |
| 6935 |
On some very old systems, snprintf is incorrectly implemented and permits |
| 6936 |
buffer overflows; there are also incompatible standard definitions of it. |
| 6937 |
Check it during installation, or use something else. |
| 6938 |
|
| 6939 |
ANALYSIS SUMMARY: |
| 6940 |
|
| 6941 |
Hits = 1804 |
| 6942 |
Lines analyzed = 188366 in approximately 3.01 seconds (62585 lines/second) |
| 6943 |
Physical Source Lines of Code (SLOC) = 122850 |
| 6944 |
Hits@level = [0] 0 [1] 833 [2] 791 [3] 40 [4] 140 [5] 0 |
| 6945 |
Hits@level+ = [0+] 1804 [1+] 1804 [2+] 971 [3+] 180 [4+] 140 [5+] 0 |
| 6946 |
Hits/KSLOC@level+ = [0+] 14.6846 [1+] 14.6846 [2+] 7.90395 [3+] 1.4652 [4+] 1.1396 [5+] 0 |
| 6947 |
Dot directories skipped = 1 (--followdotdir overrides) |
| 6948 |
Minimum risk level = 1 |
| 6949 |
Not every hit is necessarily a security vulnerability. |
| 6950 |
There may be other security vulnerabilities; review your code! |
| 6951 |
See 'Secure Programming for Linux and Unix HOWTO' |
| 6952 |
(http://www.dwheeler.com/secure-programs) for more information. |