Ir #44
Ir #44
28 new issues (0 max.) of at least minor severity.
Annotations
Check warning on line 23 in src/ir/irs/values.c
codacy-production / Codacy Static Code Analysis
src/ir/irs/values.c#L23
Avoid the 'ato*()' family of functions.
Check warning on line 23 in src/ir/irs/values.c
codacy-production / Codacy Static Code Analysis
src/ir/irs/values.c#L23
The `atoi` family of functions can potentially overflow or underflow integer values.
Check failure on line 24 in src/ir/irs/variables.c
codacy-production / Codacy Static Code Analysis
src/ir/irs/variables.c#L24
The `strlen` family of functions does not handle strings that are not null terminated.
Check notice on line 47 in src/ir/irs/variables.c
codacy-production / Codacy Static Code Analysis
src/ir/irs/variables.c#L47
Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).
Check failure on line 47 in src/ir/irs/variables.c
codacy-production / Codacy Static Code Analysis
src/ir/irs/variables.c#L47
The `strlen` family of functions does not handle strings that are not null terminated.
Check notice on line 106 in src/parser/asts/functions.c
codacy-production / Codacy Static Code Analysis
src/parser/asts/functions.c#L106
Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).
Check failure on line 106 in src/parser/asts/functions.c
codacy-production / Codacy Static Code Analysis
src/parser/asts/functions.c#L106
The `strlen` family of functions does not handle strings that are not null terminated.
Check notice on line 93 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L93
Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).
Check failure on line 93 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L93
The `strlen` family of functions does not handle strings that are not null terminated.
Check notice on line 103 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L103
Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).
Check failure on line 103 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L103
The `strlen` family of functions does not handle strings that are not null terminated.
Check notice on line 114 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L114
Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).
Check failure on line 114 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L114
The `strlen` family of functions does not handle strings that are not null terminated.
Check notice on line 134 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L134
Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).
Check failure on line 134 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L134
The `strlen` family of functions does not handle strings that are not null terminated.
Check notice on line 144 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L144
Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).
Check failure on line 144 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L144
The `strlen` family of functions does not handle strings that are not null terminated.
Check notice on line 221 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L221
Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).
Check notice on line 231 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L231
Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).
Check failure on line 231 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L231
The `strlen` family of functions does not handle strings that are not null terminated.
Check notice on line 240 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L240
Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).
Check failure on line 240 in src/qasm/parser/parser.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/parser.c#L240
The `strlen` family of functions does not handle strings that are not null terminated.
Check warning on line 16 in src/qasm/parser/values.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/values.c#L16
Avoid the 'ato*()' family of functions.
Check warning on line 16 in src/qasm/parser/values.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/values.c#L16
The `atoi` family of functions can potentially overflow or underflow integer values.
Check notice on line 16 in src/qasm/parser/values.c
codacy-production / Codacy Static Code Analysis
src/qasm/parser/values.c#L16
Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended).