[gdb] Fix heap-buffer-overflow in child_path
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 397a08f20b500bb4d739b2760954b7ebb4f3a296..22a473a4037f698c22a76d8a40f98a43641bc7a7 100644 (file)
@@ -1,3 +1,9 @@
+2019-06-17  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/24617
+       * common/pathstuff.c (child_path): Make sure parent_len > 0 before
+       accessing parent[parent_len - 1].
+
 2019-06-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
        PR gdb/24364
This page took 0.023708 seconds and 4 git commands to generate.