You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using System.Security.Cryptography;classProgram{staticvoidMain(){SymmetricAlgorithmsym= Aes.Create();ReadOnlySpan<byte>read_only_span=newReadOnlySpan<byte>();
sym.EncryptCbc(read_only_span, read_only_span);}}
Output:
Line 7: CipherMode $MODE detected
Line 7: CipherMode Cbc detected
Expected Output:
Line 7: CipherMode Cbc detected
What is the priority of the bug to you?
P0: blocking your adoption of Semgrep or workflow
P1: important to fix or quite annoying
P2: regular bug that should get fixed
The text was updated successfully, but these errors were encountered:
Using a metavariable-regex with a named match group erroneously duplicates reported matches.
semgrep
v1.70.0
via playground.Rule:
Test code:
Output:
Line 7: CipherMode $MODE detected Line 7: CipherMode Cbc detected
Expected Output:
What is the priority of the bug to you?
The text was updated successfully, but these errors were encountered: