Skip to content

A2-3-1: Reports StringLiterals incorrectly #311

Closed
@lcartey

Description

@lcartey

Affected rules

  • A2-3-1

Description

This rule has an exception:

It is permitted to use other characters inside the text of a wide string and a UTF-8 encoded string literal.

This rule is currently implemented as two queries, one of which covers the StringLiteral case and reports all string literals. We should exclude L".." an u8".." strings.

Metadata

Metadata

Assignees

Labels

Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to addressImpact-Lowfalse positive/false negativeAn issue related to observed false positives or false negatives.user-reportIssue reported by an end user of CodeQL Coding Standards

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions