Skip to content

🥅 Validate that Atom and Flag are not empty (backports #684)#685

Merged
nevans merged 1 commit into
v0.5-stablefrom
backport/v0.5/validate-empty-atom
May 29, 2026
Merged

🥅 Validate that Atom and Flag are not empty (backports #684)#685
nevans merged 1 commit into
v0.5-stablefrom
backport/v0.5/validate-empty-atom

Conversation

@nevans
Copy link
Copy Markdown
Collaborator

@nevans nevans commented May 28, 2026

Backports #684 to v0.5-stable.

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 added bug Something isn't working backport This issue or PR is for a stable release branch labels May 28, 2026
@nevans nevans merged commit 89e31ba into v0.5-stable May 29, 2026
46 checks passed
@nevans nevans deleted the backport/v0.5/validate-empty-atom branch May 29, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This issue or PR is for a stable release branch bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant