Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed C/C++ "scope" token #747

Merged
merged 1 commit into from
Oct 18, 2022
Merged

Conversation

PascalKrieg
Copy link
Contributor

Currently, the C/C++ language module uses scope tokens (:: ).
This allows simple obfuscation attacks by adding (or, if possible, removing) explicit namespaces (e.g. cout to std::cout).

Thus, this PR removes this token from the C/C++ tokenization.

@sonarcloud
Copy link

sonarcloud bot commented Oct 18, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@tsaglam tsaglam added enhancement Issue/PR that involves features, improvements and other changes minor Minor issue/feature/contribution/change labels Oct 18, 2022
@tsaglam tsaglam added this to the v4.0.1 milestone Oct 18, 2022
@tsaglam tsaglam merged commit 1f416d2 into jplag:main Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issue/PR that involves features, improvements and other changes minor Minor issue/feature/contribution/change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants