incorrect memmove length param
Hey folks,
I was checking out :
modules/demux/subtitles.c
And came across :
1056: memmove( psz_text + strlen(temp), psz_text, strlen(psz_text)+1 );
The length parameter is incorrect. This will cause memmove to write past the boundary of psz_text. psz_text could be realloc'd, or perhaps something else. Given the code path to get here, it doesn't look like it can be triggered, but it might make sense to change it now in case a future update changes that.
Versions / Info :
VLC media player 2.1.0-git Rincewind (revision 82876db8)