Mercurial > mplayer.hg
comparison libmpcodecs/vf_tinterlace.c @ 24427:50159082a80b
Check wLongsPerEntry before using it.
This fixes a potential crash for some values of it.
As a side effect it works around broken callocs with an integer
overflow vulnerability, but using MPlayer on such systems should
never be assumed to be safe!
author | reimar |
---|---|
date | Thu, 13 Sep 2007 15:18:57 +0000 |
parents | 5c3c7efd9b75 |
children | 00fff9a3b735 |
comparison
equal
deleted
inserted
replaced
24426:46a7d8c0aaeb | 24427:50159082a80b |
---|