[vlc-commits] commit: Fix heap corruption ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Mon Jul 19 19:00:08 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 19 19:59:15 2010 +0300| [47369283f9bed68db77e0f1ba1f11840ddf1bfb3] | committer: Rémi Denis-Courmont
Fix heap corruption
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=47369283f9bed68db77e0f1ba1f11840ddf1bfb3
---
src/input/input.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index bf1dbcc..9972567 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1167,7 +1167,7 @@ static void InitPrograms( input_thread_t * p_input )
prgm = strtok_r( NULL, ",", &buf ) )
{
vlc_value_t val = { .i_int = atoi( prgm ) };
- TAB_APPEND( list.i_count, list.p_values, val );
+ INSERT_ELEM( list.p_values, list.i_count, list.i_count, val );
}
if( list.i_count > 0 )
More information about the vlc-commits
mailing list