Skip to content

Conversation

@oleksandr-nc
Copy link
Contributor

Fixes a validation flaw where daemon names containing control characters (newlines, tabs, null bytes) could bypass uniqueness checks and create undeletable entries.

Adds validation in registerDaemonConfig() and updateDaemonConfig() to reject names containing ASCII control characters (0x00-0x1F, 0x7F).

@oleksandr-nc oleksandr-nc requested a review from kyteinsky January 8, 2026 09:44
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
@oleksandr-nc oleksandr-nc force-pushed the fix/restrict-control-chars-in-daemonname branch from da139fb to 753c12b Compare January 8, 2026 10:21
@oleksandr-nc oleksandr-nc merged commit ed7378c into main Jan 8, 2026
34 checks passed
@oleksandr-nc oleksandr-nc deleted the fix/restrict-control-chars-in-daemonname branch January 8, 2026 12:23
@oleksandr-nc
Copy link
Contributor Author

/backport to stable31

@oleksandr-nc
Copy link
Contributor Author

/backport to stable32

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