Skip to content
Snippets Groups Projects
Commit 796dac47 authored by lnx build's avatar lnx build Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lrdp_v2: Add proper check for length of dump data lookup table" into...

Merge "lrdp_v2: Add proper check for length of dump data lookup table" into opensource-tools.lnx.1.0-dev.1.0
parents c4771750 2915f1b8
No related branches found
No related tags found
No related merge requests found
...@@ -476,7 +476,7 @@ class DebugImage_v2(): ...@@ -476,7 +476,7 @@ class DebugImage_v2():
client_entry + dump_entry_id_offset, False) client_entry + dump_entry_id_offset, False)
if (client_id < 0 or if (client_id < 0 or
client_id > len(self.dump_data_id_lookup_table)): client_id >= len(self.dump_data_id_lookup_table)):
print_out_str( print_out_str(
'!!! Invalid dump client id found {0:x}'.format(client_id)) '!!! Invalid dump client id found {0:x}'.format(client_id))
continue continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment