ruby: fixes functional writes to RubyRequest
authorBlake Hechtman ext:(%2C%20Nilay%20Vaish%20%3Cnilay%40cs.wisc.edu%3E) <bah13@duke.edu>
Sun, 3 Mar 2013 05:12:55 +0000 (23:12 -0600)
committerBlake Hechtman ext:(%2C%20Nilay%20Vaish%20%3Cnilay%40cs.wisc.edu%3E) <bah13@duke.edu>
Sun, 3 Mar 2013 05:12:55 +0000 (23:12 -0600)
commitaf8eb67fb44f7ab1831d6651ea4a079f2ebc99ff
treebe47b181058c782c9bfc654aac034b2f243fcb6d
parenta4e8512afa8fa5b09ee9f34ba256254eb012d628
ruby: fixes functional writes to RubyRequest
The functional write code was assuming that all writes are block sized,
which may not be true for Ruby Requests. This bug can lead to a buffer
overflow.

Committed by: Nilay Vaish <nilay@cs.wisc.edu>
src/mem/ruby/slicc_interface/RubyRequest.cc
src/mem/ruby/system/System.cc