nccgroup / VCG

VisualCodeGrepper - Code security scanning tool.
GNU General Public License v3.0
530 stars 117 forks source link

Getting wrong line numbers for the vulnerable lines in the report on scanning using command line . #7

Open Harshal1693 opened 7 years ago

Harshal1693 commented 7 years ago

Hi Team,

I am getting wrong line numbers for the vulnerable lines in the xml report that is generated on scanning using command line. When I scan using the application , it is correct. Can anyone help me to fix this issue or even guide me what may be causing the issue?

huyuanmei commented 7 years ago

I had the problem too

chrjs commented 7 years ago

Same issue

mceli2 commented 6 years ago

Same problem occurs with the generated csv report

lopji commented 6 years ago

Hey, i had this issue too. I fixed it by adding this line. UpdateGraphs(strItem, arrShortName, blnIsColoured) in frmMain.vb function ScanFiles +- line 319

... '== Update graphs and tables == If asAppSettings.IsConsole = False Then UpdateGraphs(strItem, arrShortName, blnIsColoured) blnIsColoured = False Else 'Add By Me UpdateGraphs(strItem, arrShortName, blnIsColoured) ....

hari300694 commented 6 years ago

Still not working after adding the code

dommyzee commented 1 year ago

I’ve submitted a PR (2.3.0 - #18) that addresses this, and many others. Can you download it and check that this issue is resolved? I’ve notified the maintainer that this PR is in waiting.