Changeset 4772289dac12cfddca874a9aa2ab333f4a48a146

Show
Ignore:
Timestamp:
03/29/08 12:13:32 (5 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1206789212 +0100
git-parent:

[56ec4da04ec7e701d7d13e87b6456c25c3ab7d68]

git-author:
Rafaël Carré <funman@videolan.org> 1206789163 +0100
Message:

Fix off by one

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules/modules.c

    r58e0c82 r4772289  
    920920 
    921921    /* Alloc a buffer to store the path */ 
    922     path = malloc( strlen( paths ) ); 
     922    path = malloc( strlen( paths ) + 1 ); 
    923923    if( !path ) return NULL; 
    924924