Change MessageID and PeerID type to UIDs 35/46235/7
authorLukasz Kostyra <l.kostyra@samsung.com>
Thu, 13 Aug 2015 13:29:03 +0000 (15:29 +0200)
committerLukasz Kostyra <l.kostyra@samsung.com>
Wed, 2 Sep 2015 13:10:08 +0000 (15:10 +0200)
commit4ca9365ce360cfe9e2a916b1cb70a69b409c26cd
tree8b16622789d80089afdfba56239f7a63e837ae1b
parent73407867e8f6c282e3a9fc8dbe8bf9b623ff773e
Change MessageID and PeerID type to UIDs

[Feature]       MessageID and PeerID are generated with UIDs - a timestamp
                and UUID pair.
[Cause]         Previously used unsigned ints might overflow and create a
                security issue.
[Solution]      Implement UID class, change MessageID and PeerID to use UID
[Verification]  Build, install, run tests

Change-Id: I493cba8e55cc9985d3b2b544b78c434d4deb4191
13 files changed:
common/api/ipc-method-result-builder.cpp
libs/ipc/CMakeLists.txt
libs/ipc/client.cpp
libs/ipc/internals/processor.cpp
libs/ipc/internals/processor.hpp
libs/ipc/types.cpp
libs/ipc/types.hpp
libs/ipc/unique-id.cpp [new file with mode: 0644]
libs/ipc/unique-id.hpp [new file with mode: 0644]
packaging/vasum.spec
server/host-ipc-connection.cpp
tests/unit_tests/ipc/ut-ipc.cpp
tests/unit_tests/ipc/ut-unique-id.cpp [new file with mode: 0644]