Re: [FFmpeg-devel] [PATCH v3 33/34] avdevice/dshow: prevent NULL access

2021-08-05 Thread Diederick C. Niehorster
On Tue, Aug 3, 2021 at 4:22 PM Andreas Rheinhardt wrote: > > Diederick Niehorster: > > list_options true would crash when both a video and an audio device were > > specified as input. Crash would occur on line 1588 (in this new rev) > > because ctx->device_unique_name[otherDevType] would be NULL >

Re: [FFmpeg-devel] [PATCH v3 33/34] avdevice/dshow: prevent NULL access

2021-08-03 Thread Andreas Rheinhardt
Diederick Niehorster: > list_options true would crash when both a video and an audio device were > specified as input. Crash would occur on line 1588 (in this new rev) > because ctx->device_unique_name[otherDevType] would be NULL > > Signed-off-by: Diederick Niehorster > --- > libavdevice/dshow.

[FFmpeg-devel] [PATCH v3 33/34] avdevice/dshow: prevent NULL access

2021-07-06 Thread Diederick Niehorster
list_options true would crash when both a video and an audio device were specified as input. Crash would occur on line 1588 (in this new rev) because ctx->device_unique_name[otherDevType] would be NULL Signed-off-by: Diederick Niehorster --- libavdevice/dshow.c | 3 ++- 1 file changed, 2 inserti