[Lldb-commits] [PATCH] D25196: Adding a new Minidump post-mortem debugging plugin

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 4 12:23:57 PDT 2016


labath added a comment.

Thanks for fixing all the comments. Unfortunately, on my last pass, I found one more case of unverified input (I think).



> MinidumpParser.cpp:252
> +    if (range_start <= addr && addr < range_start + range_size) {
> +      return Range(range_start, GetData().slice(loc_desc.rva, range_size));
> +    }

Is anything verifying that loc_desc points into the file ?

> ProcessMinidump.cpp:187
> +  // Don't allow the caching that lldb_private::Process::ReadMemory does
> +  // since we have it all cached our our dump file anyway.
> +  return DoReadMemory(addr, buf, size, error);

typo: "in our"

https://reviews.llvm.org/D25196





More information about the lldb-commits mailing list