================
Comment at: source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp:1101
@@ +1100,3 @@
+                uint32_t version_info;
+                if (data.GetU32 (&offset, &version_info, 1) == nullptr)
+                {
----------------
Should we validate that the descsz is as expected in here too?  E.g.  
`(note.n_name == LLDB_NT_OWNER_FREEBSD && note.n_type == 
LLDB_NT_FREEBSD_ABI_TAG && note.n_descsz == 4)`

http://reviews.llvm.org/D4302



_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to