Re: [FFmpeg-devel] [PATCH 1/3] avformat/aviobuf: read till the very end of the IO buffer

2020-09-26 Thread Marton Balint
On Sun, 20 Sep 2020, Marton Balint wrote: On Sun, 20 Sep 2020, Paul B Mahol wrote: On Sun, Sep 20, 2020 at 10:52:51AM +0200, Marton Balint wrote: There was an off-by-one error when checking if the IO buffer still has enough space till the end. How to reproduce such error(s)? It is n

Re: [FFmpeg-devel] [PATCH 1/3] avformat/aviobuf: read till the very end of the IO buffer

2020-09-20 Thread Marton Balint
On Sun, 20 Sep 2020, Paul B Mahol wrote: On Sun, Sep 20, 2020 at 10:52:51AM +0200, Marton Balint wrote: There was an off-by-one error when checking if the IO buffer still has enough space till the end. How to reproduce such error(s)? It is not something you will notice, only the buffer is

Re: [FFmpeg-devel] [PATCH 1/3] avformat/aviobuf: read till the very end of the IO buffer

2020-09-20 Thread Paul B Mahol
On Sun, Sep 20, 2020 at 10:52:51AM +0200, Marton Balint wrote: > There was an off-by-one error when checking if the IO buffer still has enough > space till the end. How to reproduce such error(s)? > > Signed-off-by: Marton Balint > --- > libavformat/aviobuf.c | 2 +- > 1 file changed, 1 insert

[FFmpeg-devel] [PATCH 1/3] avformat/aviobuf: read till the very end of the IO buffer

2020-09-20 Thread Marton Balint
There was an off-by-one error when checking if the IO buffer still has enough space till the end. Signed-off-by: Marton Balint --- libavformat/aviobuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index a77517d712..9675425349