aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2014-12-01 10:21:27 +0100
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2014-12-02 09:56:13 +0100
commit1eedf91fcde959f5ac799f339384f44c6a9d0fd9 (patch)
tree47622bd2280dd272e438771ed769d6f4d2f8f2b8 /dist
parent06fc202e81bfbf619ceebb9cef803270590f9e7f (diff)
Regression: Fix array data corruption
When inserting into a sparse JS array, we may have to re-allocate the underlying data vector. When that happens we must reload the ArrayData pointer, to avoid returning a wrong pointer in ArrayData::insert. This patch also fixes the valgrind support in the memory allocator by correctly marking the mmap'ed memory region as inaccessible. Change-Id: I86aabc2cec74a4f3c8396463910d90c8968a741d Task-number: QTBUG-42956 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions