Page MenuHomeClusterLabs Projects

crm_node -i passes pointer to uninitialized variable to pcmk__query_node_info()
Closed (Released)Public

Assigned To
Authored By
nrwahl2
Jul 11 2024, 5:14 AM
Tags
  • Restricted Project
  • Restricted Project
  • Restricted Project
  • Restricted Project
Referenced Files
None
Subscribers

Description

It passes a non-NULL node_id pointer. pcmk__query_node_info() dereferences it and tries to use the value there if the pointer is not NULL. So we send a garbage ID.

Event Timeline

nrwahl2 triaged this task as Normal priority.Jul 11 2024, 5:14 AM
nrwahl2 created this task.
nrwahl2 created this object with edit policy "Restricted Project (Project)".
nrwahl2 renamed this task from crm_node -i passes invalid pointer to pcmk__query_node_info() to crm_node -i passes uninitialized pointer to pcmk__query_node_info().Jul 11 2024, 5:40 AM
nrwahl2 renamed this task from crm_node -i passes uninitialized pointer to pcmk__query_node_info() to crm_node -i passes pointer to uninitialized variable to pcmk__query_node_info().
kgaillot changed the task status from Open to WIP.Jul 11 2024, 4:49 PM
kgaillot assigned this task to nrwahl2.
kgaillot added a project: Restricted Project.
kgaillot added a project: Restricted Project.Jul 11 2024, 5:26 PM
kgaillot moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
kgaillot changed the task status from Merged to Released.Aug 8 2024, 7:13 PM