libctf: avoid strndup
[deliverable/binutils-gdb.git] / libctf / ChangeLog
index 20f9816efd4a7340c0f1a5fc7cae7b6fd279b6a2..f48ad5b213dc3083254b1383c6d35193e21be2ed 100644 (file)
@@ -1,3 +1,8 @@
+2019-06-06  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-decls.h: Include <libiberty.h>.
+       * ctf-lookup.c (ctf_lookup_by_name): Call xstrndup(), not strndup().
+
 2019-06-06  Nick Alcock  <nick.alcock@oracle.com>
 
        * ctf-dump.c (ctf_dump_format_type): Cast size_t's used in printf()s.
This page took 0.022604 seconds and 4 git commands to generate.