gstreamer/gst/shm
Olivier Crête b9decbb056 shmpipe: Fix crash when sp_close_shm is called with self == NULL.
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.
2010-06-03 15:27:43 -04:00
..
gstshm.c shm: Add shm based sink and src 2010-06-03 15:27:41 -04:00
gstshmsink.c shmsrc: Improve debug prints 2010-06-03 15:27:42 -04:00
gstshmsink.h shmsink: Port to ShmPipe 2010-06-03 15:27:41 -04:00
gstshmsrc.c shmsrc: Add socket path to error message 2010-06-03 15:27:43 -04:00
gstshmsrc.h shmsrc: Make the shmpipe life independant of the element states 2010-06-03 15:27:42 -04:00
Makefile.am shm: Add shmpipe implementation 2010-06-03 15:27:41 -04:00
shmalloc.c shm: Add shmpipe implementation 2010-06-03 15:27:41 -04:00
shmalloc.h shmalloc: Make it build in non-glib world 2010-06-03 15:27:42 -04:00
shmpipe.c shmpipe: Fix crash when sp_close_shm is called with self == NULL. 2010-06-03 15:27:43 -04:00
shmpipe.h shm: Try alternate paths for the socket 2010-06-03 15:27:42 -04:00