baca65a148ddd9caef556817443448a1c53cc830
- When graphics blobs were updated from pong, gsl_memory_alloc_pure changed its calling convention to 64-bit size, causing 32-bit legacy blobs like libC2D2 to pass mismatched arguments (flags corrupted to memdesc pointer, memdesc null). - This caused kgsl_sharedmem_alloc to fail and crash vendor.qti.media.c2@1.0-service on null pointer dereference during video encoding (e.g. scrcpy, video recording). - Add trampoline to correctly bridge 32-bit gsl_memory_alloc_pure calls to gsl_memory_alloc_pure_64 and add null check on error path in libgsl. Change-Id: Ic6b835fbf2ffd876789e9b332bc26634e303c0f4
Languages
Makefile
100%