[FFmpeg-cvslog] get_bits: introduce safe bitreading to prevent overreads.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Dec 18 11:08:18 CET 2011


On 18 Dec 2011, at 03:12, git at videolan.org (Ronald S. Bultje) wrote:

> ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Fri Dec 16 21:42:04 2011 +0000| [8cfbbd928cc94b4de6ad0a937cb818e999c7d75d] | committer: Mans Rullgard
> 
> get_bits: introduce safe bitreading to prevent overreads.

Is there some way to improve it so it won't potentially lead to endless loops without even a warning?
It depends kind of on the circumstances which of those (crash or endless loop) is worse.


More information about the ffmpeg-cvslog mailing list