Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: gir...@packages.debian.org, sramac...@debian.org
Control: affects -1 + src:girara

Please unblock package girara

[ Reason ]
girara in testing suffers from a use-after-free error. The new upstream
release fixes this error and includes no other changes.

[ Impact ]
The use-after-free error remains in testing.

[ Tests ]
The users reporting the issue upstream confirmed that the issue is fixed
with the new upstream version.

[ Risks ]
I am upstream of girara and can prepare fixes for any regressions.

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

unblock girara/0.4.0-1

Cheers
-- 
Sebastian Ramacher
diff --git a/debian/changelog b/debian/changelog
index beae9c5..4eb7a04 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+girara (0.4.0-1) unstable; urgency=medium
+
+  * New upstream version 0.4.0
+
+ -- Sebastian Ramacher <sramac...@debian.org>  Sat, 18 Mar 2023 21:22:26 +0100
+
 girara (0.3.9-1) unstable; urgency=medium
 
   * New upstream version 0.3.9
diff --git a/girara/datastructures.c b/girara/datastructures.c
index cfffe00..1a9bbee 100644
--- a/girara/datastructures.c
+++ b/girara/datastructures.c
@@ -457,9 +457,10 @@ girara_node_free(girara_tree_node_t* node)
 
   GNode* childnode = node->node->children;
   while (childnode != NULL) {
+    GNode* nextnode = childnode->next;
     girara_tree_node_data_t* childnodedata = childnode->data;
     girara_node_free(childnodedata->node);
-    childnode = childnode->next;
+    childnode = nextnode;
   }
 
   g_node_destroy(node->node);
diff --git a/meson.build b/meson.build
index afb6b91..01dd188 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
 project('girara', 'c',
-  version: '0.3.9',
+  version: '0.4.0',
   meson_version: '>=0.56',
   default_options: ['c_std=c11', 'warning_level=3'],
 )

Reply via email to