Skip to content

tracers: leaks: fix potentially invalid memory access when trying to detect object type

Corentin Damman requested to merge cda/gstreamer:fix_tracers_leaks_sigsegv into main

The is_gst_mini_object_check sometimes detect a proper GObject as a mini object, and then bad things happen.

We know whether a pointer is a proper GObject or a MiniObject here though, so just pass that information to the right code paths and avoid the heuristics altogether.

Fixes #1334 (closed)

Edited by Corentin Damman

Merge request reports