[Tizen] Prevent segmentation fault in callhistory_mobile.cc
authorMaciej Piotrowski <m.piotrowski@samsung.com>
Wed, 31 Dec 2014 10:07:21 +0000 (11:07 +0100)
committerMaciej Piotrowski <m.piotrowski@samsung.com>
Wed, 31 Dec 2014 13:48:35 +0000 (14:48 +0100)
commitcd7af7932bdace7bb0607b3a933317a45ad3f8b1
treec73830fbf536466393569f95e1fe66da74aff1fa
parent47375c9a7eead7f07825738be3aec4bb72ce5a6a
[Tizen] Prevent segmentation fault in callhistory_mobile.cc

There was intent to declare variable "int* ids" as an array, but it was
initialized as a scalar. Further use of this variable could lead to
segmentation faults and invalid writes to memory.
src/callhistory/callhistory_mobile.cc