[FFmpeg-devel] [PATCH] libavfilter/af_mcompand: Check for failure to allocate memory

2020-10-12 Thread Chris Miceli
This commit fixes some unchecked memory allocations from #8931. --- libavfilter/af_mcompand.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavfilter/af_mcompand.c b/libavfilter/af_mcompand.c index f142573bea..96293909de 100644 --- a/libavfilter/af_mcompand.c +++ b/libavfilter/af_

[FFmpeg-devel] [PATCH] libavfilter/af_mcompand: Check for failure to allocate memory

2020-10-12 Thread Chris Miceli
This commit fixes some unchecked memory allocations from #8931. --- libavfilter/af_mcompand.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavfilter/af_mcompand.c b/libavfilter/af_mcompand.c index f142573bea..96293909de 100644 --- a/libavfilter/af_mcompand.c +++ b/libavfilter/af_

Re: [FFmpeg-devel] [PATCH] libavfilter/af_mcompand: Check for failure to allocate memory

2020-10-12 Thread Andreas Rheinhardt
Chris Miceli: > This commit fixes some unchecked memory allocations from #8931. > --- > libavfilter/af_mcompand.c | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/libavfilter/af_mcompand.c b/libavfilter/af_mcompand.c > index f142573bea..5309d884a5 100644 > --- a/libavfilter/af_mc

[FFmpeg-devel] [PATCH] libavfilter/af_mcompand: Check for failure to allocate memory

2020-10-12 Thread Chris Miceli
This commit fixes some unchecked memory allocations from #8931. --- libavfilter/af_mcompand.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavfilter/af_mcompand.c b/libavfilter/af_mcompand.c index f142573bea..5309d884a5 100644 --- a/libavfilter/af_mcompand.c +++ b/libavfilter/af_

Re: [FFmpeg-devel] [PATCH] libavfilter/af_mcompand: Check for failure to allocate memory

2020-10-12 Thread Andreas Rheinhardt
Chris Miceli: > ticket 8931 mentions some missing null pointer checks and so this is one ^ Nit: null pointer checks can be more than just checking allocations for success. So how about "This commit fixes some of the unchecked allocations mentioned in ticket #8931." > diff of a few which are for

[FFmpeg-devel] [PATCH] libavfilter/af_mcompand: Check for failure to allocate memory

2020-10-12 Thread Chris Miceli
ticket 8931 mentions some missing null pointer checks and so this is one diff of a few which are for these fixes. There are previous code pieces which return ENOMEM, so this should work as intended. --- libavfilter/af_mcompand.c | 12 1 file changed, 12 insertions(+) diff --git a/lib