Skip to content

[hardening] Harden .virlrc parsing for malformed configuration lines#164

Merged
xorrkaz merged 1 commit intoCiscoDevNet:joe-devfrom
tmikuska:fix-virlrc-parsing
Mar 1, 2026
Merged

[hardening] Harden .virlrc parsing for malformed configuration lines#164
xorrkaz merged 1 commit intoCiscoDevNet:joe-devfrom
tmikuska:fix-virlrc-parsing

Conversation

@tmikuska
Copy link
Contributor

@tmikuska tmikuska commented Mar 1, 2026

Safely skip malformed/comment lines, split key/value pairs once, and add regression tests covering malformed entries, quoting, lookup precedence, and credential tuple assembly.

Safely skip malformed/comment lines, split key/value pairs once, and add regression tests covering malformed entries, quoting, lookup precedence, and credential tuple assembly.
@tmikuska tmikuska changed the title [HARDENING] Harden .virlrc parsing for malformed configuration lines. [hardening] Harden .virlrc parsing for malformed configuration lines. Mar 1, 2026
@tmikuska tmikuska changed the title [hardening] Harden .virlrc parsing for malformed configuration lines. [hardening] Harden .virlrc parsing for malformed configuration lines Mar 1, 2026
@coveralls
Copy link

Pull Request Test Coverage Report for Build 22543611904

Details

  • 6 of 6 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.4%) to 76.143%

Totals Coverage Status
Change from base Build 21750230040: 0.4%
Covered Lines: 1998
Relevant Lines: 2624

💛 - Coveralls

@xorrkaz xorrkaz merged commit e8d65eb into CiscoDevNet:joe-dev Mar 1, 2026
6 checks passed
@tmikuska tmikuska deleted the fix-virlrc-parsing branch March 1, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants