OP-TEE/optee_os — pull request #74 by z08053520 (2014-10-20 02:21:48+00:00)
Title: Update tee_ta_manager.c

Fix user heap corruption by usr_params

Avoids corruption of heap by usr_params, and vice versa, when
stack_size+heap_size is a multiple of 1 MiB. usr_params was
previously unintentionally stored just outside the allocated
stack. If there is not enough padding between stack and heap,
usr_params will overwrite a part of the heap.