In libpas, get_num_free_bytes_for_each_heap_callback() is called with `arg` pointing to uninitialized stack memory. pas_all_heaps_get_num_free_bytes() is called and doesn't initialize `result` on the stack, then calls the following functions with a pointer to `result`: - pas_all_heaps_for_each_heap(), - pas_all_heaps_for_each_static_heap(), - callback() / get_num_free_bytes_for_each_heap_callback(). Found by clang static analyzer.
<rdar://problem/88303899>
Created attachment 450482 [details] Patch v1
Comment on attachment 450482 [details] Patch v1 r=me
Committed r288866 (246618@main): <https://commits.webkit.org/246618@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 450482 [details].