prevent memory corruption by calling erase on unallocated vector 61/24561/1
authorKimmo Hoikka <kimmo.hoikka@samsung.com>
Wed, 16 Jul 2014 12:09:56 +0000 (13:09 +0100)
committerKimmo Hoikka <kimmo.hoikka@samsung.com>
Wed, 16 Jul 2014 12:10:39 +0000 (13:10 +0100)
commit74e3399bd815887f3d55c851866e599718b536ef
tree3e6bf5345ba6de1adebb24a2fa0e63caeb704ff1
parent3d0c2e31b88bb904358562fb2de7accbd2a2a244
prevent memory corruption by calling erase on unallocated vector

[Problem] potential memory corruption / crash
[Cause] not checking if vector internal buffer is allocated
[Solution] check

Change-Id: I299b7e6bd12ab8dc70ca3783ec8b823d37ba5b6f
dali/public-api/common/dali-vector.cpp