I can load the attached SARIF file in the SARIF-viewer plugin for CLion and all seems to work fine. (screenshot 1).
Then, I can click on the first issue and it loads the source file and navigates to the offending line.
However, now all lines in the viewer show 'No problems' (screenshot 2) and when I click on any of them, I get an error (screenshot 3).
This SARIF loads correctly in other SARIF compatible viewers.
You can use a clone of curl if you want to get the source code, won't have the problematic lines in it, but it will have the files.
warnings-4.sarif.zip

I can load the attached SARIF file in the SARIF-viewer plugin for CLion and all seems to work fine. (screenshot 1).
Then, I can click on the first issue and it loads the source file and navigates to the offending line.
However, now all lines in the viewer show 'No problems' (screenshot 2) and when I click on any of them, I get an error (screenshot 3).
This SARIF loads correctly in other SARIF compatible viewers.
You can use a clone of curl if you want to get the source code, won't have the problematic lines in it, but it will have the files.
warnings-4.sarif.zip