tests/gem_reset_stats: fix length check in inject_hang
authorMika Kuoppala <mika.kuoppala@intel.com>
Thu, 10 Apr 2014 14:51:39 +0000 (17:51 +0300)
committerMika Kuoppala <mika.kuoppala@intel.com>
Thu, 10 Apr 2014 14:53:08 +0000 (17:53 +0300)
commit99b8f807010483128f10f7934a864c78b4438b34
tree7e615027c180fc3ff6109603adc2424e0898df2d
parent53ad1e4a7040c57355b57fc3cdc8d9a003687a32
tests/gem_reset_stats: fix length check in inject_hang

To avoid writing past the batch end.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
tests/gem_reset_stats.c