Re: [FFmpeg-devel] [PATCHv2] lavc/psymodel: check for av_malloc failure

2016-03-24 Thread Ganesh Ajjanagadde
On Tue, Mar 22, 2016 at 12:02 PM, Rostislav Pehlivanov wrote: > On 22 March 2016 at 18:36, Ganesh Ajjanagadde wrote: > >> No idea why in commit 01ecb7172b684f1c4b3e748f95c5a9a494ca36ec the >> checks were removed; this can lead to NULL pointer dereferences. This >> effectively reverts that portion

Re: [FFmpeg-devel] [PATCHv2] lavc/psymodel: check for av_malloc failure

2016-03-22 Thread Rostislav Pehlivanov
On 22 March 2016 at 18:36, Ganesh Ajjanagadde wrote: > No idea why in commit 01ecb7172b684f1c4b3e748f95c5a9a494ca36ec the > checks were removed; this can lead to NULL pointer dereferences. This > effectively reverts that portion of the commit. > > Reviewed-by: Benoit Fouet > Signed-off-by: Ganes

[FFmpeg-devel] [PATCHv2] lavc/psymodel: check for av_malloc failure

2016-03-22 Thread Ganesh Ajjanagadde
No idea why in commit 01ecb7172b684f1c4b3e748f95c5a9a494ca36ec the checks were removed; this can lead to NULL pointer dereferences. This effectively reverts that portion of the commit. Reviewed-by: Benoit Fouet Signed-off-by: Ganesh Ajjanagadde --- libavcodec/psymodel.c | 7 ++- 1 file chan