Re: [FFmpeg-devel] [PATCH 3/5] CodeAi generated fix for CWE 457 Uninitialized Variable

2018-03-06 Thread Nicolas George
C0deAi (2018-03-06): > Prevent passing of uninitialized value 'buf[i]' as function > call argument on line 222. > > Signed-off-by: C0deAi > --- > libavutil/hash.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Nack. buf[i] cannot be unitialized at this point. Also, the first line of c

[FFmpeg-devel] [PATCH 3/5] CodeAi generated fix for CWE 457 Uninitialized Variable

2018-03-06 Thread C0deAi
Prevent passing of uninitialized value 'buf[i]' as function call argument on line 222. Signed-off-by: C0deAi --- libavutil/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/hash.c b/libavutil/hash.c index 75edb6d..593176c 100644 --- a/libavutil/hash.c +++ b/lib