Review Board 2.0.15


gpu: fix out of bounds access bug

Review Request #3537 - Created June 29, 2016 and updated

Information
Tony Gutierrez
gem5
default
Reviewers
Default
Changeset 11558:78c3f89d15f6
---------------------------
gpu: fix out of bounds access bug

Out of bounds access bug to GPU Dynamic instruction data is fixed.
HSAIL instructions can have up to 4 src or dst operands and the member variable
holding data had not been sized to account for the worst case scenario.

   

Issue Summary

1 1 0 0
Posted (June 30, 2016, 12:18 a.m.)



  
src/gpu-compute/gpu_dyn_inst.cc (Diff revision 1)
 
 

could all of these not be proper arrays rather (with the right type) and all of these nasty issues would go away?