eina: Fix crashing when accessing past-the-end of the malloc'ed promise
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>
Thu, 26 May 2016 16:04:20 +0000 (13:04 -0300)
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>
Thu, 26 May 2016 16:35:07 +0000 (13:35 -0300)
commit2457d6f5951e169749a2d941ea0ddc36e51fef99
tree1317e88f1764d4b94f995f34f9e26a8bbd59970e
parent3ffe38b0c33bf7ff611098df2a8a9c16f696eb17
eina: Fix crashing when accessing past-the-end of the malloc'ed promise

The promise race composition was calculating its size wrongly, making
the promise's size smaller than it should, causing heap corruption.
src/lib/eina/eina_promise.c