Skip to content

Conversation

@larsewi
Copy link
Contributor

@larsewi larsewi commented Dec 3, 2025

  • Changed severity of log level in CreateTableColumns()
  • Fixed use of uninitialized buffer in CreateTableColumns()
  • Fixed buffer overflow in CreateTableColumns()
  • cf_sql.{c,h}: constified arguments in DB query functions

Backported to:

Changed the severity of the log message "Trying to create table..." from
`LOG_LEVEL_ERR` to `LOG_LEVEL_VERBOSE`.

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Fixed potential bug causing an uninitialized buffer (containing garbage
data) to be sent as a database query when creating a table in the
databases promise type.

Changelog: Commit
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Fixed potential buffer overflow when creating tables using the databases
promise type.

Ticket: ENT-13552
Changelog: Commit
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi larsewi marked this pull request as ready for review December 3, 2025 11:40
@larsewi
Copy link
Contributor Author

larsewi commented Dec 3, 2025

@cf-bottom Jenkins please :)

@cf-bottom
Copy link

@larsewi larsewi merged commit d95e8a0 into cfengine:master Dec 4, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants