[PATCH] D20480: pdbdump: print out symbol names referred by publics stream.

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 16:12:16 PDT 2016


rnk added a subscriber: rnk.

================
Comment at: llvm/trunk/lib/DebugInfo/PDB/Raw/SymbolStream.cpp:38
@@ +37,3 @@
+  ulittle16_t seg;
+  char name[1];
+};
----------------
In the future, please don't use these kind of flexible array members, they are how you get buffer overruns when the strings are not null terminated. Look at how we are deserializing codeview types instead.


Repository:
  rL LLVM

http://reviews.llvm.org/D20480





More information about the llvm-commits mailing list