Changeset c1c81073e661f7d80197711ab11753e1e170b44c

Show
Ignore:
Timestamp:
17/04/08 20:47:13 (6 months ago)
Author:
Pavlov Konstantin <thresh@videolan.org>
git-committer:
Pavlov Konstantin <thresh@videolan.org> 1208458033 +0400
git-parent:

[f6511af848a6d837f8f8c0bf60b511e9946a7bc2]

git-author:
Pavlov Konstantin <thresh@videolan.org> 1208458033 +0400
Message:

Fix for [oCERT-2008-004] multiple speex implementations insufficient boundary checks. Patch by Eren Türkay
(cherry picked from commit 8060b3457e20e6223b70927693f8da8f547b8fef)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/codec/speex.c

    r498f44a rc1c8107  
    333333        return VLC_EGENERIC; 
    334334    } 
    335     if( p_header->mode >= SPEEX_NB_MODES
     335    if( p_header->mode >= SPEEX_NB_MODES || p_header->mode < 0
    336336    { 
    337337        msg_Err( p_dec, "mode number %d does not (yet/any longer) exist in "