Commit ddd0708
Fix Solaris processors regex
This fixes a CodeQL security scanner hit:
> Suspicious character range that overlaps with a-z in the same character class, and is equivalent to [A-Z[]^_`a-z].
It was subtly relying on this. This modifies to code to extract the
value directly by scanning the output instead of parsing the output
again.
Fixes: 7019e89 ("(FACT-2552) Add Solaris processors facts (#451)")1 parent 876e89c commit ddd0708
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments