Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema: Forbid strings with \0 character #79

Open
spbnick opened this issue May 31, 2024 · 0 comments
Open

schema: Forbid strings with \0 character #79

spbnick opened this issue May 31, 2024 · 0 comments

Comments

@spbnick
Copy link
Collaborator

spbnick commented May 31, 2024

PostgreSQL cannot store text with \0 characters. Add a custom string type to a new major version of the schema, and use it whenever a string without an excluding regular expression or without a format is specified.

spbnick added a commit to kernelci/kcidb that referenced this issue May 31, 2024
Discard messages with strings containing NUL characters in the
kcidb.mq.IOSubscriber. This will help us clear a submission queue
containing a number of such messages at the moment, but should be done
inside the I/O JSON schema instead.

See kernelci/kcidb-io#79
spbnick added a commit to kernelci/kcidb that referenced this issue May 31, 2024
Discard messages with strings containing NUL characters in the
kcidb.mq.IOSubscriber. This will help us clear a submission queue
containing a number of such messages at the moment, but should be done
inside the I/O JSON schema instead.

See kernelci/kcidb-io#79
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

No branches or pull requests

1 participant