mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 18:22:23 +00:00
b9decbb056
If sp_open_shm errors out trying to open a shm area, it would crash when trying to free the area. The RETURN_ERROR macro calls sp_shm_area_dec with self == NULL. sp_shm_area_dec calls sp_shm_close, with self == NULL, which it then tries to access a parameter of without checking. This patch checks to make sure self != NULL before accessing that parameter. |
||
---|---|---|
.. | ||
gstshm.c | ||
gstshmsink.c | ||
gstshmsink.h | ||
gstshmsrc.c | ||
gstshmsrc.h | ||
Makefile.am | ||
shmalloc.c | ||
shmalloc.h | ||
shmpipe.c | ||
shmpipe.h |