Fix possible out of bounds access
authorLars Knoll <lars.knoll@digia.com>
Fri, 1 Feb 2013 13:31:24 +0000 (14:31 +0100)
committerErik Verbruggen <erik.verbruggen@digia.com>
Sun, 3 Feb 2013 08:31:09 +0000 (09:31 +0100)
commit0316c863456aec5b81197b80679971f5f17abf6d
treeb042e91cc3dde2a2826537f0bafcb0e6a339f71e
parent0689c111cf7286b449dba6c625d477e47d8a0d39
Fix possible out of bounds access

This lead to crashes in some complex code where a
pointer was just pointing to the end of the allocated chunk,
and we'd then read outside the chunk bounds for marking.

Change-Id: Ica41c4e98eb9901fbb8d291289a9c91078ded111
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
src/v4/qv4mm.cpp