9 Commits

Author SHA1 Message Date
Arian
66ca15415d surya: Patch com.vidhance.node.eis.so to allocate GraphicBuffer with new size
Commit [1] ("Introduce a dependency monitor for fences") has added new
members to the GraphicBuffer struct, increasing the size from 0x100 to
0xd30. camera.xiaomi.so creates GraphicBuffer in its constructors using
"new GraphicBuffer(..)" which encodes the size to allocate at compile
time. Then, on destruction of the object, the implicit destructor will
try to destruct the new members, but, since this memory was not
allocated for the object, this leads to memory access of unallocated
storage.

F DEBUG   : backtrace:
F DEBUG   :       #00 pc 000000000003ba00  /vendor/lib64/libui.so (__aarch64_ldadd8_acq_rel+16) (BuildId: b577faa139eb3404c7d3a674b147634c)
F DEBUG   :       #01 pc 0000000000051364  /vendor/lib64/libui.so (android::GraphicBuffer::~GraphicBuffer()+248) (BuildId: b577faa139eb3404c7d3a674b147634c)
F DEBUG   :       #02 pc 0000000000051698  /vendor/lib64/libui.so (android::GraphicBuffer::~GraphicBuffer()+20) (BuildId: b577faa139eb3404c7d3a674b147634c)
F DEBUG   :       #03 pc 0000000000011064  /vendor/lib64/libutils.so (android::RefBase::decStrong(void const*) const+164) (BuildId: 99d1ab745e7b73420d8d2b397483ef54)
F DEBUG   :       #04 pc 00000000000cd538  /vendor/lib64/hw/camera.xiaomi.so (mihal::GraBuffer::~GraBuffer()+236) (BuildId: a4c59705588bd26d407f0ab181902baf)

[1]: df868baf2a

Change-Id: Ib51efcaa7514fa5902ac68cdcff2a8ecf97be511
2026-02-23 03:37:43 +00:00
Willy Gardiol
ed8c3ea7b6 surya: Update blobs from V14.0.5.0.SJGEUXM
Change-Id: I7c9b75bdf47b9ae25a47326c0a70058498fc7b61
2023-08-25 10:26:32 +02:00
Willy Gardiol
e0f1ffd131 surya: Update blobs from V13.0.4.0.SJGEUXM
Change-Id: I378079cc4a43be014ae5d9cdc9befb2fdbf308cb
2023-02-05 16:53:37 +01:00
Willy Gardiol
4de38b8b0c surya: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGE
Change-Id: Ib8314652032841a23538e413a3a663267ef0db88
2022-11-02 13:44:38 +01:00
Willy Gardiol
75239c4d08 surya: Update blobs from V12.5.7.0.RJGMIXM
Change-Id: I791adee9c2ae094db6ef6b85c05c5fa2d803a8c9
2022-05-09 15:41:03 +02:00
TheStrechh
242141c5d7 surya: Import files from stock V12.5.5.0.RJGMIXM 2022-03-15 20:12:14 +05:30
TheStrechh
c7394ab231 surya: Import files from stock V12.5.4.0.RJGMIXM 2022-01-04 22:56:59 +00:00
Willy Gardiol
ed9cb03a84 surya: Import files from stock V12.5.3.0.RJGMIXM
Change-Id: I689a11c0fd953202c4a22dec300959480d4153d7
2022-01-04 22:34:23 +00:00
Willy Gardiol
15ed9b7482 surya: Import blobs from V12.0.1.0.RJGMIXM global stable
From: POCO/surya_global/surya:11/RKQ1.200826.002/V12.0.1.0.RJGMIXM:user/release-keys
Change-Id: Ie366805809e52ca4db992a646a3bd6fde0617b67
2022-01-04 22:33:58 +00:00