summaryrefslogtreecommitdiff
path: root/tests/quick/se/00.hello/ref/x86
diff options
context:
space:
mode:
authorMarco Elver <marco.elver@ed.ac.uk>2012-09-10 11:57:43 -0400
committerMarco Elver <marco.elver@ed.ac.uk>2012-09-10 11:57:43 -0400
commit9e0edbcea8d14446487f13f56b65c669ba580673 (patch)
tree7780efe6534912c2020e4f7882d8868ccf250581 /tests/quick/se/00.hello/ref/x86
parent21d4d50ba1f8aae47108db91bc20108812fb62a4 (diff)
downloadgem5-9e0edbcea8d14446487f13f56b65c669ba580673.tar.xz
Mem: Allow serializing of more than INT_MAX bytes
Despite gzwrite taking an unsigned for length, it returns an int for bytes written; gzwrite fails if (int)len < 0. Because of this, call gzwrite with len no larger than INT_MAX: write in blocks of INT_MAX if data to be written is larger than INT_MAX.
Diffstat (limited to 'tests/quick/se/00.hello/ref/x86')
0 files changed, 0 insertions, 0 deletions