Open
Description
Hi,
We just started using https://github.com/firehol/netdata in LGTM. Thank you!
We found that LGTM reports cpp/command-line-injection
false positives.
Here is a screenshot:
But the code is the other way around: We use fgets()
after we run the command, to read the output of the program we execute, like this: