cnescatlab / cnescatlab/i-CodeCNES

False positives on COM.FLOW.FileExistence error

Open
#178 1 comment 0 reactions 0 assignees View on GitHub
false positive shell to analyse
Dominant language
Fortran
Stars
63
Forks
18
PR merge metrics
No merged PRs in 30d

Description

### Expected behavior
we don't expect a COM.FLOW.FileExistence error :
- on "done" when using a loop with on a file (done < $file) (done is not a file in this case).
- on "$recipient" when using the command mail (recipient is not a file in this case).

### Actual behavior
With the following lines :
![image](https://user-images.githubusercontent.com/59566012/71889874-6547de00-3143-11ea-9f53-2f7702137dca.png)
and
![image](https://user-images.githubusercontent.com/59566012/71889879-6a0c9200-3143-11ea-828b-9a603236a697.png)

we get the this i-Code result :
![image](https://user-images.githubusercontent.com/59566012/71889903-78f34480-3143-11ea-9081-d3b4fb70fc3f.png)
![image](https://user-images.githubusercontent.com/59566012/71889909-7b559e80-3143-11ea-800b-9579b2bc011a.png)
![image](https://user-images.githubusercontent.com/59566012/71889915-7ee92580-3143-11ea-807a-3b325b606662.png)

### Steps to reproduce behavior

### Detection version
3.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.