lum_platform_image_converter/lib
JohnE dc952a799c Fix CFDictionaryCreate crash: pass proper callback pointers
The crash 'CFRelease.cold.2' / '__CFStringCollectionCopy() called with NULL'
was caused by passing pointers to uninitialized CFDictionaryKeyCallBacks and
CFDictionaryValueCallBacks structs (zeroed arena allocations) to CFDictionaryCreate.
When CoreFoundation tried to call the copyDescription callback, it invoked a
NULL function pointer.

Fix: Use ffi.ptrOf(kCFTypeDictionaryKeyCallBacks) and
ffi.ptrOf(kCFTypeDictionaryValueCallBacks) to pass the standard global
callback structs instead of empty struct space.
2026-11-04 23:17:22 -05:00
..
src Fix CFDictionaryCreate crash: pass proper callback pointers 2026-11-04 23:17:22 -05:00
platform_image_converter.dart refactor: Update lint rule 2025-12-29 08:52:18 +09:00