facebook / infer

A static analyzer for Java, C, C++, and Objective-C
http://fbinfer.com/
MIT License
14.93k stars 2.01k forks source link

Fix invalid SARIF startLine/startColumn #1696

Closed xi-liu-ds closed 1 year ago

xi-liu-ds commented 1 year ago

Hi Infer team!

This PR introduces a fix when SARIF startLine/startColumn is 0, which causes failure when customer tries to upload/render report in SARIF format.

facebook-github-bot commented 1 year ago

@jvillard has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.