Skip to content

🥅 Validate that Atom and Flag are not empty#684

Merged
nevans merged 1 commit into
masterfrom
validate-empty-atom
May 28, 2026
Merged

🥅 Validate that Atom and Flag are not empty#684
nevans merged 1 commit into
masterfrom
validate-empty-atom

Conversation

@nevans
Copy link
Copy Markdown
Collaborator

@nevans nevans commented May 28, 2026

Atom and Flag have only been used for argument validation since v0.6.4 (as well as v0.5.14 and v0.4.24), and they validated for absense of atom-specials. But they failed to check that the strings are not empty.

While this could be used to create syntax errors, I don't believe it amounts a security vulnerability. The result would be no different from any other BAD server response, which an application must be prepared to handle.

`Atom` and `Flag` have only been used for argument validation since
v0.6.4 (as well as v0.5.14 and v0.4.24), and they validated for absense
of `atom-specials`.  But they failed to check that the strings are not
empty.

While this could be used to create syntax errors, I don't believe it
amounts a security vulnerability.  The result would be no different from
any other `BAD` server response, which an application must be prepared
to handle.
@nevans nevans force-pushed the validate-empty-atom branch from 5540142 to 847748d Compare May 28, 2026 14:30
@nevans nevans merged commit e224fd6 into master May 28, 2026
39 checks passed
@nevans nevans deleted the validate-empty-atom branch May 28, 2026 14:36
@nevans nevans added bug Something isn't working backport-0.5 This ticket needs to be backported to the v0.5-stable branch. labels May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-0.5 This ticket needs to be backported to the v0.5-stable branch. bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant