[vlc-commits] DASH: prevent integer overflow

Frédéric Yhuel git at videolan.org
Wed Feb 29 14:50:00 CET 2012


vlc | branch: master | Frédéric Yhuel <fyhuel at viotech.net> | Wed Feb 29 14:23:55 2012 +0100| [a6817c36ffb37c4ed8482868e84248c34f3ce8a0] | committer: Hugo Beauzée-Luyssen

DASH: prevent integer overflow

A integer overflow could happen in bandwidth computation, for example if
we have a DASH server and client on the same LAN.

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h at gmail.com>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a6817c36ffb37c4ed8482868e84248c34f3ce8a0
---

 .../adaptationlogic/AbstractAdaptationLogic.cpp    |    8 ++++----
 .../dash/adaptationlogic/AbstractAdaptationLogic.h |    6 +++---
 .../dash/adaptationlogic/IAdaptationLogic.h        |    4 ++--
 .../dash/adaptationlogic/IDownloadRateObserver.h   |    4 +++-
 .../adaptationlogic/RateBasedAdaptationLogic.cpp   |    2 +-
 modules/stream_filter/dash/http/Chunk.cpp          |    2 +-
 modules/stream_filter/dash/http/Chunk.h            |    3 ++-
 .../dash/http/HTTPConnectionManager.cpp            |    6 +++---
 .../dash/http/HTTPConnectionManager.h              |    4 ++--
 modules/stream_filter/dash/mpd/BasicCMManager.cpp  |    4 ++--
 modules/stream_filter/dash/mpd/BasicCMManager.h    |    4 ++--
 modules/stream_filter/dash/mpd/IMPDManager.h       |    4 ++--
 .../stream_filter/dash/mpd/IsoffMainManager.cpp    |    4 ++--
 modules/stream_filter/dash/mpd/IsoffMainManager.h  |    4 ++--
 14 files changed, 31 insertions(+), 28 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=a6817c36ffb37c4ed8482868e84248c34f3ce8a0


More information about the vlc-commits mailing list