Commit f600411
committed
cslinker: do not abort on empty property in scan.ini
```
[...]
>>> 2023-06-19 10:34:00 "cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmocklj8jvfjs/openshift-clients-4.7.0-202103251046.p0.git.3957.c4da68b.el8/scan.ini' '/tmp/csmocklj8jvfjs/openshift-clients-4.7.0-202103251046.p0.git.3957.c4da68b.el8/debug/uni-results'/* > '/tmp/csmocklj8jvfjs/openshift-clients-4.7.0-202103251046.p0.git.3957.c4da68b.el8/debug/scan-results-all.js'"
terminate called after throwing an instance of 'boost::wrapexcept<boost::bad_lexical_cast>'
what(): bad lexical cast: source type value could not be interpreted as target
!!! 2023-06-19 10:34:00 fatal error: caught signal 6
```
Closes: #1321 parent 2373ab2 commit f600411
File tree
5 files changed
+57
-0
lines changed- src/lib
- tests/cslinker/0003-ini-parser
5 files changed
+57
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments