codeql/go/old-change-notes/2020-08-07-negative-length-...

4 строки
270 B
Markdown

lgtm,codescanning
* Query "Redundant check for negative value" (`go/negative-length-check`) has been expanded to consider unsigned integers, along
with the return values of `len` and `cap` which it already handled. It has also been renamed to match its expanded role.