Commit Graph

5 Commits

Author SHA1 Message Date
3df6a78831 [system/core] libutils: Fix integer overflows in VectorImpl.
Use external/safe-iop to check for overflows on arithmetic
operations.

Also remove an unnecessary copy of Vector/SharedBuffer from
codeflinger and use the copy from libutils instead.

Note that some of the unit tests are somewhat useless due to
test-runner limitations : gtest's ability to filter on abort message
doesn't work when combined with messages formatted by android's logging
system.

bug: 22953624

(cherry picked from commit c609c31fb56ae434caa2d0153cd0a2f74a715071)

Change-Id: I61644633db6b54fa230683615de9724f7fabf6fb
2015-12-31 16:53:01 +08:00
533f28193e [system/core] libutils: fix overflow in String8::allocFromUTF8
Patch contributed in:
https://code.google.com/p/android/issues/detail?id=182908

Bug: 23290056

(cherry picked from commit 4eeacbeec0ae66e9d9395abbf83666709f2e11e3)

Change-Id: Ife1dc0791040150132bea6884f1e6c8d31972d1b
(cherry picked from commit ebabef275283f771151ec93c17469374b789b2c8)

Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:52:53 +08:00
71573fe208 [system/core] libutils: fix overflow in SharedBuffer [DO NOT MERGE]
See
https://code.google.com/p/android/issues/detail?id=181910

Bug: 22952485
(cherry picked from commit 66b6eb9490beeeabc804d790c1c4060ce047afd4)

Change-Id: Ic71dd0025b9a7588c4f3bb1c7be1bd13d2ff5105

Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:52:45 +08:00
c64a4791f1 [system/core] Fix compile failure after rIfe1dc0791040150132bea6884f1e6c8d31972d1b
Bug: 23290056
Change-Id: If6e22b0159de6635a8ca5305895b7718f15becc7

Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:52:37 +08:00
93013a6efc Commit of manifest rk312x_android5.1_rel_v1.02_0423.xml 2015-05-20 17:06:22 +08:00