amd/common: fix off-by-one in sid_tables.py
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 6 Jun 2017 17:17:49 +0000 (19:17 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 19 Jun 2017 10:03:59 +0000 (12:03 +0200)
commit67e49a7f6570b8691d9405cb65f263b87817fe71
treead140674a5c38a2aa888789c42e6ef6b445e2751
parentb72b7c541dd81890e04652373f24840f580123ed
amd/common: fix off-by-one in sid_tables.py

The very last entry in the sid_strings_offsets table ended up missing,
leading to out-of-bounds reads and potential crashes.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/sid_tables.py