Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix: cib: Prevent use-after-free when cleaning up after query operations

  • Loading branch information...
commit d2e411240a88bb001a5f6c632b93759e7de0c92e 1 parent 007117a
@beekhof authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  cib/callbacks.c
View
1  cib/callbacks.c
@@ -1235,6 +1235,7 @@ cib_process_command(xmlNode * request, xmlNode ** reply, xmlNode ** cib_diff, gb
if (cib_op_modifies(call_type) == FALSE && output != current_cib) {
free_xml(output);
+ output = NULL;
}
if (call_type >= 0) {
Please sign in to comment.
Something went wrong with that request. Please try again.