1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/libavdevice
Moritz Barsnick 2250dc4044 avdevice/xcbgrab: check return values of xcb query functions
Fixes #7312, segmentation fault on close of X11 server

xcb_query_pointer_reply() and xcb_get_geometry_reply() can return NULL
if e.g. the X server closes or the connection is lost. This needs to
be checked in order to cleanly exit, because the returned pointers are
dereferenced later.

Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Reviewed-by: Andriy Gelman <andriy.gelman@gmail.com>
2020-08-15 15:32:52 -04:00
..
tests
.gitignore
alldevices.c lavdevice: Add AudioToolbox output device. 2020-06-15 15:09:33 +02:00
alsa_dec.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
alsa_enc.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
alsa.c avdevice/alsa: fix indefinite stop on closing PCM capture 2019-04-23 14:01:23 -08:00
alsa.h
android_camera.c
audiotoolbox.m lavdevice: Add AudioToolbox output device. 2020-06-15 15:09:33 +02:00
avdevice.c Silence "string-plus-int" warning shown by clang. 2020-01-06 22:38:56 +01:00
avdevice.h
avdeviceres.rc
avfoundation.m avfoundation: Fix building on iOS 2020-04-30 14:21:47 +02:00
bktr.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
caca.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
decklink_common_c.h avdevice/decklink_dec: add support for extracting and outputing klv from vanc 2020-07-03 00:24:59 +02:00
decklink_common.cpp avdevice/decklink: add support for SDK version 11.5 2020-02-26 21:32:56 +01:00
decklink_common.h avdevice/decklink_dec: add support for extracting and outputing klv from vanc 2020-07-03 00:24:59 +02:00
decklink_dec_c.c avdevice/decklink_dec: add support for extracting and outputing klv from vanc 2020-07-03 00:24:59 +02:00
decklink_dec.cpp avdevice/decklink_dec: export timecode with s12m side data 2020-07-15 05:47:14 +08:00
decklink_dec.h
decklink_enc_c.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
decklink_enc.cpp avdevice/decklink: deprecate the -list_devices option 2020-01-03 18:13:22 +01:00
decklink_enc.h
dshow_capture.h
dshow_common.c
dshow_crossbar.c
dshow_enummediatypes.c
dshow_enumpins.c
dshow_filter.c
dshow_pin.c
dshow.c
fbdev_common.c
fbdev_common.h
fbdev_dec.c
fbdev_enc.c
file_open.c
gdigrab.c libavdevice/gdigrab: fix ffmpeg -devices doesn't show gdigrab 2019-05-17 21:51:20 +08:00
iec61883.c
internal.h
jack.c
kmsgrab.c kmsgrab: Add more supported formats 2020-08-09 20:18:49 +01:00
lavfi.c libavdevice/lavfi: check avfilter_graph_dump return value 2019-11-29 19:58:35 +01:00
libavdevice.v
libcdio.c
libdc1394.c
Makefile lavdevice: Add AudioToolbox output device. 2020-06-15 15:09:33 +02:00
openal-dec.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
opengl_enc_shaders.h
opengl_enc.c avdevice/opengl: add support of wrapped avframe codec 2020-04-16 23:52:12 +02:00
oss_dec.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
oss_enc.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
oss.c
oss.h
pulse_audio_common.c
pulse_audio_common.h
pulse_audio_dec.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
pulse_audio_enc.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
reverse.c
sdl2.c
sndio_dec.c
sndio_enc.c
sndio.c
sndio.h
timefilter.c
timefilter.h
utils.c
v4l2-common.c
v4l2-common.h
v4l2.c avdevice/v4l2: Remove av_assert0 when format not supported 2019-11-06 20:38:03 +01:00
v4l2enc.c avdevice/v4l2enc: Allow writing non-rawvideos to v4l2. 2020-05-09 15:44:43 +01:00
version.h avdevice/decklink_dec: add support for extracting and outputing klv from vanc 2020-07-03 00:24:59 +02:00
vfwcap.c
xcbgrab.c avdevice/xcbgrab: check return values of xcb query functions 2020-08-15 15:32:52 -04:00
xv.c avdevice/xv: add support of wrapped avframe codec 2020-04-16 23:52:12 +02:00