clayborg requested changes to this revision.
clayborg added inline comments.
This revision now requires changes to proceed.

Comment at: source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp:511
+  // necessarily null-terminated
+  sect_name = std::string(, sizeof(;
   return true;
This is storing any extra NULL characters in sect_name. Might be better to do:

sect_name = std::string(, strnlen(, sizeof(;

lldb-commits mailing list

Reply via email to